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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml:5 Tuesday 06 August 2024 10:32:35 -0400 (0:00:00.021) 0:00:00.021 ******** ok: [managed_node1] => { "ansible_facts": { "mssql_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n66336361663164656232326461653662643537386337346563613939356466313835383235313234\n3634333565616161316639666662613564353237653663610a616639306439653033386664303839\n30663030636161326137656235636230356162373234386461363632353863393161353035316162\n3664353366373231360a343334326337353861366233656330363634353164316434616561333161\n3234\n" } }, "ansible_included_var_files": [ "/var/ARTIFACTS/work-generalnywqyg_4/plans/general/tree/mssql/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml:9 Tuesday 06 August 2024 10:32:35 -0400 (0:00:00.018) 0:00:00.040 ******** ok: [managed_node1] META: ran handlers TASK [Run tests_tls with SQL Server 2019] ************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml:23 Tuesday 06 August 2024 10:32:37 -0400 (0:00:01.892) 0:00:01.932 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml for managed_node1 TASK [Assert fail on EL 7 with version = 2022 and EL 9 with version != 2022] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:2 Tuesday 06 August 2024 10:32:37 -0400 (0:00:00.090) 0:00:02.023 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml for managed_node1 TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:2 Tuesday 06 August 2024 10:32:37 -0400 (0:00:00.031) 0:00:02.054 ******** ok: [managed_node1] TASK [Run the role] ************************************************************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:15 Tuesday 06 August 2024 10:32:37 -0400 (0:00:00.364) 0:00:02.418 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:22 Tuesday 06 August 2024 10:32:37 -0400 (0:00:00.020) 0:00:02.438 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure the openssl package] ********************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:5 Tuesday 06 August 2024 10:32:37 -0400 (0:00:00.020) 0:00:02.459 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "1:openssl-1.0.2k-26.el7_9.x86_64 providing openssl is already installed" ] } TASK [Create a tempfile for a certificate on hosts] **************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:11 Tuesday 06 August 2024 10:32:38 -0400 (0:00:00.706) 0:00:03.165 ******** changed: [managed_node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.zhZz6m", "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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:17 Tuesday 06 August 2024 10:32:38 -0400 (0:00:00.356) 0:00:03.522 ******** changed: [managed_node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.Sq0tET", "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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:23 Tuesday 06 August 2024 10:32:39 -0400 (0:00:00.268) 0:00:03.791 ******** changed: [managed_node1] => { "changed": true, "cmd": [ "openssl", "req", "-x509", "-nodes", "-newkey", "rsa:2048", "-subj", "/CN=10.31.8.111", "-out", "/tmp/ansible.zhZz6m", "-keyout", "/tmp/ansible.Sq0tET", "-days", "365" ], "delta": "0:00:00.080694", "end": "2024-08-06 10:32:39.482133", "rc": 0, "start": "2024-08-06 10:32:39.401439" } STDERR: Generating a 2048 bit RSA private key .........................................+++ ....................+++ writing new private key to '/tmp/ansible.Sq0tET' ----- TASK [Copy certificate files to local tmp] ************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:32 Tuesday 06 August 2024 10:32:39 -0400 (0:00:00.476) 0:00:04.268 ******** changed: [managed_node1] => (item=/tmp/ansible.zhZz6m) => { "ansible_loop_var": "item", "changed": true, "checksum": "6bf70698a811f3eff7f5b8365d86d2fe8bc1a8bf", "dest": "/tmp/ansible.zhZz6m", "item": "/tmp/ansible.zhZz6m", "md5sum": "3a0213656ac49b79fc79e420de328ac2", "remote_checksum": "6bf70698a811f3eff7f5b8365d86d2fe8bc1a8bf", "remote_md5sum": null } changed: [managed_node1] => (item=/tmp/ansible.Sq0tET) => { "ansible_loop_var": "item", "changed": true, "checksum": "05980382cb157580eecf1196d46c5b0f60a3c2e2", "dest": "/tmp/ansible.Sq0tET", "item": "/tmp/ansible.Sq0tET", "md5sum": "e0626f62831a1d2f0c61ba0cc33337fd", "remote_checksum": "05980382cb157580eecf1196d46c5b0f60a3c2e2", "remote_md5sum": null } TASK [Copy a private key to the playbook directory to test a relative path] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:44 Tuesday 06 August 2024 10:32:40 -0400 (0:00:00.750) 0:00:05.018 ******** changed: [managed_node1 -> localhost] => { "changed": true, "checksum": "05980382cb157580eecf1196d46c5b0f60a3c2e2", "dest": "./ansible.Sq0tET", "gid": 0, "group": "root", "md5sum": "e0626f62831a1d2f0c61ba0cc33337fd", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1722954760.3-5912-156001129200158/source", "state": "file", "uid": 0 } TASK [Set mssql_tls_cert and mssql_tls_private_key for the following test] ***** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:52 Tuesday 06 August 2024 10:32:40 -0400 (0:00:00.364) 0:00:05.383 ******** ok: [managed_node1] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.zhZz6m", "mssql_tls_private_key": "ansible.Sq0tET" }, "changed": false } TASK [Run role] **************************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:59 Tuesday 06 August 2024 10:32:40 -0400 (0:00:00.021) 0:00:05.405 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Tuesday 06 August 2024 10:32:40 -0400 (0:00:00.303) 0:00:05.708 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Tuesday 06 August 2024 10:32:40 -0400 (0:00:00.026) 0:00:05.734 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Tuesday 06 August 2024 10:32:41 -0400 (0:00:00.021) 0:00:05.756 ******** ok: [managed_node1] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Tuesday 06 August 2024 10:32:41 -0400 (0:00:00.049) 0:00:05.805 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Tuesday 06 August 2024 10:32:41 -0400 (0:00:00.018) 0:00:05.823 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Tuesday 06 August 2024 10:32:41 -0400 (0:00:00.018) 0:00:05.842 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Tuesday 06 August 2024 10:32:41 -0400 (0:00:00.017) 0:00:05.859 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Tuesday 06 August 2024 10:32:41 -0400 (0:00:00.023) 0:00:05.883 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Tuesday 06 August 2024 10:32:41 -0400 (0:00:00.018) 0:00:05.901 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Tuesday 06 August 2024 10:32:41 -0400 (0:00:00.017) 0:00:05.919 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Tuesday 06 August 2024 10:32:41 -0400 (0:00:00.019) 0:00:05.938 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Tuesday 06 August 2024 10:32:41 -0400 (0:00:00.017) 0:00:05.956 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Tuesday 06 August 2024 10:32:41 -0400 (0:00:00.018) 0:00:05.974 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Tuesday 06 August 2024 10:32:41 -0400 (0:00:00.020) 0:00:05.995 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Tuesday 06 August 2024 10:32:41 -0400 (0:00:00.025) 0:00:06.020 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Tuesday 06 August 2024 10:32:41 -0400 (0:00:00.017) 0:00:06.038 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Tuesday 06 August 2024 10:32:41 -0400 (0:00:00.019) 0:00:06.057 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Tuesday 06 August 2024 10:32:41 -0400 (0:00:00.018) 0:00:06.076 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Tuesday 06 August 2024 10:32:41 -0400 (0:00:00.019) 0:00:06.095 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Tuesday 06 August 2024 10:32:41 -0400 (0:00:00.020) 0:00:06.115 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Tuesday 06 August 2024 10:32:41 -0400 (0:00:00.017) 0:00:06.133 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Tuesday 06 August 2024 10:32:42 -0400 (0:00:01.363) 0:00:07.496 ******** skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Tuesday 06 August 2024 10:32:42 -0400 (0:00:00.098) 0:00:07.595 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Tuesday 06 August 2024 10:32:42 -0400 (0:00:00.051) 0:00:07.646 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Tuesday 06 August 2024 10:32:42 -0400 (0:00:00.055) 0:00:07.702 ******** skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Tuesday 06 August 2024 10:32:43 -0400 (0:00:00.084) 0:00:07.786 ******** ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Tuesday 06 August 2024 10:32:43 -0400 (0:00:00.640) 0:00:08.427 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Tuesday 06 August 2024 10:32:43 -0400 (0:00:00.050) 0:00:08.478 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Tuesday 06 August 2024 10:32:43 -0400 (0:00:00.052) 0:00:08.530 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Tuesday 06 August 2024 10:32:43 -0400 (0:00:00.050) 0:00:08.581 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Tuesday 06 August 2024 10:32:43 -0400 (0:00:00.050) 0:00:08.631 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Tuesday 06 August 2024 10:32:43 -0400 (0:00:00.049) 0:00:08.681 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Tuesday 06 August 2024 10:32:43 -0400 (0:00:00.051) 0:00:08.733 ******** changed: [managed_node1] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Tuesday 06 August 2024 10:32:44 -0400 (0:00:00.435) 0:00:09.169 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Tuesday 06 August 2024 10:32:44 -0400 (0:00:00.051) 0:00:09.220 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Tuesday 06 August 2024 10:32:45 -0400 (0:00:00.568) 0:00:09.788 ******** changed: [managed_node1] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: dl.fedoraproject.org\n * epel-debuginfo: dl.fedoraproject.org\n * epel-source: dl.fedoraproject.org\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:15.0.4375.4-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: python3 for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: lsof for package: mssql-server-15.0.4375.4-1.x86_64\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be installed\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be installed\n---> Package lsof.x86_64 0:4.87-6.el7 will be installed\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be installed\n--> Processing Dependency: python3-libs(x86-64) = 3.6.8-21.el7_9 for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-setuptools for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-pip for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: libpython3.6m.so.1.0()(64bit) for package: python3-3.6.8-21.el7_9.x86_64\n--> Running transaction check\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be installed\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be installed\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 15.0.4375.4-1 packages-microsoft-com-mssql-server-2019\n 229 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 base 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 updates 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 updates 41 k\n gdb x86_64 7.6.1-120.el7 base 2.4 M\n libatomic x86_64 4.8.5-44.el7 base 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 updates 170 k\n lsof x86_64 4.87-6.el7 base 331 k\n python3 x86_64 3.6.8-21.el7_9 updates 71 k\n python3-libs x86_64 3.6.8-21.el7_9 updates 7.0 M\n python3-pip noarch 9.0.3-8.el7 base 1.6 M\n python3-setuptools noarch 39.2.0-10.el7 base 629 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+11 Dependent packages)\n\nTotal size: 241 M\nInstalled size: 1.2 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python3-libs-3.6.8-21.el7_9.x86_64 1/12 \n Installing : python3-setuptools-39.2.0-10.el7.noarch 2/12 \n Installing : python3-pip-9.0.3-8.el7.noarch 3/12 \n Installing : python3-3.6.8-21.el7_9.x86_64 4/12 \n Installing : libatomic-4.8.5-44.el7.x86_64 5/12 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/12 \n Installing : gdb-7.6.1-120.el7.x86_64 7/12 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 8/12 \n Installing : lsof-4.87-6.el7.x86_64 9/12 \n Installing : bzip2-1.0.6-13.el7.x86_64 10/12 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 11/12 \n Installing : mssql-server-15.0.4375.4-1.x86_64 12/12 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\n Verifying : python3-3.6.8-21.el7_9.x86_64 1/12 \n Verifying : mssql-server-15.0.4375.4-1.x86_64 2/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 3/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 4/12 \n Verifying : lsof-4.87-6.el7.x86_64 5/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 6/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 7/12 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 8/12 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 9/12 \n Verifying : python3-pip-9.0.3-8.el7.noarch 10/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 12/12 \n\nInstalled:\n mssql-server.x86_64 0:15.0.4375.4-1 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n lsof.x86_64 0:4.87-6.el7 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Tuesday 06 August 2024 10:33:26 -0400 (0:00:41.357) 0:00:51.145 ******** skipping: [managed_node1] => { "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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Tuesday 06 August 2024 10:33:26 -0400 (0:00:00.050) 0:00:51.196 ******** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.007125", "end": "2024-08-06 10:33:26.756352", "rc": 0, "start": "2024-08-06 10:33:26.749227" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Tuesday 06 August 2024 10:33:26 -0400 (0:00:00.382) 0:00:51.579 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Tuesday 06 August 2024 10:33:28 -0400 (0:00:01.254) 0:00:52.833 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_is_setup": false }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Tuesday 06 August 2024 10:33:28 -0400 (0:00:00.077) 0:00:52.911 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Tuesday 06 August 2024 10:33:28 -0400 (0:00:00.063) 0:00:52.974 ******** changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Tuesday 06 August 2024 10:33:34 -0400 (0:00:06.282) 0:00:59.257 ******** skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Tuesday 06 August 2024 10:33:34 -0400 (0:00:00.067) 0:00:59.324 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Tuesday 06 August 2024 10:33:34 -0400 (0:00:00.057) 0:00:59.381 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Tuesday 06 August 2024 10:33:34 -0400 (0:00:00.057) 0:00:59.439 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Tuesday 06 August 2024 10:33:35 -0400 (0:00:00.725) 0:01:00.164 ******** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 09:43:06 EDT", "ActiveEnterTimestampMonotonic": "18449931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-journald.socket system.slice systemd-sysctl.service basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 09:43:04 EDT", "AssertTimestampMonotonic": "17161376", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 09:43:04 EDT", "ConditionTimestampMonotonic": "17161374", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "851", "ExecMainStartTimestamp": "Tue 2024-08-06 09:43:04 EDT", "ExecMainStartTimestampMonotonic": "17162038", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 09:43:04 EDT", "InactiveExitTimestampMonotonic": "17162082", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "851", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service dbus.service system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 09:43:06 EDT", "WatchdogTimestampMonotonic": "18449888", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Tuesday 06 August 2024 10:33:36 -0400 (0:00:00.865) 0:01:01.029 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.131536", "end": "2024-08-06 10:33:36.858407", "rc": 0, "start": "2024-08-06 10:33:36.726871" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Tuesday 06 August 2024 10:33:36 -0400 (0:00:00.665) 0:01:01.695 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Tuesday 06 August 2024 10:33:37 -0400 (0:00:00.058) 0:01:01.754 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Tuesday 06 August 2024 10:33:37 -0400 (0:00:00.059) 0:01:01.813 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Tuesday 06 August 2024 10:33:37 -0400 (0:00:00.059) 0:01:01.873 ******** changed: [managed_node1] => { "changed": true, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Tuesday 06 August 2024 10:33:37 -0400 (0:00:00.572) 0:01:02.445 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Tuesday 06 August 2024 10:33:37 -0400 (0:00:00.057) 0:01:02.503 ******** changed: [managed_node1] => { "changed": true, "changes": { "installed": [ "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be installed\n--> Processing Dependency: msodbcsql17 >= 17.3.0.0 for package: mssql-tools-17.10.1.1-1.x86_64\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: unixODBC = 2.3.11 for package: unixODBC-devel-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package msodbcsql17.x86_64 0:17.10.6.1-1 will be installed\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-tools x86_64 17.10.1.1-1 packages-microsoft-com-prod 291 k\n unixODBC-devel x86_64 2.3.11-1.rh packages-microsoft-com-prod 53 k\nInstalling for dependencies:\n libtool-ltdl x86_64 2.4.2-22.el7_3 base 49 k\n msodbcsql17 x86_64 17.10.6.1-1 packages-microsoft-com-prod 911 k\n unixODBC x86_64 2.3.11-1.rh packages-microsoft-com-prod 274 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+3 Dependent packages)\n\nTotal size: 1.5 M\nInstalled size: 3.8 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libtool-ltdl-2.4.2-22.el7_3.x86_64 1/5 \n Installing : unixODBC-2.3.11-1.rh.x86_64 2/5 \n Installing : msodbcsql17-17.10.6.1-1.x86_64 3/5 \nodbcinst: Driver installed. Usage count increased to 1. \n Target directory is /etc\n Installing : mssql-tools-17.10.1.1-1.x86_64 4/5 \n Installing : unixODBC-devel-2.3.11-1.rh.x86_64 5/5 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/5 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 2/5 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 3/5 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 4/5 \n Verifying : msodbcsql17-17.10.6.1-1.x86_64 5/5 \n\nInstalled:\n mssql-tools.x86_64 0:17.10.1.1-1 unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Installed:\n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 msodbcsql17.x86_64 0:17.10.6.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Tuesday 06 August 2024 10:33:44 -0400 (0:00:06.282) 0:01:08.785 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Tuesday 06 August 2024 10:33:44 -0400 (0:00:00.057) 0:01:08.843 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Tuesday 06 August 2024 10:33:44 -0400 (0:00:00.057) 0:01:08.901 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Tuesday 06 August 2024 10:33:44 -0400 (0:00:00.055) 0:01:08.956 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Tuesday 06 August 2024 10:33:44 -0400 (0:00:00.056) 0:01:09.013 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Tuesday 06 August 2024 10:33:44 -0400 (0:00:00.057) 0:01:09.070 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Tuesday 06 August 2024 10:33:44 -0400 (0:00:00.090) 0:01:09.160 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Tuesday 06 August 2024 10:33:44 -0400 (0:00:00.057) 0:01:09.218 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Tuesday 06 August 2024 10:33:44 -0400 (0:00:00.056) 0:01:09.275 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Tuesday 06 August 2024 10:33:44 -0400 (0:00:00.057) 0:01:09.332 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Tuesday 06 August 2024 10:33:44 -0400 (0:00:00.055) 0:01:09.388 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Tuesday 06 August 2024 10:33:44 -0400 (0:00:00.058) 0:01:09.446 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Tuesday 06 August 2024 10:33:44 -0400 (0:00:00.055) 0:01:09.501 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Tuesday 06 August 2024 10:33:44 -0400 (0:00:00.056) 0:01:09.558 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Tuesday 06 August 2024 10:33:44 -0400 (0:00:00.056) 0:01:09.614 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Tuesday 06 August 2024 10:33:44 -0400 (0:00:00.057) 0:01:09.672 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:33:45 -0400 (0:00:00.102) 0:01:09.775 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003877", "end": "2024-08-06 10:33:45.275038", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:33:45.271161" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:33:45 -0400 (0:00:00.320) 0:01:10.096 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.118928", "end": "2024-08-06 10:33:45.713131", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:33:45.594203" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:33:45 -0400 (0:00:00.451) 0:01:10.547 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Tuesday 06 August 2024 10:33:45 -0400 (0:00:00.056) 0:01:10.604 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Tuesday 06 August 2024 10:33:45 -0400 (0:00:00.057) 0:01:10.662 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Tuesday 06 August 2024 10:33:45 -0400 (0:00:00.058) 0:01:10.720 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Tuesday 06 August 2024 10:33:46 -0400 (0:00:00.099) 0:01:10.820 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Tuesday 06 August 2024 10:33:46 -0400 (0:00:00.058) 0:01:10.878 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Tuesday 06 August 2024 10:33:46 -0400 (0:00:00.055) 0:01:10.934 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Tuesday 06 August 2024 10:33:46 -0400 (0:00:00.057) 0:01:10.992 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Tuesday 06 August 2024 10:33:46 -0400 (0:00:00.055) 0:01:11.047 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Tuesday 06 August 2024 10:33:46 -0400 (0:00:00.057) 0:01:11.105 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Tuesday 06 August 2024 10:33:46 -0400 (0:00:00.058) 0:01:11.163 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Tuesday 06 August 2024 10:33:46 -0400 (0:00:00.060) 0:01:11.224 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Tuesday 06 August 2024 10:33:46 -0400 (0:00:00.061) 0:01:11.285 ******** changed: [managed_node1] => (item=/tmp/ansible.zhZz6m) => { "ansible_loop_var": "item", "changed": true, "checksum": "6bf70698a811f3eff7f5b8365d86d2fe8bc1a8bf", "dest": "/etc/pki/tls/certs/ansible.zhZz6m", "gid": 994, "group": "mssql", "item": "/tmp/ansible.zhZz6m", "md5sum": "3a0213656ac49b79fc79e420de328ac2", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1099, "src": "/root/.ansible/tmp/ansible-tmp-1722954826.6-6219-31293534333884/source", "state": "file", "uid": 996 } changed: [managed_node1] => (item=ansible.Sq0tET) => { "ansible_loop_var": "item", "changed": true, "checksum": "05980382cb157580eecf1196d46c5b0f60a3c2e2", "dest": "/etc/pki/tls/private/ansible.Sq0tET", "gid": 994, "group": "mssql", "item": "ansible.Sq0tET", "md5sum": "e0626f62831a1d2f0c61ba0cc33337fd", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1722954827.13-6219-260724473260710/source", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Tuesday 06 August 2024 10:33:47 -0400 (0:00:01.106) 0:01:12.392 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:33:47 -0400 (0:00:00.108) 0:01:12.500 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003130", "end": "2024-08-06 10:33:47.996435", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:33:47.993305" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:33:48 -0400 (0:00:00.326) 0:01:12.827 ******** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed_node1 changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/ansible.zhZz6m" ], "delta": "0:00:00.117576", "end": "2024-08-06 10:33:48.452171", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:33:48.334595" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:33:48 -0400 (0:00:00.455) 0:01:13.282 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Tuesday 06 August 2024 10:33:48 -0400 (0:00:00.062) 0:01:13.345 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:33:48 -0400 (0:00:00.110) 0:01:13.455 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003098", "end": "2024-08-06 10:33:48.969446", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:33:48.966348" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:33:49 -0400 (0:00:00.336) 0:01:13.791 ******** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.Sq0tET" ], "delta": "0:00:00.123052", "end": "2024-08-06 10:33:49.438801", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:33:49.315749" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:33:49 -0400 (0:00:00.477) 0:01:14.269 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Tuesday 06 August 2024 10:33:49 -0400 (0:00:00.061) 0:01:14.331 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:33:49 -0400 (0:00:00.114) 0:01:14.445 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003204", "end": "2024-08-06 10:33:49.961780", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:33:49.958576" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:33:50 -0400 (0:00:00.339) 0:01:14.784 ******** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.117759", "end": "2024-08-06 10:33:50.406635", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:33:50.288876" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:33:50 -0400 (0:00:00.452) 0:01:15.236 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Tuesday 06 August 2024 10:33:50 -0400 (0:00:00.060) 0:01:15.297 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:33:50 -0400 (0:00:00.156) 0:01:15.454 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003192", "end": "2024-08-06 10:33:50.952696", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:33:50.949504" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:33:51 -0400 (0:00:00.327) 0:01:15.781 ******** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.121881", "end": "2024-08-06 10:33:51.411829", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:33:51.289948" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:33:51 -0400 (0:00:00.466) 0:01:16.248 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Tuesday 06 August 2024 10:33:51 -0400 (0:00:00.059) 0:01:16.308 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Tuesday 06 August 2024 10:33:51 -0400 (0:00:00.059) 0:01:16.368 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Tuesday 06 August 2024 10:33:51 -0400 (0:00:00.056) 0:01:16.424 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Tuesday 06 August 2024 10:33:51 -0400 (0:00:00.057) 0:01:16.482 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Tuesday 06 August 2024 10:33:51 -0400 (0:00:00.060) 0:01:16.543 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Tuesday 06 August 2024 10:33:51 -0400 (0:00:00.058) 0:01:16.601 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Tuesday 06 August 2024 10:33:51 -0400 (0:00:00.058) 0:01:16.660 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Tuesday 06 August 2024 10:33:51 -0400 (0:00:00.056) 0:01:16.717 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Tuesday 06 August 2024 10:33:52 -0400 (0:00:00.058) 0:01:16.775 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Tuesday 06 August 2024 10:33:52 -0400 (0:00:00.057) 0:01:16.833 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Tuesday 06 August 2024 10:33:52 -0400 (0:00:00.057) 0:01:16.890 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Tuesday 06 August 2024 10:33:52 -0400 (0:00:00.057) 0:01:16.948 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Tuesday 06 August 2024 10:33:52 -0400 (0:00:00.056) 0:01:17.004 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Tuesday 06 August 2024 10:33:52 -0400 (0:00:00.100) 0:01:17.105 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Tuesday 06 August 2024 10:33:52 -0400 (0:00:00.058) 0:01:17.164 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Tuesday 06 August 2024 10:33:52 -0400 (0:00:00.058) 0:01:17.222 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Tuesday 06 August 2024 10:33:52 -0400 (0:00:00.056) 0:01:17.279 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Tuesday 06 August 2024 10:33:52 -0400 (0:00:00.057) 0:01:17.336 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Tuesday 06 August 2024 10:33:52 -0400 (0:00:00.057) 0:01:17.393 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Tuesday 06 August 2024 10:33:52 -0400 (0:00:00.056) 0:01:17.450 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Tuesday 06 August 2024 10:33:52 -0400 (0:00:00.058) 0:01:17.509 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Tuesday 06 August 2024 10:33:52 -0400 (0:00:00.056) 0:01:17.565 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Tuesday 06 August 2024 10:33:52 -0400 (0:00:00.058) 0:01:17.623 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Tuesday 06 August 2024 10:33:52 -0400 (0:00:00.057) 0:01:17.681 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Tuesday 06 August 2024 10:33:52 -0400 (0:00:00.056) 0:01:17.737 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Tuesday 06 August 2024 10:33:53 -0400 (0:00:00.057) 0:01:17.795 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Tuesday 06 August 2024 10:33:53 -0400 (0:00:00.056) 0:01:17.851 ******** skipping: [managed_node1] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Tuesday 06 August 2024 10:33:53 -0400 (0:00:00.068) 0:01:17.920 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Tuesday 06 August 2024 10:33:53 -0400 (0:00:00.056) 0:01:17.977 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Tuesday 06 August 2024 10:33:53 -0400 (0:00:00.057) 0:01:18.034 ******** skipping: [managed_node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Tuesday 06 August 2024 10:33:53 -0400 (0:00:00.071) 0:01:18.106 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1180 Tuesday 06 August 2024 10:33:53 -0400 (0:00:00.056) 0:01:18.162 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1205 Tuesday 06 August 2024 10:33:53 -0400 (0:00:00.102) 0:01:18.264 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1214 Tuesday 06 August 2024 10:33:53 -0400 (0:00:00.059) 0:01:18.324 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Tuesday 06 August 2024 10:33:53 -0400 (0:00:00.058) 0:01:18.383 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Tuesday 06 August 2024 10:33:53 -0400 (0:00:00.056) 0:01:18.439 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Tuesday 06 August 2024 10:33:53 -0400 (0:00:00.058) 0:01:18.497 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Tuesday 06 August 2024 10:33:53 -0400 (0:00:00.059) 0:01:18.557 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1263 Tuesday 06 August 2024 10:33:53 -0400 (0:00:00.056) 0:01:18.613 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1270 Tuesday 06 August 2024 10:33:53 -0400 (0:00:00.058) 0:01:18.671 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1278 Tuesday 06 August 2024 10:33:53 -0400 (0:00:00.056) 0:01:18.727 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Tuesday 06 August 2024 10:33:54 -0400 (0:00:00.056) 0:01:18.784 ******** skipping: [managed_node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1297 Tuesday 06 August 2024 10:33:54 -0400 (0:00:00.070) 0:01:18.855 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1306 Tuesday 06 August 2024 10:33:54 -0400 (0:00:00.056) 0:01:18.912 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1313 Tuesday 06 August 2024 10:33:54 -0400 (0:00:00.057) 0:01:18.969 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Tuesday 06 August 2024 10:33:54 -0400 (0:00:00.056) 0:01:19.025 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1327 Tuesday 06 August 2024 10:33:54 -0400 (0:00:00.059) 0:01:19.085 ******** skipping: [managed_node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1340 Tuesday 06 August 2024 10:33:54 -0400 (0:00:00.064) 0:01:19.150 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1352 Tuesday 06 August 2024 10:33:54 -0400 (0:00:00.057) 0:01:19.207 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Tuesday 06 August 2024 10:33:54 -0400 (0:00:00.058) 0:01:19.266 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Tuesday 06 August 2024 10:33:54 -0400 (0:00:00.057) 0:01:19.323 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1372 Tuesday 06 August 2024 10:33:54 -0400 (0:00:00.103) 0:01:19.426 ******** changed: [managed_node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Tuesday 06 August 2024 10:33:55 -0400 (0:00:00.496) 0:01:19.923 ******** changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 10:33:34 EDT", "ActiveEnterTimestampMonotonic": "3046584731", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target systemd-journald.socket system.slice -.mount basic.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 10:33:34 EDT", "AssertTimestampMonotonic": "3046583094", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 10:33:34 EDT", "ConditionTimestampMonotonic": "3046583092", "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": "22694", "ExecMainStartTimestamp": "Tue 2024-08-06 10:33:34 EDT", "ExecMainStartTimestampMonotonic": "3046583879", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 10:33:34 EDT", "InactiveExitTimestampMonotonic": "3046584731", "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": "22694", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 10:33:34 EDT", "WatchdogTimestampMonotonic": "3046584705", "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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1385 Tuesday 06 August 2024 10:33:56 -0400 (0:00:01.241) 0:01:21.165 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1392 Tuesday 06 August 2024 10:33:56 -0400 (0:00:00.058) 0:01:21.223 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove a private key from the playbook directory] ************************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:68 Tuesday 06 August 2024 10:33:56 -0400 (0:00:00.060) 0:01:21.283 ******** changed: [managed_node1 -> localhost] => { "changed": true, "path": "ansible.Sq0tET", "state": "absent" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:75 Tuesday 06 August 2024 10:33:56 -0400 (0:00:00.332) 0:01:21.615 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml for managed_node1 TASK [Modify the mssql-server service start limit interval] ******************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:3 Tuesday 06 August 2024 10:33:56 -0400 (0:00:00.102) 0:01:21.718 ******** changed: [managed_node1] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:10 Tuesday 06 August 2024 10:33:57 -0400 (0:00:00.565) 0:01:22.284 ******** changed: [managed_node1] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:17 Tuesday 06 August 2024 10:33:58 -0400 (0:00:00.509) 0:01:22.793 ******** ok: [managed_node1] => { "changed": false, "name": null, "status": {} } TASK [Verify connectivity and settings] **************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:78 Tuesday 06 August 2024 10:33:58 -0400 (0:00:00.758) 0:01:23.552 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed_node1 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Tuesday 06 August 2024 10:33:58 -0400 (0:00:00.130) 0:01:23.682 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Tuesday 06 August 2024 10:33:59 -0400 (0:00:00.058) 0:01:23.741 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Tuesday 06 August 2024 10:33:59 -0400 (0:00:00.056) 0:01:23.798 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Tuesday 06 August 2024 10:33:59 -0400 (0:00:00.058) 0:01:23.856 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Tuesday 06 August 2024 10:33:59 -0400 (0:00:00.057) 0:01:23.914 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Tuesday 06 August 2024 10:33:59 -0400 (0:00:00.056) 0:01:23.971 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Tuesday 06 August 2024 10:33:59 -0400 (0:00:00.055) 0:01:24.026 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Tuesday 06 August 2024 10:33:59 -0400 (0:00:00.056) 0:01:24.083 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Tuesday 06 August 2024 10:33:59 -0400 (0:00:00.056) 0:01:24.140 ******** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Tuesday 06 August 2024 10:33:59 -0400 (0:00:00.112) 0:01:24.252 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 10:33:56 EDT", "ActiveEnterTimestampMonotonic": "3068634787", "ActiveExitTimestamp": "Tue 2024-08-06 10:33:55 EDT", "ActiveExitTimestampMonotonic": "3067913407", "ActiveState": "active", "After": "auditd.service network.target -.mount systemd-journald.socket basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 10:33:56 EDT", "AssertTimestampMonotonic": "3068633753", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 10:33:56 EDT", "ConditionTimestampMonotonic": "3068633752", "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": "24008", "ExecMainStartTimestamp": "Tue 2024-08-06 10:33:56 EDT", "ExecMainStartTimestampMonotonic": "3068634713", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 10:33:56 EDT", "InactiveEnterTimestampMonotonic": "3068632306", "InactiveExitTimestamp": "Tue 2024-08-06 10:33:56 EDT", "InactiveExitTimestampMonotonic": "3068634787", "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": "24008", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 10:33:56 EDT", "WatchdogTimestampMonotonic": "3068634763", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Tuesday 06 August 2024 10:34:00 -0400 (0:00:00.975) 0:01:25.228 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004063", "end": "2024-08-06 10:34:00.854871", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:34:00.850808" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Tuesday 06 August 2024 10:34:00 -0400 (0:00:00.457) 0:01:25.685 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003018", "end": "2024-08-06 10:34:01.207452", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:34:01.204434" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Tuesday 06 August 2024 10:34:01 -0400 (0:00:00.352) 0:01:26.037 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Tuesday 06 August 2024 10:34:01 -0400 (0:00:00.073) 0:01:26.111 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7351, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Tuesday 06 August 2024 10:34:02 -0400 (0:00:01.523) 0:01:27.635 ******** ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.039376", "end": "2024-08-06 10:34:03.184405", "rc": 0, "start": "2024-08-06 10:34:03.145029" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Tuesday 06 August 2024 10:34:03 -0400 (0:00:00.380) 0:01:28.015 ******** ok: [managed_node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Tuesday 06 August 2024 10:34:03 -0400 (0:00:00.062) 0:01:28.077 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Tuesday 06 August 2024 10:34:03 -0400 (0:00:00.094) 0:01:28.172 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Tuesday 06 August 2024 10:34:03 -0400 (0:00:00.059) 0:01:28.231 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Tuesday 06 August 2024 10:34:03 -0400 (0:00:00.056) 0:01:28.288 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Tuesday 06 August 2024 10:34:03 -0400 (0:00:00.058) 0:01:28.346 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Tuesday 06 August 2024 10:34:03 -0400 (0:00:00.056) 0:01:28.402 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Tuesday 06 August 2024 10:34:03 -0400 (0:00:00.057) 0:01:28.459 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Tuesday 06 August 2024 10:34:03 -0400 (0:00:00.055) 0:01:28.515 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 06 August 2024 10:34:03 -0400 (0:00:00.106) 0:01:28.622 ******** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004278", "end": "2024-08-06 10:34:04.132259", "rc": 0, "start": "2024-08-06 10:34:04.127981" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.zhZz6m TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 06 August 2024 10:34:04 -0400 (0:00:00.339) 0:01:28.962 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 06 August 2024 10:34:04 -0400 (0:00:00.075) 0:01:29.037 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.zhZz6m] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 06 August 2024 10:34:04 -0400 (0:00:00.065) 0:01:29.103 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Tuesday 06 August 2024 10:34:04 -0400 (0:00:00.060) 0:01:29.164 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 06 August 2024 10:34:04 -0400 (0:00:00.108) 0:01:29.272 ******** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004516", "end": "2024-08-06 10:34:04.776206", "rc": 0, "start": "2024-08-06 10:34:04.771690" } STDOUT: tlskey = /etc/pki/tls/private/ansible.Sq0tET TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 06 August 2024 10:34:04 -0400 (0:00:00.325) 0:01:29.597 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 06 August 2024 10:34:04 -0400 (0:00:00.074) 0:01:29.672 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.Sq0tET] *************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 06 August 2024 10:34:05 -0400 (0:00:00.106) 0:01:29.779 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Tuesday 06 August 2024 10:34:05 -0400 (0:00:00.061) 0:01:29.841 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 06 August 2024 10:34:05 -0400 (0:00:00.110) 0:01:29.952 ******** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004438", "end": "2024-08-06 10:34:05.463033", "rc": 0, "start": "2024-08-06 10:34:05.458595" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 06 August 2024 10:34:05 -0400 (0:00:00.332) 0:01:30.284 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 06 August 2024 10:34:05 -0400 (0:00:00.073) 0:01:30.358 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 06 August 2024 10:34:05 -0400 (0:00:00.062) 0:01:30.420 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Tuesday 06 August 2024 10:34:05 -0400 (0:00:00.059) 0:01:30.480 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 06 August 2024 10:34:05 -0400 (0:00:00.113) 0:01:30.593 ******** ok: [managed_node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004307", "end": "2024-08-06 10:34:06.102021", "rc": 0, "start": "2024-08-06 10:34:06.097714" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 06 August 2024 10:34:06 -0400 (0:00:00.334) 0:01:30.928 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 06 August 2024 10:34:06 -0400 (0:00:00.063) 0:01:30.991 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 06 August 2024 10:34:06 -0400 (0:00:00.074) 0:01:31.065 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Tuesday 06 August 2024 10:34:06 -0400 (0:00:00.060) 0:01:31.125 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:85 Tuesday 06 August 2024 10:34:06 -0400 (0:00:00.056) 0:01:31.181 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Tuesday 06 August 2024 10:34:06 -0400 (0:00:00.338) 0:01:31.520 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Tuesday 06 August 2024 10:34:06 -0400 (0:00:00.100) 0:01:31.621 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Tuesday 06 August 2024 10:34:06 -0400 (0:00:00.075) 0:01:31.696 ******** ok: [managed_node1] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Tuesday 06 August 2024 10:34:07 -0400 (0:00:00.091) 0:01:31.788 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Tuesday 06 August 2024 10:34:07 -0400 (0:00:00.060) 0:01:31.848 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Tuesday 06 August 2024 10:34:07 -0400 (0:00:00.060) 0:01:31.908 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Tuesday 06 August 2024 10:34:07 -0400 (0:00:00.058) 0:01:31.966 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Tuesday 06 August 2024 10:34:07 -0400 (0:00:00.058) 0:01:32.025 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Tuesday 06 August 2024 10:34:07 -0400 (0:00:00.057) 0:01:32.082 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Tuesday 06 August 2024 10:34:07 -0400 (0:00:00.058) 0:01:32.141 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Tuesday 06 August 2024 10:34:07 -0400 (0:00:00.057) 0:01:32.198 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Tuesday 06 August 2024 10:34:07 -0400 (0:00:00.057) 0:01:32.256 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Tuesday 06 August 2024 10:34:07 -0400 (0:00:00.059) 0:01:32.315 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Tuesday 06 August 2024 10:34:07 -0400 (0:00:00.060) 0:01:32.376 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Tuesday 06 August 2024 10:34:07 -0400 (0:00:00.114) 0:01:32.490 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Tuesday 06 August 2024 10:34:07 -0400 (0:00:00.059) 0:01:32.550 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Tuesday 06 August 2024 10:34:07 -0400 (0:00:00.059) 0:01:32.610 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Tuesday 06 August 2024 10:34:07 -0400 (0:00:00.057) 0:01:32.667 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Tuesday 06 August 2024 10:34:07 -0400 (0:00:00.058) 0:01:32.725 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Tuesday 06 August 2024 10:34:08 -0400 (0:00:00.060) 0:01:32.786 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Tuesday 06 August 2024 10:34:08 -0400 (0:00:00.056) 0:01:32.843 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Tuesday 06 August 2024 10:34:09 -0400 (0:00:01.174) 0:01:34.017 ******** skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Tuesday 06 August 2024 10:34:09 -0400 (0:00:00.161) 0:01:34.178 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Tuesday 06 August 2024 10:34:09 -0400 (0:00:00.061) 0:01:34.240 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Tuesday 06 August 2024 10:34:09 -0400 (0:00:00.066) 0:01:34.306 ******** skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Tuesday 06 August 2024 10:34:09 -0400 (0:00:00.189) 0:01:34.496 ******** ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Tuesday 06 August 2024 10:34:10 -0400 (0:00:00.532) 0:01:35.028 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Tuesday 06 August 2024 10:34:10 -0400 (0:00:00.062) 0:01:35.091 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Tuesday 06 August 2024 10:34:10 -0400 (0:00:00.061) 0:01:35.153 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Tuesday 06 August 2024 10:34:10 -0400 (0:00:00.064) 0:01:35.217 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Tuesday 06 August 2024 10:34:10 -0400 (0:00:00.061) 0:01:35.278 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Tuesday 06 August 2024 10:34:10 -0400 (0:00:00.063) 0:01:35.342 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Tuesday 06 August 2024 10:34:10 -0400 (0:00:00.061) 0:01:35.403 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Tuesday 06 August 2024 10:34:10 -0400 (0:00:00.083) 0:01:35.487 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Tuesday 06 August 2024 10:34:10 -0400 (0:00:00.059) 0:01:35.547 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Tuesday 06 August 2024 10:34:11 -0400 (0:00:00.586) 0:01:36.133 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Tuesday 06 August 2024 10:34:11 -0400 (0:00:00.548) 0:01:36.681 ******** skipping: [managed_node1] => { "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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Tuesday 06 August 2024 10:34:12 -0400 (0:00:00.107) 0:01:36.788 ******** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005374", "end": "2024-08-06 10:34:12.303692", "rc": 0, "start": "2024-08-06 10:34:12.298318" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Tuesday 06 August 2024 10:34:12 -0400 (0:00:00.341) 0:01:37.130 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Tuesday 06 August 2024 10:34:13 -0400 (0:00:00.891) 0:01:38.021 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Tuesday 06 August 2024 10:34:13 -0400 (0:00:00.082) 0:01:38.103 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Tuesday 06 August 2024 10:34:13 -0400 (0:00:00.059) 0:01:38.163 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Tuesday 06 August 2024 10:34:13 -0400 (0:00:00.060) 0:01:38.224 ******** skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Tuesday 06 August 2024 10:34:13 -0400 (0:00:00.070) 0:01:38.294 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Tuesday 06 August 2024 10:34:13 -0400 (0:00:00.060) 0:01:38.354 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Tuesday 06 August 2024 10:34:13 -0400 (0:00:00.059) 0:01:38.413 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Tuesday 06 August 2024 10:34:14 -0400 (0:00:00.537) 0:01:38.951 ******** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 09:43:06 EDT", "ActiveEnterTimestampMonotonic": "18449931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.service systemd-journald.socket systemd-sysctl.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 09:43:04 EDT", "AssertTimestampMonotonic": "17161376", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 09:43:04 EDT", "ConditionTimestampMonotonic": "17161374", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "851", "ExecMainStartTimestamp": "Tue 2024-08-06 09:43:04 EDT", "ExecMainStartTimestampMonotonic": "17162038", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 09:43:04 EDT", "InactiveExitTimestampMonotonic": "17162082", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "851", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service dbus.service system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 09:43:06 EDT", "WatchdogTimestampMonotonic": "18449888", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Tuesday 06 August 2024 10:34:14 -0400 (0:00:00.422) 0:01:39.374 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.087878", "end": "2024-08-06 10:34:14.975616", "rc": 0, "start": "2024-08-06 10:34:14.887738" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Tuesday 06 August 2024 10:34:15 -0400 (0:00:00.425) 0:01:39.799 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Tuesday 06 August 2024 10:34:15 -0400 (0:00:00.062) 0:01:39.861 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Tuesday 06 August 2024 10:34:15 -0400 (0:00:00.063) 0:01:39.925 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Tuesday 06 August 2024 10:34:15 -0400 (0:00:00.061) 0:01:39.986 ******** ok: [managed_node1] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Tuesday 06 August 2024 10:34:15 -0400 (0:00:00.332) 0:01:40.319 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Tuesday 06 August 2024 10:34:15 -0400 (0:00:00.059) 0:01:40.378 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Tuesday 06 August 2024 10:34:16 -0400 (0:00:00.538) 0:01:40.917 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Tuesday 06 August 2024 10:34:16 -0400 (0:00:00.061) 0:01:40.978 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Tuesday 06 August 2024 10:34:16 -0400 (0:00:00.062) 0:01:41.041 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Tuesday 06 August 2024 10:34:16 -0400 (0:00:00.062) 0:01:41.103 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Tuesday 06 August 2024 10:34:16 -0400 (0:00:00.060) 0:01:41.164 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Tuesday 06 August 2024 10:34:16 -0400 (0:00:00.063) 0:01:41.228 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Tuesday 06 August 2024 10:34:16 -0400 (0:00:00.060) 0:01:41.288 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Tuesday 06 August 2024 10:34:16 -0400 (0:00:00.059) 0:01:41.347 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Tuesday 06 August 2024 10:34:16 -0400 (0:00:00.060) 0:01:41.407 ******** ok: [managed_node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.004927", "end": "2024-08-06 10:34:16.924361", "rc": 0, "start": "2024-08-06 10:34:16.919434" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Tuesday 06 August 2024 10:34:17 -0400 (0:00:00.340) 0:01:41.748 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Tuesday 06 August 2024 10:34:17 -0400 (0:00:00.063) 0:01:41.811 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Tuesday 06 August 2024 10:34:18 -0400 (0:00:01.189) 0:01:43.000 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Tuesday 06 August 2024 10:34:18 -0400 (0:00:00.065) 0:01:43.065 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Tuesday 06 August 2024 10:34:18 -0400 (0:00:00.061) 0:01:43.127 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Tuesday 06 August 2024 10:34:18 -0400 (0:00:00.060) 0:01:43.187 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Tuesday 06 August 2024 10:34:18 -0400 (0:00:00.061) 0:01:43.249 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:34:18 -0400 (0:00:00.106) 0:01:43.355 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003414", "end": "2024-08-06 10:34:18.855748", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:34:18.852334" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:34:18 -0400 (0:00:00.364) 0:01:43.719 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.120400", "end": "2024-08-06 10:34:19.344174", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:34:19.223774" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:34:19 -0400 (0:00:00.461) 0:01:44.181 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Tuesday 06 August 2024 10:34:19 -0400 (0:00:00.059) 0:01:44.241 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Tuesday 06 August 2024 10:34:19 -0400 (0:00:00.060) 0:01:44.302 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Tuesday 06 August 2024 10:34:19 -0400 (0:00:00.060) 0:01:44.362 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Tuesday 06 August 2024 10:34:19 -0400 (0:00:00.061) 0:01:44.424 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Tuesday 06 August 2024 10:34:19 -0400 (0:00:00.059) 0:01:44.484 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Tuesday 06 August 2024 10:34:19 -0400 (0:00:00.058) 0:01:44.542 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Tuesday 06 August 2024 10:34:19 -0400 (0:00:00.060) 0:01:44.603 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Tuesday 06 August 2024 10:34:19 -0400 (0:00:00.059) 0:01:44.662 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Tuesday 06 August 2024 10:34:19 -0400 (0:00:00.060) 0:01:44.723 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Tuesday 06 August 2024 10:34:20 -0400 (0:00:00.060) 0:01:44.783 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Tuesday 06 August 2024 10:34:20 -0400 (0:00:00.060) 0:01:44.844 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Tuesday 06 August 2024 10:34:20 -0400 (0:00:00.063) 0:01:44.907 ******** skipping: [managed_node1] => (item=/tmp/ansible.zhZz6m) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.zhZz6m", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ansible.Sq0tET) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.Sq0tET", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Tuesday 06 August 2024 10:34:20 -0400 (0:00:00.074) 0:01:44.981 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:34:20 -0400 (0:00:00.161) 0:01:45.143 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003136", "end": "2024-08-06 10:34:20.646848", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:34:20.643712" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.zhZz6m TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:34:20 -0400 (0:00:00.330) 0:01:45.474 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlscert] ***** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:34:20 -0400 (0:00:00.069) 0:01:45.543 ******** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed_node1 changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.123026", "end": "2024-08-06 10:34:21.182230", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:34:21.059204" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Tuesday 06 August 2024 10:34:21 -0400 (0:00:00.472) 0:01:46.015 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:34:21 -0400 (0:00:00.116) 0:01:46.132 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003239", "end": "2024-08-06 10:34:21.644347", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:34:21.641108" } STDOUT: tlskey = /etc/pki/tls/private/ansible.Sq0tET TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:34:21 -0400 (0:00:00.343) 0:01:46.475 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:34:21 -0400 (0:00:00.069) 0:01:46.545 ******** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.120526", "end": "2024-08-06 10:34:22.166801", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:34:22.046275" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Tuesday 06 August 2024 10:34:22 -0400 (0:00:00.451) 0:01:46.996 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:34:22 -0400 (0:00:00.118) 0:01:47.115 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003279", "end": "2024-08-06 10:34:22.612957", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:34:22.609678" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:34:22 -0400 (0:00:00.323) 0:01:47.439 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlsprotocols] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:34:22 -0400 (0:00:00.067) 0:01:47.506 ******** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.121875", "end": "2024-08-06 10:34:23.155404", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:34:23.033529" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Tuesday 06 August 2024 10:34:23 -0400 (0:00:00.483) 0:01:47.989 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:34:23 -0400 (0:00:00.121) 0:01:48.110 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003241", "end": "2024-08-06 10:34:23.614022", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:34:23.610781" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:34:23 -0400 (0:00:00.329) 0:01:48.440 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network forceencryption] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:34:23 -0400 (0:00:00.070) 0:01:48.511 ******** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.120182", "end": "2024-08-06 10:34:24.130016", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:34:24.009834" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Tuesday 06 August 2024 10:34:24 -0400 (0:00:00.454) 0:01:48.965 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Tuesday 06 August 2024 10:34:24 -0400 (0:00:00.062) 0:01:49.027 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Tuesday 06 August 2024 10:34:24 -0400 (0:00:00.059) 0:01:49.086 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Tuesday 06 August 2024 10:34:24 -0400 (0:00:00.063) 0:01:49.150 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Tuesday 06 August 2024 10:34:24 -0400 (0:00:00.063) 0:01:49.213 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Tuesday 06 August 2024 10:34:24 -0400 (0:00:00.061) 0:01:49.275 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Tuesday 06 August 2024 10:34:24 -0400 (0:00:00.061) 0:01:49.336 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Tuesday 06 August 2024 10:34:24 -0400 (0:00:00.059) 0:01:49.396 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Tuesday 06 August 2024 10:34:24 -0400 (0:00:00.061) 0:01:49.458 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Tuesday 06 August 2024 10:34:24 -0400 (0:00:00.062) 0:01:49.520 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Tuesday 06 August 2024 10:34:24 -0400 (0:00:00.109) 0:01:49.629 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Tuesday 06 August 2024 10:34:24 -0400 (0:00:00.062) 0:01:49.692 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Tuesday 06 August 2024 10:34:25 -0400 (0:00:00.059) 0:01:49.751 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Tuesday 06 August 2024 10:34:25 -0400 (0:00:00.060) 0:01:49.812 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Tuesday 06 August 2024 10:34:25 -0400 (0:00:00.059) 0:01:49.872 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Tuesday 06 August 2024 10:34:25 -0400 (0:00:00.060) 0:01:49.933 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Tuesday 06 August 2024 10:34:25 -0400 (0:00:00.061) 0:01:49.994 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Tuesday 06 August 2024 10:34:25 -0400 (0:00:00.059) 0:01:50.053 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Tuesday 06 August 2024 10:34:25 -0400 (0:00:00.061) 0:01:50.114 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Tuesday 06 August 2024 10:34:25 -0400 (0:00:00.058) 0:01:50.173 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Tuesday 06 August 2024 10:34:25 -0400 (0:00:00.061) 0:01:50.234 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Tuesday 06 August 2024 10:34:25 -0400 (0:00:00.058) 0:01:50.292 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Tuesday 06 August 2024 10:34:25 -0400 (0:00:00.060) 0:01:50.353 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Tuesday 06 August 2024 10:34:25 -0400 (0:00:00.060) 0:01:50.414 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Tuesday 06 August 2024 10:34:25 -0400 (0:00:00.058) 0:01:50.472 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Tuesday 06 August 2024 10:34:25 -0400 (0:00:00.060) 0:01:50.532 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Tuesday 06 August 2024 10:34:25 -0400 (0:00:00.058) 0:01:50.591 ******** skipping: [managed_node1] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Tuesday 06 August 2024 10:34:25 -0400 (0:00:00.072) 0:01:50.664 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Tuesday 06 August 2024 10:34:25 -0400 (0:00:00.061) 0:01:50.725 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Tuesday 06 August 2024 10:34:26 -0400 (0:00:00.109) 0:01:50.835 ******** skipping: [managed_node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Tuesday 06 August 2024 10:34:26 -0400 (0:00:00.076) 0:01:50.912 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1180 Tuesday 06 August 2024 10:34:26 -0400 (0:00:00.059) 0:01:50.971 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1205 Tuesday 06 August 2024 10:34:26 -0400 (0:00:00.060) 0:01:51.032 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1214 Tuesday 06 August 2024 10:34:26 -0400 (0:00:00.059) 0:01:51.091 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Tuesday 06 August 2024 10:34:26 -0400 (0:00:00.060) 0:01:51.152 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Tuesday 06 August 2024 10:34:26 -0400 (0:00:00.060) 0:01:51.212 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Tuesday 06 August 2024 10:34:26 -0400 (0:00:00.059) 0:01:51.272 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Tuesday 06 August 2024 10:34:26 -0400 (0:00:00.061) 0:01:51.333 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1263 Tuesday 06 August 2024 10:34:26 -0400 (0:00:00.058) 0:01:51.392 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1270 Tuesday 06 August 2024 10:34:26 -0400 (0:00:00.060) 0:01:51.453 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1278 Tuesday 06 August 2024 10:34:26 -0400 (0:00:00.060) 0:01:51.513 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Tuesday 06 August 2024 10:34:26 -0400 (0:00:00.058) 0:01:51.572 ******** skipping: [managed_node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1297 Tuesday 06 August 2024 10:34:26 -0400 (0:00:00.074) 0:01:51.646 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1306 Tuesday 06 August 2024 10:34:26 -0400 (0:00:00.059) 0:01:51.706 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1313 Tuesday 06 August 2024 10:34:27 -0400 (0:00:00.060) 0:01:51.766 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Tuesday 06 August 2024 10:34:27 -0400 (0:00:00.058) 0:01:51.825 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1327 Tuesday 06 August 2024 10:34:27 -0400 (0:00:00.061) 0:01:51.887 ******** skipping: [managed_node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1340 Tuesday 06 August 2024 10:34:27 -0400 (0:00:00.123) 0:01:52.011 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1352 Tuesday 06 August 2024 10:34:27 -0400 (0:00:00.063) 0:01:52.075 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Tuesday 06 August 2024 10:34:27 -0400 (0:00:00.065) 0:01:52.140 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Tuesday 06 August 2024 10:34:27 -0400 (0:00:00.063) 0:01:52.203 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1372 Tuesday 06 August 2024 10:34:27 -0400 (0:00:00.065) 0:01:52.268 ******** changed: [managed_node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Tuesday 06 August 2024 10:34:27 -0400 (0:00:00.413) 0:01:52.682 ******** changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 10:33:56 EDT", "ActiveEnterTimestampMonotonic": "3068634787", "ActiveExitTimestamp": "Tue 2024-08-06 10:33:55 EDT", "ActiveExitTimestampMonotonic": "3067913407", "ActiveState": "active", "After": "auditd.service network.target -.mount systemd-journald.socket basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 10:33:56 EDT", "AssertTimestampMonotonic": "3068633753", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 10:33:56 EDT", "ConditionTimestampMonotonic": "3068633752", "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": "24008", "ExecMainStartTimestamp": "Tue 2024-08-06 10:33:56 EDT", "ExecMainStartTimestampMonotonic": "3068634713", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 10:33:56 EDT", "InactiveEnterTimestampMonotonic": "3068632306", "InactiveExitTimestamp": "Tue 2024-08-06 10:33:56 EDT", "InactiveExitTimestampMonotonic": "3068634787", "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": "24008", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 10:33:56 EDT", "WatchdogTimestampMonotonic": "3068634763", "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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1385 Tuesday 06 August 2024 10:34:28 -0400 (0:00:00.741) 0:01:53.423 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1392 Tuesday 06 August 2024 10:34:28 -0400 (0:00:00.061) 0:01:53.484 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:92 Tuesday 06 August 2024 10:34:28 -0400 (0:00:00.060) 0:01:53.545 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed_node1 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Tuesday 06 August 2024 10:34:29 -0400 (0:00:00.224) 0:01:53.769 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Tuesday 06 August 2024 10:34:29 -0400 (0:00:00.061) 0:01:53.830 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Tuesday 06 August 2024 10:34:29 -0400 (0:00:00.058) 0:01:53.889 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Tuesday 06 August 2024 10:34:29 -0400 (0:00:00.115) 0:01:54.005 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Tuesday 06 August 2024 10:34:29 -0400 (0:00:00.064) 0:01:54.069 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Tuesday 06 August 2024 10:34:29 -0400 (0:00:00.062) 0:01:54.132 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Tuesday 06 August 2024 10:34:29 -0400 (0:00:00.061) 0:01:54.193 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Tuesday 06 August 2024 10:34:29 -0400 (0:00:00.061) 0:01:54.254 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Tuesday 06 August 2024 10:34:29 -0400 (0:00:00.060) 0:01:54.315 ******** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Tuesday 06 August 2024 10:34:29 -0400 (0:00:00.108) 0:01:54.424 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 10:34:28 EDT", "ActiveEnterTimestampMonotonic": "3100920887", "ActiveExitTimestamp": "Tue 2024-08-06 10:34:28 EDT", "ActiveExitTimestampMonotonic": "3100674393", "ActiveState": "active", "After": "auditd.service network.target -.mount systemd-journald.socket basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 10:34:28 EDT", "AssertTimestampMonotonic": "3100920128", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 10:34:28 EDT", "ConditionTimestampMonotonic": "3100920126", "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": "26244", "ExecMainStartTimestamp": "Tue 2024-08-06 10:34:28 EDT", "ExecMainStartTimestampMonotonic": "3100920817", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 10:34:28 EDT] ; stop_time=[n/a] ; pid=26244 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 10:34:28 EDT", "InactiveEnterTimestampMonotonic": "3100918157", "InactiveExitTimestamp": "Tue 2024-08-06 10:34:28 EDT", "InactiveExitTimestampMonotonic": "3100920887", "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": "26244", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 10:34:28 EDT", "WatchdogTimestampMonotonic": "3100920864", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Tuesday 06 August 2024 10:34:30 -0400 (0:00:00.627) 0:01:55.051 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004945", "end": "2024-08-06 10:34:30.735636", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:34:30.730691" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Tuesday 06 August 2024 10:34:30 -0400 (0:00:00.523) 0:01:55.574 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003980", "end": "2024-08-06 10:34:31.154048", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:34:31.150068" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Tuesday 06 August 2024 10:34:31 -0400 (0:00:00.413) 0:01:55.988 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Tuesday 06 August 2024 10:34:31 -0400 (0:00:00.074) 0:01:56.063 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7261, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Tuesday 06 August 2024 10:34:33 -0400 (0:00:01.878) 0:01:57.942 ******** ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.032255", "end": "2024-08-06 10:34:33.479652", "rc": 0, "start": "2024-08-06 10:34:33.447397" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Tuesday 06 August 2024 10:34:33 -0400 (0:00:00.372) 0:01:58.314 ******** ok: [managed_node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Tuesday 06 August 2024 10:34:33 -0400 (0:00:00.067) 0:01:58.382 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Tuesday 06 August 2024 10:34:33 -0400 (0:00:00.060) 0:01:58.442 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Tuesday 06 August 2024 10:34:33 -0400 (0:00:00.061) 0:01:58.504 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Tuesday 06 August 2024 10:34:33 -0400 (0:00:00.059) 0:01:58.563 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Tuesday 06 August 2024 10:34:33 -0400 (0:00:00.060) 0:01:58.623 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Tuesday 06 August 2024 10:34:33 -0400 (0:00:00.058) 0:01:58.682 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Tuesday 06 August 2024 10:34:34 -0400 (0:00:00.059) 0:01:58.742 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Tuesday 06 August 2024 10:34:34 -0400 (0:00:00.060) 0:01:58.802 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 06 August 2024 10:34:34 -0400 (0:00:00.108) 0:01:58.911 ******** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004378", "end": "2024-08-06 10:34:34.426106", "rc": 0, "start": "2024-08-06 10:34:34.421728" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 06 August 2024 10:34:34 -0400 (0:00:00.394) 0:01:59.306 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 06 August 2024 10:34:34 -0400 (0:00:00.083) 0:01:59.389 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 06 August 2024 10:34:34 -0400 (0:00:00.067) 0:01:59.457 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Tuesday 06 August 2024 10:34:34 -0400 (0:00:00.063) 0:01:59.520 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 06 August 2024 10:34:34 -0400 (0:00:00.112) 0:01:59.633 ******** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004291", "end": "2024-08-06 10:34:35.139244", "rc": 0, "start": "2024-08-06 10:34:35.134953" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 06 August 2024 10:34:35 -0400 (0:00:00.332) 0:01:59.966 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 06 August 2024 10:34:35 -0400 (0:00:00.079) 0:02:00.046 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 06 August 2024 10:34:35 -0400 (0:00:00.067) 0:02:00.113 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Tuesday 06 August 2024 10:34:35 -0400 (0:00:00.062) 0:02:00.176 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 06 August 2024 10:34:35 -0400 (0:00:00.116) 0:02:00.293 ******** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004374", "end": "2024-08-06 10:34:35.794768", "rc": 0, "start": "2024-08-06 10:34:35.790394" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 06 August 2024 10:34:35 -0400 (0:00:00.328) 0:02:00.622 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 06 August 2024 10:34:35 -0400 (0:00:00.076) 0:02:00.698 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 06 August 2024 10:34:36 -0400 (0:00:00.067) 0:02:00.766 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Tuesday 06 August 2024 10:34:36 -0400 (0:00:00.061) 0:02:00.827 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 06 August 2024 10:34:36 -0400 (0:00:00.174) 0:02:01.002 ******** ok: [managed_node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.006122", "end": "2024-08-06 10:34:36.512859", "rc": 0, "start": "2024-08-06 10:34:36.506737" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 06 August 2024 10:34:36 -0400 (0:00:00.338) 0:02:01.341 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 06 August 2024 10:34:36 -0400 (0:00:00.064) 0:02:01.406 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 06 August 2024 10:34:36 -0400 (0:00:00.079) 0:02:01.485 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Tuesday 06 August 2024 10:34:36 -0400 (0:00:00.062) 0:02:01.547 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove certificates from hosts] ****************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:99 Tuesday 06 August 2024 10:34:36 -0400 (0:00:00.060) 0:02:01.608 ******** changed: [managed_node1] => (item=/etc/pki/tls/certs/ansible.zhZz6m) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/certs/ansible.zhZz6m", "path": "/etc/pki/tls/certs/ansible.zhZz6m", "state": "absent" } changed: [managed_node1] => (item=/etc/pki/tls/private/ansible.Sq0tET) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/private/ansible.Sq0tET", "path": "/etc/pki/tls/private/ansible.Sq0tET", "state": "absent" } TASK [Copy certificates to hosts] ********************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:107 Tuesday 06 August 2024 10:34:37 -0400 (0:00:00.604) 0:02:02.213 ******** ok: [managed_node1] => (item=/tmp/ansible.zhZz6m) => { "ansible_loop_var": "item", "changed": false, "checksum": "6bf70698a811f3eff7f5b8365d86d2fe8bc1a8bf", "dest": "/tmp/ansible.zhZz6m", "gid": 0, "group": "root", "item": "/tmp/ansible.zhZz6m", "mode": "0600", "owner": "root", "path": "/tmp/ansible.zhZz6m", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1099, "state": "file", "uid": 0 } ok: [managed_node1] => (item=/tmp/ansible.Sq0tET) => { "ansible_loop_var": "item", "changed": false, "checksum": "05980382cb157580eecf1196d46c5b0f60a3c2e2", "dest": "/tmp/ansible.Sq0tET", "gid": 0, "group": "root", "item": "/tmp/ansible.Sq0tET", "mode": "0600", "owner": "root", "path": "/tmp/ansible.Sq0tET", "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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:116 Tuesday 06 August 2024 10:34:38 -0400 (0:00:00.988) 0:02:03.201 ******** ok: [managed_node1] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.zhZz6m", "mssql_tls_private_key": "ansible.Sq0tET" }, "changed": false } TASK [Test with certs on managed nodes] **************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:121 Tuesday 06 August 2024 10:34:38 -0400 (0:00:00.064) 0:02:03.266 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Tuesday 06 August 2024 10:34:39 -0400 (0:00:00.582) 0:02:03.848 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Tuesday 06 August 2024 10:34:39 -0400 (0:00:00.106) 0:02:03.955 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Tuesday 06 August 2024 10:34:39 -0400 (0:00:00.080) 0:02:04.035 ******** ok: [managed_node1] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Tuesday 06 August 2024 10:34:39 -0400 (0:00:00.095) 0:02:04.131 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Tuesday 06 August 2024 10:34:39 -0400 (0:00:00.060) 0:02:04.191 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Tuesday 06 August 2024 10:34:39 -0400 (0:00:00.060) 0:02:04.251 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Tuesday 06 August 2024 10:34:39 -0400 (0:00:00.061) 0:02:04.313 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Tuesday 06 August 2024 10:34:39 -0400 (0:00:00.059) 0:02:04.373 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Tuesday 06 August 2024 10:34:39 -0400 (0:00:00.060) 0:02:04.433 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Tuesday 06 August 2024 10:34:39 -0400 (0:00:00.059) 0:02:04.493 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Tuesday 06 August 2024 10:34:39 -0400 (0:00:00.060) 0:02:04.553 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Tuesday 06 August 2024 10:34:39 -0400 (0:00:00.061) 0:02:04.615 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Tuesday 06 August 2024 10:34:39 -0400 (0:00:00.124) 0:02:04.739 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Tuesday 06 August 2024 10:34:40 -0400 (0:00:00.067) 0:02:04.806 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Tuesday 06 August 2024 10:34:40 -0400 (0:00:00.068) 0:02:04.875 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Tuesday 06 August 2024 10:34:40 -0400 (0:00:00.062) 0:02:04.937 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Tuesday 06 August 2024 10:34:40 -0400 (0:00:00.059) 0:02:04.997 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Tuesday 06 August 2024 10:34:40 -0400 (0:00:00.062) 0:02:05.059 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Tuesday 06 August 2024 10:34:40 -0400 (0:00:00.061) 0:02:05.121 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Tuesday 06 August 2024 10:34:40 -0400 (0:00:00.061) 0:02:05.183 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Tuesday 06 August 2024 10:34:40 -0400 (0:00:00.061) 0:02:05.244 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Tuesday 06 August 2024 10:34:41 -0400 (0:00:01.169) 0:02:06.414 ******** skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Tuesday 06 August 2024 10:34:41 -0400 (0:00:00.306) 0:02:06.720 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Tuesday 06 August 2024 10:34:42 -0400 (0:00:00.064) 0:02:06.785 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Tuesday 06 August 2024 10:34:42 -0400 (0:00:00.068) 0:02:06.853 ******** skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Tuesday 06 August 2024 10:34:42 -0400 (0:00:00.115) 0:02:06.969 ******** ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Tuesday 06 August 2024 10:34:42 -0400 (0:00:00.575) 0:02:07.545 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Tuesday 06 August 2024 10:34:42 -0400 (0:00:00.064) 0:02:07.610 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Tuesday 06 August 2024 10:34:42 -0400 (0:00:00.067) 0:02:07.677 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Tuesday 06 August 2024 10:34:43 -0400 (0:00:00.065) 0:02:07.742 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Tuesday 06 August 2024 10:34:43 -0400 (0:00:00.065) 0:02:07.808 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Tuesday 06 August 2024 10:34:43 -0400 (0:00:00.065) 0:02:07.873 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Tuesday 06 August 2024 10:34:43 -0400 (0:00:00.067) 0:02:07.941 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Tuesday 06 August 2024 10:34:43 -0400 (0:00:00.087) 0:02:08.028 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Tuesday 06 August 2024 10:34:43 -0400 (0:00:00.062) 0:02:08.091 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Tuesday 06 August 2024 10:34:43 -0400 (0:00:00.590) 0:02:08.681 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Tuesday 06 August 2024 10:34:44 -0400 (0:00:00.556) 0:02:09.237 ******** skipping: [managed_node1] => { "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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Tuesday 06 August 2024 10:34:44 -0400 (0:00:00.062) 0:02:09.300 ******** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005235", "end": "2024-08-06 10:34:44.829222", "rc": 0, "start": "2024-08-06 10:34:44.823987" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Tuesday 06 August 2024 10:34:44 -0400 (0:00:00.353) 0:02:09.654 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Tuesday 06 August 2024 10:34:45 -0400 (0:00:00.907) 0:02:10.562 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Tuesday 06 August 2024 10:34:45 -0400 (0:00:00.084) 0:02:10.646 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Tuesday 06 August 2024 10:34:45 -0400 (0:00:00.062) 0:02:10.709 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Tuesday 06 August 2024 10:34:46 -0400 (0:00:00.060) 0:02:10.769 ******** skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Tuesday 06 August 2024 10:34:46 -0400 (0:00:00.074) 0:02:10.844 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Tuesday 06 August 2024 10:34:46 -0400 (0:00:00.059) 0:02:10.903 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Tuesday 06 August 2024 10:34:46 -0400 (0:00:00.060) 0:02:10.964 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Tuesday 06 August 2024 10:34:46 -0400 (0:00:00.602) 0:02:11.567 ******** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 09:43:06 EDT", "ActiveEnterTimestampMonotonic": "18449931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.service systemd-journald.socket systemd-sysctl.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 09:43:04 EDT", "AssertTimestampMonotonic": "17161376", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 09:43:04 EDT", "ConditionTimestampMonotonic": "17161374", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "851", "ExecMainStartTimestamp": "Tue 2024-08-06 09:43:04 EDT", "ExecMainStartTimestampMonotonic": "17162038", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 09:43:04 EDT", "InactiveExitTimestampMonotonic": "17162082", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "851", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service dbus.service system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 09:43:06 EDT", "WatchdogTimestampMonotonic": "18449888", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Tuesday 06 August 2024 10:34:47 -0400 (0:00:00.431) 0:02:11.999 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.084272", "end": "2024-08-06 10:34:47.586210", "rc": 0, "start": "2024-08-06 10:34:47.501938" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Tuesday 06 August 2024 10:34:47 -0400 (0:00:00.416) 0:02:12.415 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Tuesday 06 August 2024 10:34:47 -0400 (0:00:00.064) 0:02:12.480 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Tuesday 06 August 2024 10:34:47 -0400 (0:00:00.064) 0:02:12.545 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Tuesday 06 August 2024 10:34:47 -0400 (0:00:00.062) 0:02:12.607 ******** ok: [managed_node1] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Tuesday 06 August 2024 10:34:48 -0400 (0:00:00.339) 0:02:12.947 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Tuesday 06 August 2024 10:34:48 -0400 (0:00:00.062) 0:02:13.009 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Tuesday 06 August 2024 10:34:48 -0400 (0:00:00.560) 0:02:13.569 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Tuesday 06 August 2024 10:34:48 -0400 (0:00:00.063) 0:02:13.633 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Tuesday 06 August 2024 10:34:48 -0400 (0:00:00.063) 0:02:13.697 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Tuesday 06 August 2024 10:34:49 -0400 (0:00:00.061) 0:02:13.759 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Tuesday 06 August 2024 10:34:49 -0400 (0:00:00.062) 0:02:13.822 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Tuesday 06 August 2024 10:34:49 -0400 (0:00:00.066) 0:02:13.888 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Tuesday 06 August 2024 10:34:49 -0400 (0:00:00.126) 0:02:14.014 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Tuesday 06 August 2024 10:34:49 -0400 (0:00:00.064) 0:02:14.078 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Tuesday 06 August 2024 10:34:49 -0400 (0:00:00.060) 0:02:14.139 ******** ok: [managed_node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005074", "end": "2024-08-06 10:34:49.696663", "rc": 0, "start": "2024-08-06 10:34:49.691589" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Tuesday 06 August 2024 10:34:49 -0400 (0:00:00.383) 0:02:14.522 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Tuesday 06 August 2024 10:34:49 -0400 (0:00:00.065) 0:02:14.588 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Tuesday 06 August 2024 10:34:51 -0400 (0:00:01.198) 0:02:15.787 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Tuesday 06 August 2024 10:34:51 -0400 (0:00:00.068) 0:02:15.855 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Tuesday 06 August 2024 10:34:51 -0400 (0:00:00.062) 0:02:15.918 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Tuesday 06 August 2024 10:34:51 -0400 (0:00:00.062) 0:02:15.980 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Tuesday 06 August 2024 10:34:51 -0400 (0:00:00.125) 0:02:16.105 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:34:51 -0400 (0:00:00.113) 0:02:16.219 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003179", "end": "2024-08-06 10:34:51.742281", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:34:51.739102" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:34:51 -0400 (0:00:00.358) 0:02:16.577 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.120559", "end": "2024-08-06 10:34:52.212411", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:34:52.091852" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:34:52 -0400 (0:00:00.474) 0:02:17.052 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Tuesday 06 August 2024 10:34:52 -0400 (0:00:00.062) 0:02:17.115 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Tuesday 06 August 2024 10:34:52 -0400 (0:00:00.063) 0:02:17.178 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Tuesday 06 August 2024 10:34:52 -0400 (0:00:00.064) 0:02:17.242 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Tuesday 06 August 2024 10:34:52 -0400 (0:00:00.066) 0:02:17.308 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Tuesday 06 August 2024 10:34:52 -0400 (0:00:00.063) 0:02:17.371 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Tuesday 06 August 2024 10:34:52 -0400 (0:00:00.061) 0:02:17.432 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Tuesday 06 August 2024 10:34:52 -0400 (0:00:00.064) 0:02:17.497 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Tuesday 06 August 2024 10:34:52 -0400 (0:00:00.062) 0:02:17.560 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Tuesday 06 August 2024 10:34:52 -0400 (0:00:00.064) 0:02:17.624 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Tuesday 06 August 2024 10:34:52 -0400 (0:00:00.065) 0:02:17.689 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Tuesday 06 August 2024 10:34:53 -0400 (0:00:00.068) 0:02:17.758 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Tuesday 06 August 2024 10:34:53 -0400 (0:00:00.139) 0:02:17.897 ******** changed: [managed_node1] => (item=/tmp/ansible.zhZz6m) => { "ansible_loop_var": "item", "changed": true, "checksum": "6bf70698a811f3eff7f5b8365d86d2fe8bc1a8bf", "dest": "/etc/pki/tls/certs/ansible.zhZz6m", "gid": 994, "group": "mssql", "item": "/tmp/ansible.zhZz6m", "md5sum": "3a0213656ac49b79fc79e420de328ac2", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1099, "src": "/tmp/ansible.zhZz6m", "state": "file", "uid": 996 } changed: [managed_node1] => (item=/tmp/ansible.Sq0tET) => { "ansible_loop_var": "item", "changed": true, "checksum": "05980382cb157580eecf1196d46c5b0f60a3c2e2", "dest": "/etc/pki/tls/private/ansible.Sq0tET", "gid": 994, "group": "mssql", "item": "/tmp/ansible.Sq0tET", "md5sum": "e0626f62831a1d2f0c61ba0cc33337fd", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/tmp/ansible.Sq0tET", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Tuesday 06 August 2024 10:34:53 -0400 (0:00:00.662) 0:02:18.560 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:34:53 -0400 (0:00:00.119) 0:02:18.680 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003312", "end": "2024-08-06 10:34:54.214771", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:34:54.211459" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:34:54 -0400 (0:00:00.364) 0:02:19.045 ******** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed_node1 changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/ansible.zhZz6m" ], "delta": "0:00:00.120542", "end": "2024-08-06 10:34:54.689136", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:34:54.568594" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:34:54 -0400 (0:00:00.482) 0:02:19.527 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Tuesday 06 August 2024 10:34:54 -0400 (0:00:00.069) 0:02:19.597 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:34:54 -0400 (0:00:00.122) 0:02:19.719 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004935", "end": "2024-08-06 10:34:55.233835", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:34:55.228900" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:34:55 -0400 (0:00:00.345) 0:02:20.064 ******** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.Sq0tET" ], "delta": "0:00:00.120202", "end": "2024-08-06 10:34:55.700925", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:34:55.580723" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:34:55 -0400 (0:00:00.481) 0:02:20.545 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Tuesday 06 August 2024 10:34:55 -0400 (0:00:00.130) 0:02:20.676 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:34:56 -0400 (0:00:00.122) 0:02:20.798 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003254", "end": "2024-08-06 10:34:56.343233", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:34:56.339979" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:34:56 -0400 (0:00:00.375) 0:02:21.174 ******** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.123116", "end": "2024-08-06 10:34:56.823208", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:34:56.700092" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:34:56 -0400 (0:00:00.483) 0:02:21.658 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Tuesday 06 August 2024 10:34:56 -0400 (0:00:00.064) 0:02:21.722 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:34:57 -0400 (0:00:00.121) 0:02:21.844 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003315", "end": "2024-08-06 10:34:57.347843", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:34:57.344528" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:34:57 -0400 (0:00:00.330) 0:02:22.175 ******** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.121582", "end": "2024-08-06 10:34:57.807180", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:34:57.685598" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:34:57 -0400 (0:00:00.469) 0:02:22.644 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Tuesday 06 August 2024 10:34:57 -0400 (0:00:00.065) 0:02:22.710 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Tuesday 06 August 2024 10:34:58 -0400 (0:00:00.061) 0:02:22.771 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Tuesday 06 August 2024 10:34:58 -0400 (0:00:00.061) 0:02:22.832 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Tuesday 06 August 2024 10:34:58 -0400 (0:00:00.059) 0:02:22.892 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Tuesday 06 August 2024 10:34:58 -0400 (0:00:00.124) 0:02:23.017 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Tuesday 06 August 2024 10:34:58 -0400 (0:00:00.067) 0:02:23.085 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Tuesday 06 August 2024 10:34:58 -0400 (0:00:00.061) 0:02:23.147 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Tuesday 06 August 2024 10:34:58 -0400 (0:00:00.063) 0:02:23.210 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Tuesday 06 August 2024 10:34:58 -0400 (0:00:00.061) 0:02:23.272 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Tuesday 06 August 2024 10:34:58 -0400 (0:00:00.063) 0:02:23.336 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Tuesday 06 August 2024 10:34:58 -0400 (0:00:00.060) 0:02:23.397 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Tuesday 06 August 2024 10:34:58 -0400 (0:00:00.061) 0:02:23.458 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Tuesday 06 August 2024 10:34:58 -0400 (0:00:00.061) 0:02:23.520 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Tuesday 06 August 2024 10:34:58 -0400 (0:00:00.059) 0:02:23.580 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Tuesday 06 August 2024 10:34:58 -0400 (0:00:00.061) 0:02:23.642 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Tuesday 06 August 2024 10:34:58 -0400 (0:00:00.060) 0:02:23.702 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Tuesday 06 August 2024 10:34:59 -0400 (0:00:00.061) 0:02:23.763 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Tuesday 06 August 2024 10:34:59 -0400 (0:00:00.061) 0:02:23.825 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Tuesday 06 August 2024 10:34:59 -0400 (0:00:00.059) 0:02:23.884 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Tuesday 06 August 2024 10:34:59 -0400 (0:00:00.061) 0:02:23.946 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Tuesday 06 August 2024 10:34:59 -0400 (0:00:00.061) 0:02:24.007 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Tuesday 06 August 2024 10:34:59 -0400 (0:00:00.061) 0:02:24.068 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Tuesday 06 August 2024 10:34:59 -0400 (0:00:00.062) 0:02:24.131 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Tuesday 06 August 2024 10:34:59 -0400 (0:00:00.127) 0:02:24.259 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Tuesday 06 August 2024 10:34:59 -0400 (0:00:00.065) 0:02:24.325 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Tuesday 06 August 2024 10:34:59 -0400 (0:00:00.062) 0:02:24.387 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Tuesday 06 August 2024 10:34:59 -0400 (0:00:00.064) 0:02:24.451 ******** skipping: [managed_node1] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Tuesday 06 August 2024 10:34:59 -0400 (0:00:00.072) 0:02:24.524 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Tuesday 06 August 2024 10:34:59 -0400 (0:00:00.062) 0:02:24.587 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Tuesday 06 August 2024 10:34:59 -0400 (0:00:00.060) 0:02:24.647 ******** skipping: [managed_node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Tuesday 06 August 2024 10:34:59 -0400 (0:00:00.082) 0:02:24.729 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1180 Tuesday 06 August 2024 10:35:00 -0400 (0:00:00.062) 0:02:24.792 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1205 Tuesday 06 August 2024 10:35:00 -0400 (0:00:00.061) 0:02:24.853 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1214 Tuesday 06 August 2024 10:35:00 -0400 (0:00:00.063) 0:02:24.916 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Tuesday 06 August 2024 10:35:00 -0400 (0:00:00.061) 0:02:24.978 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Tuesday 06 August 2024 10:35:00 -0400 (0:00:00.061) 0:02:25.040 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Tuesday 06 August 2024 10:35:00 -0400 (0:00:00.062) 0:02:25.103 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Tuesday 06 August 2024 10:35:00 -0400 (0:00:00.062) 0:02:25.165 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1263 Tuesday 06 August 2024 10:35:00 -0400 (0:00:00.061) 0:02:25.227 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1270 Tuesday 06 August 2024 10:35:00 -0400 (0:00:00.060) 0:02:25.287 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1278 Tuesday 06 August 2024 10:35:00 -0400 (0:00:00.061) 0:02:25.349 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Tuesday 06 August 2024 10:35:00 -0400 (0:00:00.063) 0:02:25.412 ******** skipping: [managed_node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1297 Tuesday 06 August 2024 10:35:00 -0400 (0:00:00.195) 0:02:25.608 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1306 Tuesday 06 August 2024 10:35:00 -0400 (0:00:00.064) 0:02:25.672 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1313 Tuesday 06 August 2024 10:35:00 -0400 (0:00:00.061) 0:02:25.734 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Tuesday 06 August 2024 10:35:01 -0400 (0:00:00.062) 0:02:25.796 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1327 Tuesday 06 August 2024 10:35:01 -0400 (0:00:00.064) 0:02:25.860 ******** skipping: [managed_node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1340 Tuesday 06 August 2024 10:35:01 -0400 (0:00:00.069) 0:02:25.930 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1352 Tuesday 06 August 2024 10:35:01 -0400 (0:00:00.062) 0:02:25.992 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Tuesday 06 August 2024 10:35:01 -0400 (0:00:00.060) 0:02:26.053 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Tuesday 06 August 2024 10:35:01 -0400 (0:00:00.066) 0:02:26.119 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1372 Tuesday 06 August 2024 10:35:01 -0400 (0:00:00.064) 0:02:26.184 ******** changed: [managed_node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Tuesday 06 August 2024 10:35:01 -0400 (0:00:00.480) 0:02:26.664 ******** changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 10:34:28 EDT", "ActiveEnterTimestampMonotonic": "3100920887", "ActiveExitTimestamp": "Tue 2024-08-06 10:34:28 EDT", "ActiveExitTimestampMonotonic": "3100674393", "ActiveState": "active", "After": "auditd.service network.target -.mount systemd-journald.socket basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 10:34:28 EDT", "AssertTimestampMonotonic": "3100920128", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 10:34:28 EDT", "ConditionTimestampMonotonic": "3100920126", "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": "26244", "ExecMainStartTimestamp": "Tue 2024-08-06 10:34:28 EDT", "ExecMainStartTimestampMonotonic": "3100920817", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 10:34:28 EDT] ; stop_time=[n/a] ; pid=26244 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 10:34:28 EDT", "InactiveEnterTimestampMonotonic": "3100918157", "InactiveExitTimestamp": "Tue 2024-08-06 10:34:28 EDT", "InactiveExitTimestampMonotonic": "3100920887", "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": "26244", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 10:34:28 EDT", "WatchdogTimestampMonotonic": "3100920864", "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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1385 Tuesday 06 August 2024 10:35:02 -0400 (0:00:00.832) 0:02:27.497 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1392 Tuesday 06 August 2024 10:35:02 -0400 (0:00:00.062) 0:02:27.559 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:131 Tuesday 06 August 2024 10:35:02 -0400 (0:00:00.062) 0:02:27.622 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed_node1 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Tuesday 06 August 2024 10:35:03 -0400 (0:00:00.402) 0:02:28.024 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Tuesday 06 August 2024 10:35:03 -0400 (0:00:00.063) 0:02:28.088 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Tuesday 06 August 2024 10:35:03 -0400 (0:00:00.062) 0:02:28.151 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Tuesday 06 August 2024 10:35:03 -0400 (0:00:00.061) 0:02:28.212 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Tuesday 06 August 2024 10:35:03 -0400 (0:00:00.062) 0:02:28.275 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Tuesday 06 August 2024 10:35:03 -0400 (0:00:00.061) 0:02:28.337 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Tuesday 06 August 2024 10:35:03 -0400 (0:00:00.060) 0:02:28.397 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Tuesday 06 August 2024 10:35:03 -0400 (0:00:00.061) 0:02:28.459 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Tuesday 06 August 2024 10:35:03 -0400 (0:00:00.060) 0:02:28.519 ******** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Tuesday 06 August 2024 10:35:03 -0400 (0:00:00.111) 0:02:28.631 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 10:35:02 EDT", "ActiveEnterTimestampMonotonic": "3134993506", "ActiveExitTimestamp": "Tue 2024-08-06 10:35:02 EDT", "ActiveExitTimestampMonotonic": "3134751145", "ActiveState": "active", "After": "auditd.service network.target -.mount systemd-journald.socket basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 10:35:02 EDT", "AssertTimestampMonotonic": "3134992621", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 10:35:02 EDT", "ConditionTimestampMonotonic": "3134992620", "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": "28658", "ExecMainStartTimestamp": "Tue 2024-08-06 10:35:02 EDT", "ExecMainStartTimestampMonotonic": "3134993448", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 10:35:02 EDT] ; stop_time=[n/a] ; pid=28658 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 10:35:02 EDT", "InactiveEnterTimestampMonotonic": "3134991517", "InactiveExitTimestamp": "Tue 2024-08-06 10:35:02 EDT", "InactiveExitTimestampMonotonic": "3134993506", "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": "28658", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 10:35:02 EDT", "WatchdogTimestampMonotonic": "3134993485", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Tuesday 06 August 2024 10:35:04 -0400 (0:00:00.798) 0:02:29.429 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004078", "end": "2024-08-06 10:35:05.024805", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:35:05.020727" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Tuesday 06 August 2024 10:35:05 -0400 (0:00:00.429) 0:02:29.859 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.021003", "end": "2024-08-06 10:35:05.527691", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:35:05.506688" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Tuesday 06 August 2024 10:35:05 -0400 (0:00:00.533) 0:02:30.393 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Tuesday 06 August 2024 10:35:05 -0400 (0:00:00.076) 0:02:30.469 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7351, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Tuesday 06 August 2024 10:35:07 -0400 (0:00:01.793) 0:02:32.262 ******** ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.032752", "end": "2024-08-06 10:35:07.799341", "rc": 0, "start": "2024-08-06 10:35:07.766589" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Tuesday 06 August 2024 10:35:07 -0400 (0:00:00.377) 0:02:32.640 ******** ok: [managed_node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Tuesday 06 August 2024 10:35:07 -0400 (0:00:00.067) 0:02:32.708 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Tuesday 06 August 2024 10:35:08 -0400 (0:00:00.062) 0:02:32.770 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Tuesday 06 August 2024 10:35:08 -0400 (0:00:00.122) 0:02:32.893 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Tuesday 06 August 2024 10:35:08 -0400 (0:00:00.063) 0:02:32.957 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Tuesday 06 August 2024 10:35:08 -0400 (0:00:00.062) 0:02:33.020 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Tuesday 06 August 2024 10:35:08 -0400 (0:00:00.060) 0:02:33.081 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Tuesday 06 August 2024 10:35:08 -0400 (0:00:00.061) 0:02:33.143 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Tuesday 06 August 2024 10:35:08 -0400 (0:00:00.061) 0:02:33.204 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 06 August 2024 10:35:08 -0400 (0:00:00.110) 0:02:33.315 ******** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004327", "end": "2024-08-06 10:35:08.832109", "rc": 0, "start": "2024-08-06 10:35:08.827782" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.zhZz6m TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 06 August 2024 10:35:08 -0400 (0:00:00.347) 0:02:33.662 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 06 August 2024 10:35:09 -0400 (0:00:00.081) 0:02:33.744 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.zhZz6m] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 06 August 2024 10:35:09 -0400 (0:00:00.068) 0:02:33.812 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Tuesday 06 August 2024 10:35:09 -0400 (0:00:00.064) 0:02:33.877 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 06 August 2024 10:35:09 -0400 (0:00:00.113) 0:02:33.991 ******** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004212", "end": "2024-08-06 10:35:09.499729", "rc": 0, "start": "2024-08-06 10:35:09.495517" } STDOUT: tlskey = /etc/pki/tls/private/ansible.Sq0tET TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 06 August 2024 10:35:09 -0400 (0:00:00.336) 0:02:34.327 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 06 August 2024 10:35:09 -0400 (0:00:00.081) 0:02:34.409 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.Sq0tET] *************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 06 August 2024 10:35:09 -0400 (0:00:00.067) 0:02:34.476 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Tuesday 06 August 2024 10:35:09 -0400 (0:00:00.131) 0:02:34.608 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 06 August 2024 10:35:09 -0400 (0:00:00.121) 0:02:34.730 ******** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004237", "end": "2024-08-06 10:35:10.241223", "rc": 0, "start": "2024-08-06 10:35:10.236986" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 06 August 2024 10:35:10 -0400 (0:00:00.337) 0:02:35.067 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 06 August 2024 10:35:10 -0400 (0:00:00.079) 0:02:35.146 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 06 August 2024 10:35:10 -0400 (0:00:00.068) 0:02:35.214 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Tuesday 06 August 2024 10:35:10 -0400 (0:00:00.062) 0:02:35.277 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 06 August 2024 10:35:10 -0400 (0:00:00.121) 0:02:35.399 ******** ok: [managed_node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004306", "end": "2024-08-06 10:35:10.913670", "rc": 0, "start": "2024-08-06 10:35:10.909364" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 06 August 2024 10:35:11 -0400 (0:00:00.345) 0:02:35.744 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 06 August 2024 10:35:11 -0400 (0:00:00.066) 0:02:35.811 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 06 August 2024 10:35:11 -0400 (0:00:00.081) 0:02:35.892 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Tuesday 06 August 2024 10:35:11 -0400 (0:00:00.064) 0:02:35.956 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:137 Tuesday 06 August 2024 10:35:11 -0400 (0:00:00.060) 0:02:36.016 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/check_header.yml for managed_node1 TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/check_header.yml:4 Tuesday 06 August 2024 10:35:11 -0400 (0:00:00.412) 0:02:36.428 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003180", "end": "2024-08-06 10:35:12.065510", "rc": 0, "start": "2024-08-06 10:35:12.062330" } 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.zhZz6m tlskey = /etc/pki/tls/private/ansible.Sq0tET tlsprotocols = 1.2 forceencryption = 1 TASK [Disable TLS encryption] ************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:141 Tuesday 06 August 2024 10:35:12 -0400 (0:00:00.475) 0:02:36.904 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Tuesday 06 August 2024 10:35:12 -0400 (0:00:00.648) 0:02:37.552 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Tuesday 06 August 2024 10:35:12 -0400 (0:00:00.104) 0:02:37.657 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Tuesday 06 August 2024 10:35:13 -0400 (0:00:00.083) 0:02:37.740 ******** ok: [managed_node1] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Tuesday 06 August 2024 10:35:13 -0400 (0:00:00.254) 0:02:37.994 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Tuesday 06 August 2024 10:35:13 -0400 (0:00:00.064) 0:02:38.059 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Tuesday 06 August 2024 10:35:13 -0400 (0:00:00.062) 0:02:38.121 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Tuesday 06 August 2024 10:35:13 -0400 (0:00:00.063) 0:02:38.185 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Tuesday 06 August 2024 10:35:13 -0400 (0:00:00.063) 0:02:38.249 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Tuesday 06 August 2024 10:35:13 -0400 (0:00:00.060) 0:02:38.310 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Tuesday 06 August 2024 10:35:13 -0400 (0:00:00.062) 0:02:38.373 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Tuesday 06 August 2024 10:35:13 -0400 (0:00:00.060) 0:02:38.434 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Tuesday 06 August 2024 10:35:13 -0400 (0:00:00.062) 0:02:38.496 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Tuesday 06 August 2024 10:35:13 -0400 (0:00:00.060) 0:02:38.557 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Tuesday 06 August 2024 10:35:13 -0400 (0:00:00.064) 0:02:38.622 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Tuesday 06 August 2024 10:35:13 -0400 (0:00:00.070) 0:02:38.692 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Tuesday 06 August 2024 10:35:14 -0400 (0:00:00.060) 0:02:38.753 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Tuesday 06 August 2024 10:35:14 -0400 (0:00:00.062) 0:02:38.816 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Tuesday 06 August 2024 10:35:14 -0400 (0:00:00.061) 0:02:38.877 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Tuesday 06 August 2024 10:35:14 -0400 (0:00:00.062) 0:02:38.939 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Tuesday 06 August 2024 10:35:14 -0400 (0:00:00.064) 0:02:39.004 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Tuesday 06 August 2024 10:35:14 -0400 (0:00:00.060) 0:02:39.065 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Tuesday 06 August 2024 10:35:15 -0400 (0:00:01.286) 0:02:40.351 ******** skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Tuesday 06 August 2024 10:35:15 -0400 (0:00:00.171) 0:02:40.522 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Tuesday 06 August 2024 10:35:15 -0400 (0:00:00.064) 0:02:40.586 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Tuesday 06 August 2024 10:35:15 -0400 (0:00:00.067) 0:02:40.654 ******** skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Tuesday 06 August 2024 10:35:16 -0400 (0:00:00.121) 0:02:40.776 ******** ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Tuesday 06 August 2024 10:35:16 -0400 (0:00:00.526) 0:02:41.302 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Tuesday 06 August 2024 10:35:16 -0400 (0:00:00.064) 0:02:41.366 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Tuesday 06 August 2024 10:35:16 -0400 (0:00:00.066) 0:02:41.433 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Tuesday 06 August 2024 10:35:16 -0400 (0:00:00.065) 0:02:41.498 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Tuesday 06 August 2024 10:35:16 -0400 (0:00:00.065) 0:02:41.563 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Tuesday 06 August 2024 10:35:16 -0400 (0:00:00.144) 0:02:41.707 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Tuesday 06 August 2024 10:35:17 -0400 (0:00:00.070) 0:02:41.778 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Tuesday 06 August 2024 10:35:17 -0400 (0:00:00.091) 0:02:41.870 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Tuesday 06 August 2024 10:35:17 -0400 (0:00:00.062) 0:02:41.933 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Tuesday 06 August 2024 10:35:17 -0400 (0:00:00.591) 0:02:42.524 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Tuesday 06 August 2024 10:35:18 -0400 (0:00:00.559) 0:02:43.084 ******** skipping: [managed_node1] => { "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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Tuesday 06 August 2024 10:35:18 -0400 (0:00:00.062) 0:02:43.147 ******** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005240", "end": "2024-08-06 10:35:18.652134", "rc": 0, "start": "2024-08-06 10:35:18.646894" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Tuesday 06 August 2024 10:35:18 -0400 (0:00:00.331) 0:02:43.478 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Tuesday 06 August 2024 10:35:19 -0400 (0:00:00.902) 0:02:44.380 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Tuesday 06 August 2024 10:35:19 -0400 (0:00:00.088) 0:02:44.468 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Tuesday 06 August 2024 10:35:19 -0400 (0:00:00.134) 0:02:44.603 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Tuesday 06 August 2024 10:35:19 -0400 (0:00:00.064) 0:02:44.668 ******** skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Tuesday 06 August 2024 10:35:20 -0400 (0:00:00.077) 0:02:44.746 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Tuesday 06 August 2024 10:35:20 -0400 (0:00:00.061) 0:02:44.808 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Tuesday 06 August 2024 10:35:20 -0400 (0:00:00.064) 0:02:44.872 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Tuesday 06 August 2024 10:35:20 -0400 (0:00:00.569) 0:02:45.442 ******** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 09:43:06 EDT", "ActiveEnterTimestampMonotonic": "18449931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.service systemd-journald.socket systemd-sysctl.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 09:43:04 EDT", "AssertTimestampMonotonic": "17161376", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 09:43:04 EDT", "ConditionTimestampMonotonic": "17161374", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "851", "ExecMainStartTimestamp": "Tue 2024-08-06 09:43:04 EDT", "ExecMainStartTimestampMonotonic": "17162038", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 09:43:04 EDT", "InactiveExitTimestampMonotonic": "17162082", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "851", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service dbus.service system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 09:43:06 EDT", "WatchdogTimestampMonotonic": "18449888", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Tuesday 06 August 2024 10:35:21 -0400 (0:00:00.461) 0:02:45.903 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.084691", "end": "2024-08-06 10:35:21.499265", "rc": 0, "start": "2024-08-06 10:35:21.414574" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Tuesday 06 August 2024 10:35:21 -0400 (0:00:00.428) 0:02:46.332 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Tuesday 06 August 2024 10:35:21 -0400 (0:00:00.065) 0:02:46.397 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Tuesday 06 August 2024 10:35:21 -0400 (0:00:00.066) 0:02:46.464 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Tuesday 06 August 2024 10:35:21 -0400 (0:00:00.063) 0:02:46.527 ******** ok: [managed_node1] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Tuesday 06 August 2024 10:35:22 -0400 (0:00:00.336) 0:02:46.864 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Tuesday 06 August 2024 10:35:22 -0400 (0:00:00.062) 0:02:46.926 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Tuesday 06 August 2024 10:35:22 -0400 (0:00:00.565) 0:02:47.491 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Tuesday 06 August 2024 10:35:22 -0400 (0:00:00.065) 0:02:47.557 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Tuesday 06 August 2024 10:35:22 -0400 (0:00:00.067) 0:02:47.624 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Tuesday 06 August 2024 10:35:22 -0400 (0:00:00.064) 0:02:47.688 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Tuesday 06 August 2024 10:35:23 -0400 (0:00:00.065) 0:02:47.754 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Tuesday 06 August 2024 10:35:23 -0400 (0:00:00.067) 0:02:47.822 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Tuesday 06 August 2024 10:35:23 -0400 (0:00:00.063) 0:02:47.885 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Tuesday 06 August 2024 10:35:23 -0400 (0:00:00.063) 0:02:47.948 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Tuesday 06 August 2024 10:35:23 -0400 (0:00:00.060) 0:02:48.009 ******** ok: [managed_node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005027", "end": "2024-08-06 10:35:23.524341", "rc": 0, "start": "2024-08-06 10:35:23.519314" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Tuesday 06 August 2024 10:35:23 -0400 (0:00:00.342) 0:02:48.351 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Tuesday 06 August 2024 10:35:23 -0400 (0:00:00.066) 0:02:48.418 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Tuesday 06 August 2024 10:35:25 -0400 (0:00:01.363) 0:02:49.781 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Tuesday 06 August 2024 10:35:25 -0400 (0:00:00.071) 0:02:49.852 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Tuesday 06 August 2024 10:35:25 -0400 (0:00:00.066) 0:02:49.919 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Tuesday 06 August 2024 10:35:25 -0400 (0:00:00.065) 0:02:49.984 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Tuesday 06 August 2024 10:35:25 -0400 (0:00:00.066) 0:02:50.051 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:35:25 -0400 (0:00:00.112) 0:02:50.164 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003172", "end": "2024-08-06 10:35:25.672471", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:35:25.669299" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:35:25 -0400 (0:00:00.335) 0:02:50.500 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.123087", "end": "2024-08-06 10:35:26.140333", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:35:26.017246" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:35:26 -0400 (0:00:00.482) 0:02:50.982 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Tuesday 06 August 2024 10:35:26 -0400 (0:00:00.062) 0:02:51.044 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Tuesday 06 August 2024 10:35:26 -0400 (0:00:00.063) 0:02:51.108 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Tuesday 06 August 2024 10:35:26 -0400 (0:00:00.064) 0:02:51.173 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Tuesday 06 August 2024 10:35:26 -0400 (0:00:00.062) 0:02:51.235 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Tuesday 06 August 2024 10:35:26 -0400 (0:00:00.141) 0:02:51.376 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Tuesday 06 August 2024 10:35:26 -0400 (0:00:00.065) 0:02:51.442 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Tuesday 06 August 2024 10:35:26 -0400 (0:00:00.065) 0:02:51.507 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Tuesday 06 August 2024 10:35:26 -0400 (0:00:00.064) 0:02:51.571 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Tuesday 06 August 2024 10:35:26 -0400 (0:00:00.062) 0:02:51.634 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Tuesday 06 August 2024 10:35:26 -0400 (0:00:00.064) 0:02:51.698 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Tuesday 06 August 2024 10:35:27 -0400 (0:00:00.064) 0:02:51.763 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Tuesday 06 August 2024 10:35:27 -0400 (0:00:00.066) 0:02:51.830 ******** skipping: [managed_node1] => (item=/tmp/ansible.zhZz6m) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.zhZz6m", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ansible.Sq0tET) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.Sq0tET", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Tuesday 06 August 2024 10:35:27 -0400 (0:00:00.079) 0:02:51.909 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:35:27 -0400 (0:00:00.113) 0:02:52.023 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003102", "end": "2024-08-06 10:35:27.538492", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:35:27.535390" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.zhZz6m TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:35:27 -0400 (0:00:00.345) 0:02:52.368 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlscert] ***** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:35:27 -0400 (0:00:00.074) 0:02:52.442 ******** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed_node1 changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.119950", "end": "2024-08-06 10:35:28.084582", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:35:27.964632" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Tuesday 06 August 2024 10:35:28 -0400 (0:00:00.474) 0:02:52.917 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:35:28 -0400 (0:00:00.118) 0:02:53.035 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003221", "end": "2024-08-06 10:35:28.555000", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:35:28.551779" } STDOUT: tlskey = /etc/pki/tls/private/ansible.Sq0tET TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:35:28 -0400 (0:00:00.347) 0:02:53.383 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:35:28 -0400 (0:00:00.074) 0:02:53.457 ******** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.119044", "end": "2024-08-06 10:35:29.089252", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:35:28.970208" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Tuesday 06 August 2024 10:35:29 -0400 (0:00:00.465) 0:02:53.923 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:35:29 -0400 (0:00:00.122) 0:02:54.046 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003374", "end": "2024-08-06 10:35:29.554144", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:35:29.550770" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:35:29 -0400 (0:00:00.336) 0:02:54.382 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlsprotocols] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:35:29 -0400 (0:00:00.072) 0:02:54.454 ******** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.121319", "end": "2024-08-06 10:35:30.079643", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:35:29.958324" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Tuesday 06 August 2024 10:35:30 -0400 (0:00:00.461) 0:02:54.916 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:35:30 -0400 (0:00:00.125) 0:02:55.041 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003197", "end": "2024-08-06 10:35:30.553520", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:35:30.550323" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:35:30 -0400 (0:00:00.339) 0:02:55.381 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network forceencryption] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:35:30 -0400 (0:00:00.072) 0:02:55.454 ******** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.121711", "end": "2024-08-06 10:35:31.088464", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:35:30.966753" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Tuesday 06 August 2024 10:35:31 -0400 (0:00:00.473) 0:02:55.928 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Tuesday 06 August 2024 10:35:31 -0400 (0:00:00.065) 0:02:55.993 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Tuesday 06 August 2024 10:35:31 -0400 (0:00:00.062) 0:02:56.056 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Tuesday 06 August 2024 10:35:31 -0400 (0:00:00.064) 0:02:56.120 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Tuesday 06 August 2024 10:35:31 -0400 (0:00:00.066) 0:02:56.187 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Tuesday 06 August 2024 10:35:31 -0400 (0:00:00.064) 0:02:56.251 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Tuesday 06 August 2024 10:35:31 -0400 (0:00:00.064) 0:02:56.315 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Tuesday 06 August 2024 10:35:31 -0400 (0:00:00.061) 0:02:56.377 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Tuesday 06 August 2024 10:35:31 -0400 (0:00:00.063) 0:02:56.441 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Tuesday 06 August 2024 10:35:31 -0400 (0:00:00.063) 0:02:56.505 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Tuesday 06 August 2024 10:35:31 -0400 (0:00:00.060) 0:02:56.565 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Tuesday 06 August 2024 10:35:31 -0400 (0:00:00.062) 0:02:56.628 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Tuesday 06 August 2024 10:35:31 -0400 (0:00:00.061) 0:02:56.690 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Tuesday 06 August 2024 10:35:32 -0400 (0:00:00.064) 0:02:56.754 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Tuesday 06 August 2024 10:35:32 -0400 (0:00:00.062) 0:02:56.816 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Tuesday 06 August 2024 10:35:32 -0400 (0:00:00.063) 0:02:56.880 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Tuesday 06 August 2024 10:35:32 -0400 (0:00:00.063) 0:02:56.944 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Tuesday 06 August 2024 10:35:32 -0400 (0:00:00.062) 0:02:57.006 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Tuesday 06 August 2024 10:35:32 -0400 (0:00:00.143) 0:02:57.150 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Tuesday 06 August 2024 10:35:32 -0400 (0:00:00.065) 0:02:57.215 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Tuesday 06 August 2024 10:35:32 -0400 (0:00:00.065) 0:02:57.281 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Tuesday 06 August 2024 10:35:32 -0400 (0:00:00.062) 0:02:57.343 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Tuesday 06 August 2024 10:35:32 -0400 (0:00:00.065) 0:02:57.409 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Tuesday 06 August 2024 10:35:32 -0400 (0:00:00.063) 0:02:57.473 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Tuesday 06 August 2024 10:35:32 -0400 (0:00:00.061) 0:02:57.534 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Tuesday 06 August 2024 10:35:32 -0400 (0:00:00.063) 0:02:57.597 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Tuesday 06 August 2024 10:35:32 -0400 (0:00:00.062) 0:02:57.659 ******** skipping: [managed_node1] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Tuesday 06 August 2024 10:35:32 -0400 (0:00:00.075) 0:02:57.734 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Tuesday 06 August 2024 10:35:33 -0400 (0:00:00.063) 0:02:57.798 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Tuesday 06 August 2024 10:35:33 -0400 (0:00:00.062) 0:02:57.861 ******** skipping: [managed_node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Tuesday 06 August 2024 10:35:33 -0400 (0:00:00.079) 0:02:57.940 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1180 Tuesday 06 August 2024 10:35:33 -0400 (0:00:00.062) 0:02:58.002 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1205 Tuesday 06 August 2024 10:35:33 -0400 (0:00:00.062) 0:02:58.065 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1214 Tuesday 06 August 2024 10:35:33 -0400 (0:00:00.060) 0:02:58.126 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Tuesday 06 August 2024 10:35:33 -0400 (0:00:00.061) 0:02:58.188 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Tuesday 06 August 2024 10:35:33 -0400 (0:00:00.063) 0:02:58.251 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Tuesday 06 August 2024 10:35:33 -0400 (0:00:00.060) 0:02:58.311 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Tuesday 06 August 2024 10:35:33 -0400 (0:00:00.144) 0:02:58.456 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1263 Tuesday 06 August 2024 10:35:33 -0400 (0:00:00.065) 0:02:58.522 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1270 Tuesday 06 August 2024 10:35:33 -0400 (0:00:00.064) 0:02:58.586 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1278 Tuesday 06 August 2024 10:35:33 -0400 (0:00:00.062) 0:02:58.649 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Tuesday 06 August 2024 10:35:33 -0400 (0:00:00.064) 0:02:58.713 ******** skipping: [managed_node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1297 Tuesday 06 August 2024 10:35:34 -0400 (0:00:00.078) 0:02:58.791 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1306 Tuesday 06 August 2024 10:35:34 -0400 (0:00:00.061) 0:02:58.853 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1313 Tuesday 06 August 2024 10:35:34 -0400 (0:00:00.064) 0:02:58.917 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Tuesday 06 August 2024 10:35:34 -0400 (0:00:00.062) 0:02:58.980 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1327 Tuesday 06 August 2024 10:35:34 -0400 (0:00:00.065) 0:02:59.045 ******** skipping: [managed_node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1340 Tuesday 06 August 2024 10:35:34 -0400 (0:00:00.072) 0:02:59.118 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1352 Tuesday 06 August 2024 10:35:34 -0400 (0:00:00.060) 0:02:59.179 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Tuesday 06 August 2024 10:35:34 -0400 (0:00:00.063) 0:02:59.242 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Tuesday 06 August 2024 10:35:34 -0400 (0:00:00.062) 0:02:59.304 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1372 Tuesday 06 August 2024 10:35:34 -0400 (0:00:00.064) 0:02:59.369 ******** changed: [managed_node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Tuesday 06 August 2024 10:35:35 -0400 (0:00:00.415) 0:02:59.784 ******** changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 10:35:02 EDT", "ActiveEnterTimestampMonotonic": "3134993506", "ActiveExitTimestamp": "Tue 2024-08-06 10:35:02 EDT", "ActiveExitTimestampMonotonic": "3134751145", "ActiveState": "active", "After": "auditd.service network.target -.mount systemd-journald.socket basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 10:35:02 EDT", "AssertTimestampMonotonic": "3134992621", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 10:35:02 EDT", "ConditionTimestampMonotonic": "3134992620", "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": "28658", "ExecMainStartTimestamp": "Tue 2024-08-06 10:35:02 EDT", "ExecMainStartTimestampMonotonic": "3134993448", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 10:35:02 EDT] ; stop_time=[n/a] ; pid=28658 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 10:35:02 EDT", "InactiveEnterTimestampMonotonic": "3134991517", "InactiveExitTimestamp": "Tue 2024-08-06 10:35:02 EDT", "InactiveExitTimestampMonotonic": "3134993506", "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": "28658", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 10:35:02 EDT", "WatchdogTimestampMonotonic": "3134993485", "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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1385 Tuesday 06 August 2024 10:35:36 -0400 (0:00:01.561) 0:03:01.346 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1392 Tuesday 06 August 2024 10:35:36 -0400 (0:00:00.065) 0:03:01.412 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:147 Tuesday 06 August 2024 10:35:36 -0400 (0:00:00.062) 0:03:01.474 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed_node1 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Tuesday 06 August 2024 10:35:37 -0400 (0:00:00.460) 0:03:01.934 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Tuesday 06 August 2024 10:35:37 -0400 (0:00:00.066) 0:03:02.001 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Tuesday 06 August 2024 10:35:37 -0400 (0:00:00.064) 0:03:02.065 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Tuesday 06 August 2024 10:35:37 -0400 (0:00:00.064) 0:03:02.129 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Tuesday 06 August 2024 10:35:37 -0400 (0:00:00.066) 0:03:02.196 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Tuesday 06 August 2024 10:35:37 -0400 (0:00:00.063) 0:03:02.259 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Tuesday 06 August 2024 10:35:37 -0400 (0:00:00.152) 0:03:02.411 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Tuesday 06 August 2024 10:35:37 -0400 (0:00:00.069) 0:03:02.481 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Tuesday 06 August 2024 10:35:37 -0400 (0:00:00.066) 0:03:02.547 ******** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Tuesday 06 August 2024 10:35:37 -0400 (0:00:00.115) 0:03:02.663 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 10:35:36 EDT", "ActiveEnterTimestampMonotonic": "3168844374", "ActiveExitTimestamp": "Tue 2024-08-06 10:35:35 EDT", "ActiveExitTimestampMonotonic": "3167798346", "ActiveState": "active", "After": "auditd.service network.target -.mount systemd-journald.socket basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 10:35:36 EDT", "AssertTimestampMonotonic": "3168843605", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 10:35:36 EDT", "ConditionTimestampMonotonic": "3168843604", "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": "30778", "ExecMainStartTimestamp": "Tue 2024-08-06 10:35:36 EDT", "ExecMainStartTimestampMonotonic": "3168844293", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 10:35:36 EDT] ; stop_time=[n/a] ; pid=30778 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 10:35:36 EDT", "InactiveEnterTimestampMonotonic": "3168842849", "InactiveExitTimestamp": "Tue 2024-08-06 10:35:36 EDT", "InactiveExitTimestampMonotonic": "3168844374", "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": "30778", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 10:35:36 EDT", "WatchdogTimestampMonotonic": "3168844350", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Tuesday 06 August 2024 10:35:38 -0400 (0:00:00.674) 0:03:03.337 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004060", "end": "2024-08-06 10:35:38.936864", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:35:38.932804" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Tuesday 06 August 2024 10:35:39 -0400 (0:00:00.434) 0:03:03.772 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004683", "end": "2024-08-06 10:35:39.421669", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:35:39.416986" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Tuesday 06 August 2024 10:35:39 -0400 (0:00:00.496) 0:03:04.269 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Tuesday 06 August 2024 10:35:39 -0400 (0:00:00.078) 0:03:04.347 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7261, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Tuesday 06 August 2024 10:35:41 -0400 (0:00:01.768) 0:03:06.115 ******** ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.036508", "end": "2024-08-06 10:35:41.663971", "rc": 0, "start": "2024-08-06 10:35:41.627463" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Tuesday 06 August 2024 10:35:41 -0400 (0:00:00.383) 0:03:06.499 ******** ok: [managed_node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Tuesday 06 August 2024 10:35:41 -0400 (0:00:00.067) 0:03:06.566 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Tuesday 06 August 2024 10:35:41 -0400 (0:00:00.151) 0:03:06.718 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Tuesday 06 August 2024 10:35:42 -0400 (0:00:00.064) 0:03:06.782 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Tuesday 06 August 2024 10:35:42 -0400 (0:00:00.064) 0:03:06.847 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Tuesday 06 August 2024 10:35:42 -0400 (0:00:00.064) 0:03:06.911 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Tuesday 06 August 2024 10:35:42 -0400 (0:00:00.062) 0:03:06.974 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Tuesday 06 August 2024 10:35:42 -0400 (0:00:00.064) 0:03:07.039 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Tuesday 06 August 2024 10:35:42 -0400 (0:00:00.062) 0:03:07.101 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 06 August 2024 10:35:42 -0400 (0:00:00.113) 0:03:07.215 ******** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004271", "end": "2024-08-06 10:35:42.721760", "rc": 0, "start": "2024-08-06 10:35:42.717489" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 06 August 2024 10:35:42 -0400 (0:00:00.334) 0:03:07.549 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 06 August 2024 10:35:42 -0400 (0:00:00.080) 0:03:07.630 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 06 August 2024 10:35:42 -0400 (0:00:00.071) 0:03:07.701 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Tuesday 06 August 2024 10:35:43 -0400 (0:00:00.063) 0:03:07.765 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 06 August 2024 10:35:43 -0400 (0:00:00.116) 0:03:07.881 ******** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004271", "end": "2024-08-06 10:35:43.383384", "rc": 0, "start": "2024-08-06 10:35:43.379113" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 06 August 2024 10:35:43 -0400 (0:00:00.335) 0:03:08.216 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 06 August 2024 10:35:43 -0400 (0:00:00.083) 0:03:08.300 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 06 August 2024 10:35:43 -0400 (0:00:00.156) 0:03:08.457 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Tuesday 06 August 2024 10:35:43 -0400 (0:00:00.068) 0:03:08.526 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 06 August 2024 10:35:43 -0400 (0:00:00.122) 0:03:08.648 ******** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004209", "end": "2024-08-06 10:35:44.167917", "rc": 0, "start": "2024-08-06 10:35:44.163708" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 06 August 2024 10:35:44 -0400 (0:00:00.348) 0:03:08.997 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 06 August 2024 10:35:44 -0400 (0:00:00.082) 0:03:09.079 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 06 August 2024 10:35:44 -0400 (0:00:00.069) 0:03:09.149 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Tuesday 06 August 2024 10:35:44 -0400 (0:00:00.067) 0:03:09.216 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 06 August 2024 10:35:44 -0400 (0:00:00.124) 0:03:09.340 ******** ok: [managed_node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005646", "end": "2024-08-06 10:35:44.854582", "rc": 0, "start": "2024-08-06 10:35:44.848936" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 06 August 2024 10:35:44 -0400 (0:00:00.343) 0:03:09.684 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 06 August 2024 10:35:45 -0400 (0:00:00.068) 0:03:09.752 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 06 August 2024 10:35:45 -0400 (0:00:00.084) 0:03:09.836 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Tuesday 06 August 2024 10:35:45 -0400 (0:00:00.066) 0:03:09.903 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test with certs created by the certificate role] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:154 Tuesday 06 August 2024 10:35:45 -0400 (0:00:00.063) 0:03:09.966 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Tuesday 06 August 2024 10:35:46 -0400 (0:00:01.076) 0:03:11.043 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Tuesday 06 August 2024 10:35:46 -0400 (0:00:00.108) 0:03:11.151 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Tuesday 06 August 2024 10:35:46 -0400 (0:00:00.085) 0:03:11.236 ******** ok: [managed_node1] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Tuesday 06 August 2024 10:35:46 -0400 (0:00:00.095) 0:03:11.332 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Tuesday 06 August 2024 10:35:46 -0400 (0:00:00.164) 0:03:11.496 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Tuesday 06 August 2024 10:35:46 -0400 (0:00:00.067) 0:03:11.564 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Tuesday 06 August 2024 10:35:46 -0400 (0:00:00.063) 0:03:11.628 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Tuesday 06 August 2024 10:35:46 -0400 (0:00:00.064) 0:03:11.693 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Tuesday 06 August 2024 10:35:47 -0400 (0:00:00.062) 0:03:11.755 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Tuesday 06 August 2024 10:35:47 -0400 (0:00:00.064) 0:03:11.820 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Tuesday 06 August 2024 10:35:47 -0400 (0:00:00.061) 0:03:11.881 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Tuesday 06 August 2024 10:35:47 -0400 (0:00:00.063) 0:03:11.945 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Tuesday 06 August 2024 10:35:47 -0400 (0:00:00.063) 0:03:12.008 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Tuesday 06 August 2024 10:35:47 -0400 (0:00:00.064) 0:03:12.072 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Tuesday 06 August 2024 10:35:47 -0400 (0:00:00.072) 0:03:12.144 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Tuesday 06 August 2024 10:35:47 -0400 (0:00:00.061) 0:03:12.206 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Tuesday 06 August 2024 10:35:47 -0400 (0:00:00.063) 0:03:12.269 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Tuesday 06 August 2024 10:35:47 -0400 (0:00:00.062) 0:03:12.332 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Tuesday 06 August 2024 10:35:47 -0400 (0:00:00.061) 0:03:12.393 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Tuesday 06 August 2024 10:35:47 -0400 (0:00:00.065) 0:03:12.458 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Tuesday 06 August 2024 10:35:47 -0400 (0:00:00.060) 0:03:12.519 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Tuesday 06 August 2024 10:35:49 -0400 (0:00:01.314) 0:03:13.833 ******** skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Tuesday 06 August 2024 10:35:49 -0400 (0:00:00.172) 0:03:14.005 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Tuesday 06 August 2024 10:35:49 -0400 (0:00:00.066) 0:03:14.072 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Tuesday 06 August 2024 10:35:49 -0400 (0:00:00.071) 0:03:14.144 ******** skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Tuesday 06 August 2024 10:35:49 -0400 (0:00:00.118) 0:03:14.262 ******** ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Tuesday 06 August 2024 10:35:50 -0400 (0:00:00.501) 0:03:14.764 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Tuesday 06 August 2024 10:35:50 -0400 (0:00:00.065) 0:03:14.830 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Tuesday 06 August 2024 10:35:50 -0400 (0:00:00.069) 0:03:14.899 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Tuesday 06 August 2024 10:35:50 -0400 (0:00:00.068) 0:03:14.967 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Tuesday 06 August 2024 10:35:50 -0400 (0:00:00.063) 0:03:15.031 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Tuesday 06 August 2024 10:35:50 -0400 (0:00:00.160) 0:03:15.192 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Tuesday 06 August 2024 10:35:50 -0400 (0:00:00.070) 0:03:15.262 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Tuesday 06 August 2024 10:35:50 -0400 (0:00:00.093) 0:03:15.355 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Tuesday 06 August 2024 10:35:50 -0400 (0:00:00.063) 0:03:15.419 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Tuesday 06 August 2024 10:35:51 -0400 (0:00:00.597) 0:03:16.016 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Tuesday 06 August 2024 10:35:51 -0400 (0:00:00.597) 0:03:16.614 ******** skipping: [managed_node1] => { "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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Tuesday 06 August 2024 10:35:51 -0400 (0:00:00.065) 0:03:16.679 ******** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005186", "end": "2024-08-06 10:35:52.194289", "rc": 0, "start": "2024-08-06 10:35:52.189103" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Tuesday 06 August 2024 10:35:52 -0400 (0:00:00.343) 0:03:17.023 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Tuesday 06 August 2024 10:35:53 -0400 (0:00:00.906) 0:03:17.929 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Tuesday 06 August 2024 10:35:53 -0400 (0:00:00.088) 0:03:18.018 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Tuesday 06 August 2024 10:35:53 -0400 (0:00:00.063) 0:03:18.082 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Tuesday 06 August 2024 10:35:53 -0400 (0:00:00.063) 0:03:18.146 ******** skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Tuesday 06 August 2024 10:35:53 -0400 (0:00:00.253) 0:03:18.400 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Tuesday 06 August 2024 10:35:53 -0400 (0:00:00.066) 0:03:18.466 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Tuesday 06 August 2024 10:35:53 -0400 (0:00:00.063) 0:03:18.530 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Tuesday 06 August 2024 10:35:54 -0400 (0:00:00.552) 0:03:19.082 ******** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 09:43:06 EDT", "ActiveEnterTimestampMonotonic": "18449931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.service systemd-journald.socket systemd-sysctl.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 09:43:04 EDT", "AssertTimestampMonotonic": "17161376", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 09:43:04 EDT", "ConditionTimestampMonotonic": "17161374", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "851", "ExecMainStartTimestamp": "Tue 2024-08-06 09:43:04 EDT", "ExecMainStartTimestampMonotonic": "17162038", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 09:43:04 EDT", "InactiveExitTimestampMonotonic": "17162082", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "851", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service dbus.service system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 09:43:06 EDT", "WatchdogTimestampMonotonic": "18449888", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Tuesday 06 August 2024 10:35:54 -0400 (0:00:00.438) 0:03:19.521 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.089568", "end": "2024-08-06 10:35:55.113077", "rc": 0, "start": "2024-08-06 10:35:55.023509" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Tuesday 06 August 2024 10:35:55 -0400 (0:00:00.427) 0:03:19.948 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Tuesday 06 August 2024 10:35:55 -0400 (0:00:00.067) 0:03:20.015 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Tuesday 06 August 2024 10:35:55 -0400 (0:00:00.064) 0:03:20.080 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Tuesday 06 August 2024 10:35:55 -0400 (0:00:00.067) 0:03:20.148 ******** ok: [managed_node1] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Tuesday 06 August 2024 10:35:55 -0400 (0:00:00.352) 0:03:20.500 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Tuesday 06 August 2024 10:35:55 -0400 (0:00:00.064) 0:03:20.565 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Tuesday 06 August 2024 10:35:56 -0400 (0:00:00.645) 0:03:21.210 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Tuesday 06 August 2024 10:35:56 -0400 (0:00:00.069) 0:03:21.280 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Tuesday 06 August 2024 10:35:56 -0400 (0:00:00.065) 0:03:21.346 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Tuesday 06 August 2024 10:35:56 -0400 (0:00:00.066) 0:03:21.413 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Tuesday 06 August 2024 10:35:56 -0400 (0:00:00.067) 0:03:21.480 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Tuesday 06 August 2024 10:35:56 -0400 (0:00:00.065) 0:03:21.545 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Tuesday 06 August 2024 10:35:56 -0400 (0:00:00.067) 0:03:21.613 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Tuesday 06 August 2024 10:35:56 -0400 (0:00:00.061) 0:03:21.674 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Tuesday 06 August 2024 10:35:56 -0400 (0:00:00.063) 0:03:21.737 ******** ok: [managed_node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005157", "end": "2024-08-06 10:35:57.259974", "rc": 0, "start": "2024-08-06 10:35:57.254817" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Tuesday 06 August 2024 10:35:57 -0400 (0:00:00.353) 0:03:22.091 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Tuesday 06 August 2024 10:35:57 -0400 (0:00:00.069) 0:03:22.160 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Tuesday 06 August 2024 10:35:58 -0400 (0:00:01.431) 0:03:23.591 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Tuesday 06 August 2024 10:35:58 -0400 (0:00:00.072) 0:03:23.664 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Tuesday 06 August 2024 10:35:58 -0400 (0:00:00.062) 0:03:23.726 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Tuesday 06 August 2024 10:35:59 -0400 (0:00:00.064) 0:03:23.791 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Tuesday 06 August 2024 10:35:59 -0400 (0:00:00.065) 0:03:23.857 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:35:59 -0400 (0:00:00.111) 0:03:23.968 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003256", "end": "2024-08-06 10:35:59.476878", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:35:59.473622" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:35:59 -0400 (0:00:00.338) 0:03:24.306 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.121038", "end": "2024-08-06 10:35:59.937594", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:35:59.816556" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:36:00 -0400 (0:00:00.469) 0:03:24.776 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Tuesday 06 August 2024 10:36:00 -0400 (0:00:00.063) 0:03:24.839 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Tuesday 06 August 2024 10:36:00 -0400 (0:00:00.065) 0:03:24.904 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Tuesday 06 August 2024 10:36:00 -0400 (0:00:00.063) 0:03:24.968 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Tuesday 06 August 2024 10:36:00 -0400 (0:00:00.065) 0:03:25.033 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Tuesday 06 August 2024 10:36:00 -0400 (0:00:00.062) 0:03:25.095 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Tuesday 06 August 2024 10:36:00 -0400 (0:00:00.064) 0:03:25.159 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Tuesday 06 August 2024 10:36:00 -0400 (0:00:00.167) 0:03:25.327 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Tuesday 06 August 2024 10:36:00 -0400 (0:00:00.067) 0:03:25.394 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Tuesday 06 August 2024 10:36:00 -0400 (0:00:00.066) 0:03:25.461 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Tuesday 06 August 2024 10:36:00 -0400 (0:00:00.062) 0:03:25.523 ******** TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Tuesday 06 August 2024 10:36:00 -0400 (0:00:00.141) 0:03:25.666 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Tuesday 06 August 2024 10:36:01 -0400 (0:00:00.124) 0:03:25.790 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Tuesday 06 August 2024 10:36:01 -0400 (0:00:00.093) 0:03:25.883 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Tuesday 06 August 2024 10:36:01 -0400 (0:00:00.472) 0:03:26.355 ******** ok: [managed_node1] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Tuesday 06 August 2024 10:36:01 -0400 (0:00:00.079) 0:03:26.434 ******** skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__certificate_default_directory": "/etc/pki/tls", "__certificate_packages": [ "python-pyasn1", "python-cryptography", "python-dbus" ] }, "ansible_included_var_files": [ "/tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Tuesday 06 August 2024 10:36:01 -0400 (0:00:00.195) 0:03:26.630 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "python2-pyasn1-0.1.9-7.el7.noarch providing python-pyasn1 is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python-cryptography is already installed", "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed" ] } TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Tuesday 06 August 2024 10:36:04 -0400 (0:00:02.496) 0:03:29.127 ******** ok: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "rc": 0, "results": [ "certmonger-0.78.4-17.el7_9.x86_64 providing certmonger is already installed" ] } TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Tuesday 06 August 2024 10:36:05 -0400 (0:00:00.633) 0:03:29.760 ******** ok: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Tuesday 06 August 2024 10:36:05 -0400 (0:00:00.388) 0:03:30.149 ******** ok: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Tuesday 06 August 2024 10:36:05 -0400 (0:00:00.387) 0:03:30.536 ******** ok: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 10:17:26 EDT", "ActiveEnterTimestampMonotonic": "2078391037", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.service systemd-journald.socket basic.target system.slice syslog.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 10:17:26 EDT", "AssertTimestampMonotonic": "2078366020", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 10:17:26 EDT", "ConditionTimestampMonotonic": "2078366018", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "31374", "ExecMainStartTimestamp": "Tue 2024-08-06 10:17:26 EDT", "ExecMainStartTimestampMonotonic": "2078366648", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 10:17:26 EDT", "InactiveExitTimestampMonotonic": "2078366681", "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": "31374", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/certmonger.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 10:17:26 EDT", "WatchdogTimestampMonotonic": "2078390967", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Tuesday 06 August 2024 10:36:06 -0400 (0:00:00.474) 0:03:31.011 ******** changed: [managed_node1] => (item={u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.8.111', u'ca': u'self-sign', u'mode': u'0600'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "common_name": "10.31.8.111", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } } MSG: Certificate requested (update). TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Tuesday 06 August 2024 10:36:07 -0400 (0:00:01.545) 0:03:32.556 ******** skipping: [managed_node1] => (item=[u'cert', {u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.8.111', 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.111", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=[u'key', {u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.8.111', 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.111", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=[u'ca', {u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.8.111', 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.111", "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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Tuesday 06 August 2024 10:36:07 -0400 (0:00:00.112) 0:03:32.668 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Tuesday 06 August 2024 10:36:08 -0400 (0:00:00.072) 0:03:32.741 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Tuesday 06 August 2024 10:36:08 -0400 (0:00:00.071) 0:03:32.812 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Tuesday 06 August 2024 10:36:08 -0400 (0:00:00.074) 0:03:32.887 ******** ok: [managed_node1] => { "ansible_facts": { "mssql_tls_cert": "mssql_2019_cert.crt", "mssql_tls_private_key": "mssql_2019_cert.key" }, "changed": false } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Tuesday 06 August 2024 10:36:08 -0400 (0:00:00.077) 0:03:32.965 ******** skipping: [managed_node1] => (item=mssql_2019_cert.crt) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.crt", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=mssql_2019_cert.key) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Tuesday 06 August 2024 10:36:08 -0400 (0:00:00.084) 0:03:33.049 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:36:08 -0400 (0:00:00.215) 0:03:33.265 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003393", "end": "2024-08-06 10:36:08.774110", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:36:08.770717" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:36:08 -0400 (0:00:00.339) 0:03:33.605 ******** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed_node1 changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/mssql_2019_cert.crt" ], "delta": "0:00:00.120605", "end": "2024-08-06 10:36:09.244343", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:36:09.123738" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:36:09 -0400 (0:00:00.476) 0:03:34.082 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Tuesday 06 August 2024 10:36:09 -0400 (0:00:00.069) 0:03:34.151 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:36:09 -0400 (0:00:00.120) 0:03:34.272 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003126", "end": "2024-08-06 10:36:09.792689", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:36:09.789563" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:36:09 -0400 (0:00:00.349) 0:03:34.622 ******** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/mssql_2019_cert.key" ], "delta": "0:00:00.118619", "end": "2024-08-06 10:36:10.253862", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:36:10.135243" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:36:10 -0400 (0:00:00.471) 0:03:35.094 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Tuesday 06 August 2024 10:36:10 -0400 (0:00:00.066) 0:03:35.160 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:36:10 -0400 (0:00:00.121) 0:03:35.282 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003216", "end": "2024-08-06 10:36:10.793124", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:36:10.789908" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:36:10 -0400 (0:00:00.441) 0:03:35.724 ******** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.120895", "end": "2024-08-06 10:36:11.380966", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:36:11.260071" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:36:11 -0400 (0:00:00.503) 0:03:36.227 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Tuesday 06 August 2024 10:36:11 -0400 (0:00:00.069) 0:03:36.296 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:36:11 -0400 (0:00:00.124) 0:03:36.421 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003185", "end": "2024-08-06 10:36:11.951386", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:36:11.948201" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:36:12 -0400 (0:00:00.389) 0:03:36.810 ******** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.118499", "end": "2024-08-06 10:36:12.445780", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:36:12.327281" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:36:12 -0400 (0:00:00.471) 0:03:37.281 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Tuesday 06 August 2024 10:36:12 -0400 (0:00:00.065) 0:03:37.347 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Tuesday 06 August 2024 10:36:12 -0400 (0:00:00.064) 0:03:37.411 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Tuesday 06 August 2024 10:36:12 -0400 (0:00:00.062) 0:03:37.474 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Tuesday 06 August 2024 10:36:12 -0400 (0:00:00.062) 0:03:37.537 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Tuesday 06 August 2024 10:36:12 -0400 (0:00:00.066) 0:03:37.603 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Tuesday 06 August 2024 10:36:12 -0400 (0:00:00.065) 0:03:37.669 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Tuesday 06 August 2024 10:36:12 -0400 (0:00:00.063) 0:03:37.732 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Tuesday 06 August 2024 10:36:13 -0400 (0:00:00.062) 0:03:37.795 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Tuesday 06 August 2024 10:36:13 -0400 (0:00:00.163) 0:03:37.959 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Tuesday 06 August 2024 10:36:13 -0400 (0:00:00.069) 0:03:38.028 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Tuesday 06 August 2024 10:36:13 -0400 (0:00:00.064) 0:03:38.092 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Tuesday 06 August 2024 10:36:13 -0400 (0:00:00.065) 0:03:38.158 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Tuesday 06 August 2024 10:36:13 -0400 (0:00:00.062) 0:03:38.221 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Tuesday 06 August 2024 10:36:13 -0400 (0:00:00.064) 0:03:38.286 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Tuesday 06 August 2024 10:36:13 -0400 (0:00:00.062) 0:03:38.348 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Tuesday 06 August 2024 10:36:13 -0400 (0:00:00.064) 0:03:38.413 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Tuesday 06 August 2024 10:36:13 -0400 (0:00:00.064) 0:03:38.478 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Tuesday 06 August 2024 10:36:13 -0400 (0:00:00.061) 0:03:38.539 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Tuesday 06 August 2024 10:36:13 -0400 (0:00:00.063) 0:03:38.603 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Tuesday 06 August 2024 10:36:13 -0400 (0:00:00.061) 0:03:38.664 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Tuesday 06 August 2024 10:36:13 -0400 (0:00:00.065) 0:03:38.730 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Tuesday 06 August 2024 10:36:14 -0400 (0:00:00.063) 0:03:38.793 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Tuesday 06 August 2024 10:36:14 -0400 (0:00:00.063) 0:03:38.856 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Tuesday 06 August 2024 10:36:14 -0400 (0:00:00.062) 0:03:38.919 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Tuesday 06 August 2024 10:36:14 -0400 (0:00:00.060) 0:03:38.979 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Tuesday 06 August 2024 10:36:14 -0400 (0:00:00.063) 0:03:39.043 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Tuesday 06 August 2024 10:36:14 -0400 (0:00:00.061) 0:03:39.104 ******** skipping: [managed_node1] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Tuesday 06 August 2024 10:36:14 -0400 (0:00:00.182) 0:03:39.287 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Tuesday 06 August 2024 10:36:14 -0400 (0:00:00.068) 0:03:39.355 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Tuesday 06 August 2024 10:36:14 -0400 (0:00:00.063) 0:03:39.419 ******** skipping: [managed_node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Tuesday 06 August 2024 10:36:14 -0400 (0:00:00.080) 0:03:39.500 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1180 Tuesday 06 August 2024 10:36:14 -0400 (0:00:00.062) 0:03:39.563 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1205 Tuesday 06 August 2024 10:36:14 -0400 (0:00:00.064) 0:03:39.628 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1214 Tuesday 06 August 2024 10:36:14 -0400 (0:00:00.064) 0:03:39.692 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Tuesday 06 August 2024 10:36:15 -0400 (0:00:00.062) 0:03:39.754 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Tuesday 06 August 2024 10:36:15 -0400 (0:00:00.065) 0:03:39.820 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Tuesday 06 August 2024 10:36:15 -0400 (0:00:00.062) 0:03:39.882 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Tuesday 06 August 2024 10:36:15 -0400 (0:00:00.064) 0:03:39.946 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1263 Tuesday 06 August 2024 10:36:15 -0400 (0:00:00.061) 0:03:40.007 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1270 Tuesday 06 August 2024 10:36:15 -0400 (0:00:00.063) 0:03:40.071 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1278 Tuesday 06 August 2024 10:36:15 -0400 (0:00:00.063) 0:03:40.134 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Tuesday 06 August 2024 10:36:15 -0400 (0:00:00.061) 0:03:40.196 ******** skipping: [managed_node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1297 Tuesday 06 August 2024 10:36:15 -0400 (0:00:00.079) 0:03:40.276 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1306 Tuesday 06 August 2024 10:36:15 -0400 (0:00:00.062) 0:03:40.339 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1313 Tuesday 06 August 2024 10:36:15 -0400 (0:00:00.062) 0:03:40.402 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Tuesday 06 August 2024 10:36:15 -0400 (0:00:00.062) 0:03:40.464 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1327 Tuesday 06 August 2024 10:36:15 -0400 (0:00:00.168) 0:03:40.633 ******** skipping: [managed_node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1340 Tuesday 06 August 2024 10:36:15 -0400 (0:00:00.079) 0:03:40.712 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1352 Tuesday 06 August 2024 10:36:16 -0400 (0:00:00.063) 0:03:40.775 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Tuesday 06 August 2024 10:36:16 -0400 (0:00:00.065) 0:03:40.841 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Tuesday 06 August 2024 10:36:16 -0400 (0:00:00.063) 0:03:40.904 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1372 Tuesday 06 August 2024 10:36:16 -0400 (0:00:00.065) 0:03:40.969 ******** changed: [managed_node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Tuesday 06 August 2024 10:36:16 -0400 (0:00:00.420) 0:03:41.390 ******** changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 10:35:36 EDT", "ActiveEnterTimestampMonotonic": "3168844374", "ActiveExitTimestamp": "Tue 2024-08-06 10:35:35 EDT", "ActiveExitTimestampMonotonic": "3167798346", "ActiveState": "active", "After": "auditd.service network.target -.mount systemd-journald.socket basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 10:35:36 EDT", "AssertTimestampMonotonic": "3168843605", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 10:35:36 EDT", "ConditionTimestampMonotonic": "3168843604", "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": "30778", "ExecMainStartTimestamp": "Tue 2024-08-06 10:35:36 EDT", "ExecMainStartTimestampMonotonic": "3168844293", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 10:35:36 EDT] ; stop_time=[n/a] ; pid=30778 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 10:35:36 EDT", "InactiveEnterTimestampMonotonic": "3168842849", "InactiveExitTimestamp": "Tue 2024-08-06 10:35:36 EDT", "InactiveExitTimestampMonotonic": "3168844374", "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": "30778", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 10:35:36 EDT", "WatchdogTimestampMonotonic": "3168844350", "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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1385 Tuesday 06 August 2024 10:36:17 -0400 (0:00:00.733) 0:03:42.124 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1392 Tuesday 06 August 2024 10:36:17 -0400 (0:00:00.062) 0:03:42.186 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Verify connectivity and settings] **************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:168 Tuesday 06 August 2024 10:36:17 -0400 (0:00:00.064) 0:03:42.250 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed_node1 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Tuesday 06 August 2024 10:36:18 -0400 (0:00:00.666) 0:03:42.917 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Tuesday 06 August 2024 10:36:18 -0400 (0:00:00.065) 0:03:42.982 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Tuesday 06 August 2024 10:36:18 -0400 (0:00:00.065) 0:03:43.048 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Tuesday 06 August 2024 10:36:18 -0400 (0:00:00.066) 0:03:43.114 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Tuesday 06 August 2024 10:36:18 -0400 (0:00:00.063) 0:03:43.178 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Tuesday 06 August 2024 10:36:18 -0400 (0:00:00.062) 0:03:43.240 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Tuesday 06 August 2024 10:36:18 -0400 (0:00:00.061) 0:03:43.301 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Tuesday 06 August 2024 10:36:18 -0400 (0:00:00.062) 0:03:43.363 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Tuesday 06 August 2024 10:36:18 -0400 (0:00:00.060) 0:03:43.424 ******** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Tuesday 06 August 2024 10:36:18 -0400 (0:00:00.111) 0:03:43.536 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 10:36:17 EDT", "ActiveEnterTimestampMonotonic": "3209621407", "ActiveExitTimestamp": "Tue 2024-08-06 10:36:17 EDT", "ActiveExitTimestampMonotonic": "3209390651", "ActiveState": "active", "After": "auditd.service network.target -.mount systemd-journald.socket basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 10:36:17 EDT", "AssertTimestampMonotonic": "3209620445", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 10:36:17 EDT", "ConditionTimestampMonotonic": "3209620443", "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": "810", "ExecMainStartTimestamp": "Tue 2024-08-06 10:36:17 EDT", "ExecMainStartTimestampMonotonic": "3209621335", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 10:36:17 EDT] ; stop_time=[n/a] ; pid=810 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 10:36:17 EDT", "InactiveEnterTimestampMonotonic": "3209619154", "InactiveExitTimestamp": "Tue 2024-08-06 10:36:17 EDT", "InactiveExitTimestampMonotonic": "3209621407", "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": "810", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 10:36:17 EDT", "WatchdogTimestampMonotonic": "3209621384", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Tuesday 06 August 2024 10:36:19 -0400 (0:00:00.699) 0:03:44.235 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004601", "end": "2024-08-06 10:36:19.813123", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:36:19.808522" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Tuesday 06 August 2024 10:36:20 -0400 (0:00:00.525) 0:03:44.761 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004385", "end": "2024-08-06 10:36:20.619384", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:36:20.614999" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Tuesday 06 August 2024 10:36:20 -0400 (0:00:00.825) 0:03:45.587 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Tuesday 06 August 2024 10:36:20 -0400 (0:00:00.080) 0:03:45.667 ******** ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7361, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Tuesday 06 August 2024 10:36:22 -0400 (0:00:01.558) 0:03:47.226 ******** ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.031945", "end": "2024-08-06 10:36:22.775899", "rc": 0, "start": "2024-08-06 10:36:22.743954" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Tuesday 06 August 2024 10:36:22 -0400 (0:00:00.388) 0:03:47.615 ******** ok: [managed_node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Tuesday 06 August 2024 10:36:22 -0400 (0:00:00.068) 0:03:47.683 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Tuesday 06 August 2024 10:36:23 -0400 (0:00:00.062) 0:03:47.746 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Tuesday 06 August 2024 10:36:23 -0400 (0:00:00.061) 0:03:47.807 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Tuesday 06 August 2024 10:36:23 -0400 (0:00:00.062) 0:03:47.870 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Tuesday 06 August 2024 10:36:23 -0400 (0:00:00.061) 0:03:47.932 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Tuesday 06 August 2024 10:36:23 -0400 (0:00:00.062) 0:03:47.994 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Tuesday 06 August 2024 10:36:23 -0400 (0:00:00.060) 0:03:48.055 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Tuesday 06 August 2024 10:36:23 -0400 (0:00:00.063) 0:03:48.119 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 06 August 2024 10:36:23 -0400 (0:00:00.216) 0:03:48.335 ******** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004294", "end": "2024-08-06 10:36:23.845569", "rc": 0, "start": "2024-08-06 10:36:23.841275" } STDOUT: tlscert = /etc/pki/tls/certs/mssql_2019_cert.crt TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 06 August 2024 10:36:23 -0400 (0:00:00.340) 0:03:48.675 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 06 August 2024 10:36:24 -0400 (0:00:00.084) 0:03:48.759 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/mssql_2019_cert.crt] ************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 06 August 2024 10:36:24 -0400 (0:00:00.070) 0:03:48.830 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Tuesday 06 August 2024 10:36:24 -0400 (0:00:00.066) 0:03:48.896 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 06 August 2024 10:36:24 -0400 (0:00:00.117) 0:03:49.013 ******** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004457", "end": "2024-08-06 10:36:24.522760", "rc": 0, "start": "2024-08-06 10:36:24.518303" } STDOUT: tlskey = /etc/pki/tls/private/mssql_2019_cert.key TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 06 August 2024 10:36:24 -0400 (0:00:00.336) 0:03:49.349 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 06 August 2024 10:36:24 -0400 (0:00:00.082) 0:03:49.432 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/mssql_2019_cert.key] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 06 August 2024 10:36:24 -0400 (0:00:00.070) 0:03:49.502 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Tuesday 06 August 2024 10:36:24 -0400 (0:00:00.063) 0:03:49.565 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 06 August 2024 10:36:24 -0400 (0:00:00.119) 0:03:49.684 ******** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004282", "end": "2024-08-06 10:36:25.190186", "rc": 0, "start": "2024-08-06 10:36:25.185904" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 06 August 2024 10:36:25 -0400 (0:00:00.332) 0:03:50.017 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 06 August 2024 10:36:25 -0400 (0:00:00.079) 0:03:50.096 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 06 August 2024 10:36:25 -0400 (0:00:00.175) 0:03:50.271 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Tuesday 06 August 2024 10:36:25 -0400 (0:00:00.070) 0:03:50.342 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 06 August 2024 10:36:25 -0400 (0:00:00.125) 0:03:50.467 ******** ok: [managed_node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004344", "end": "2024-08-06 10:36:25.979534", "rc": 0, "start": "2024-08-06 10:36:25.975190" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 06 August 2024 10:36:26 -0400 (0:00:00.343) 0:03:50.811 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 06 August 2024 10:36:26 -0400 (0:00:00.069) 0:03:50.880 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 06 August 2024 10:36:26 -0400 (0:00:00.081) 0:03:50.962 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Tuesday 06 August 2024 10:36:26 -0400 (0:00:00.065) 0:03:51.027 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:175 Tuesday 06 August 2024 10:36:26 -0400 (0:00:00.061) 0:03:51.088 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Tuesday 06 August 2024 10:36:27 -0400 (0:00:01.228) 0:03:52.316 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Tuesday 06 August 2024 10:36:27 -0400 (0:00:00.110) 0:03:52.427 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Tuesday 06 August 2024 10:36:27 -0400 (0:00:00.085) 0:03:52.512 ******** ok: [managed_node1] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Tuesday 06 August 2024 10:36:27 -0400 (0:00:00.096) 0:03:52.609 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Tuesday 06 August 2024 10:36:27 -0400 (0:00:00.060) 0:03:52.670 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Tuesday 06 August 2024 10:36:27 -0400 (0:00:00.062) 0:03:52.732 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Tuesday 06 August 2024 10:36:28 -0400 (0:00:00.061) 0:03:52.793 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Tuesday 06 August 2024 10:36:28 -0400 (0:00:00.061) 0:03:52.854 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Tuesday 06 August 2024 10:36:28 -0400 (0:00:00.060) 0:03:52.915 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Tuesday 06 August 2024 10:36:28 -0400 (0:00:00.061) 0:03:52.977 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Tuesday 06 August 2024 10:36:28 -0400 (0:00:00.198) 0:03:53.175 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Tuesday 06 August 2024 10:36:28 -0400 (0:00:00.066) 0:03:53.242 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Tuesday 06 August 2024 10:36:28 -0400 (0:00:00.067) 0:03:53.309 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Tuesday 06 August 2024 10:36:28 -0400 (0:00:00.067) 0:03:53.376 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Tuesday 06 August 2024 10:36:28 -0400 (0:00:00.073) 0:03:53.450 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Tuesday 06 August 2024 10:36:28 -0400 (0:00:00.063) 0:03:53.514 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Tuesday 06 August 2024 10:36:28 -0400 (0:00:00.064) 0:03:53.578 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Tuesday 06 August 2024 10:36:28 -0400 (0:00:00.064) 0:03:53.643 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Tuesday 06 August 2024 10:36:28 -0400 (0:00:00.062) 0:03:53.705 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Tuesday 06 August 2024 10:36:29 -0400 (0:00:00.066) 0:03:53.771 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Tuesday 06 August 2024 10:36:29 -0400 (0:00:00.061) 0:03:53.833 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Tuesday 06 August 2024 10:36:30 -0400 (0:00:01.218) 0:03:55.051 ******** skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Tuesday 06 August 2024 10:36:30 -0400 (0:00:00.172) 0:03:55.224 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Tuesday 06 August 2024 10:36:30 -0400 (0:00:00.062) 0:03:55.287 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Tuesday 06 August 2024 10:36:30 -0400 (0:00:00.195) 0:03:55.482 ******** skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Tuesday 06 August 2024 10:36:30 -0400 (0:00:00.125) 0:03:55.608 ******** ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Tuesday 06 August 2024 10:36:31 -0400 (0:00:00.542) 0:03:56.150 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Tuesday 06 August 2024 10:36:31 -0400 (0:00:00.069) 0:03:56.219 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Tuesday 06 August 2024 10:36:31 -0400 (0:00:00.067) 0:03:56.287 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Tuesday 06 August 2024 10:36:31 -0400 (0:00:00.069) 0:03:56.357 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Tuesday 06 August 2024 10:36:31 -0400 (0:00:00.065) 0:03:56.423 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Tuesday 06 August 2024 10:36:31 -0400 (0:00:00.070) 0:03:56.493 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Tuesday 06 August 2024 10:36:31 -0400 (0:00:00.067) 0:03:56.560 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Tuesday 06 August 2024 10:36:31 -0400 (0:00:00.095) 0:03:56.655 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Tuesday 06 August 2024 10:36:31 -0400 (0:00:00.065) 0:03:56.721 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Tuesday 06 August 2024 10:36:32 -0400 (0:00:00.625) 0:03:57.347 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Tuesday 06 August 2024 10:36:33 -0400 (0:00:00.566) 0:03:57.913 ******** skipping: [managed_node1] => { "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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Tuesday 06 August 2024 10:36:33 -0400 (0:00:00.064) 0:03:57.978 ******** ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005224", "end": "2024-08-06 10:36:33.499655", "rc": 0, "start": "2024-08-06 10:36:33.494431" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Tuesday 06 August 2024 10:36:33 -0400 (0:00:00.350) 0:03:58.328 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Tuesday 06 August 2024 10:36:34 -0400 (0:00:01.088) 0:03:59.417 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Tuesday 06 August 2024 10:36:34 -0400 (0:00:00.219) 0:03:59.637 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Tuesday 06 August 2024 10:36:34 -0400 (0:00:00.068) 0:03:59.705 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Tuesday 06 August 2024 10:36:35 -0400 (0:00:00.064) 0:03:59.769 ******** skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Tuesday 06 August 2024 10:36:35 -0400 (0:00:00.081) 0:03:59.851 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Tuesday 06 August 2024 10:36:35 -0400 (0:00:00.063) 0:03:59.914 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Tuesday 06 August 2024 10:36:35 -0400 (0:00:00.065) 0:03:59.980 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Tuesday 06 August 2024 10:36:35 -0400 (0:00:00.584) 0:04:00.565 ******** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 09:43:06 EDT", "ActiveEnterTimestampMonotonic": "18449931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target dbus.service systemd-journald.socket systemd-sysctl.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 09:43:04 EDT", "AssertTimestampMonotonic": "17161376", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 09:43:04 EDT", "ConditionTimestampMonotonic": "17161374", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "851", "ExecMainStartTimestamp": "Tue 2024-08-06 09:43:04 EDT", "ExecMainStartTimestampMonotonic": "17162038", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 09:43:04 EDT", "InactiveExitTimestampMonotonic": "17162082", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "851", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service dbus.service system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 09:43:06 EDT", "WatchdogTimestampMonotonic": "18449888", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Tuesday 06 August 2024 10:36:36 -0400 (0:00:00.446) 0:04:01.011 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.085086", "end": "2024-08-06 10:36:36.603944", "rc": 0, "start": "2024-08-06 10:36:36.518858" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Tuesday 06 August 2024 10:36:36 -0400 (0:00:00.428) 0:04:01.440 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Tuesday 06 August 2024 10:36:36 -0400 (0:00:00.065) 0:04:01.505 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Tuesday 06 August 2024 10:36:36 -0400 (0:00:00.066) 0:04:01.571 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Tuesday 06 August 2024 10:36:36 -0400 (0:00:00.064) 0:04:01.636 ******** ok: [managed_node1] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Tuesday 06 August 2024 10:36:37 -0400 (0:00:00.348) 0:04:01.985 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Tuesday 06 August 2024 10:36:37 -0400 (0:00:00.063) 0:04:02.048 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Tuesday 06 August 2024 10:36:37 -0400 (0:00:00.672) 0:04:02.720 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Tuesday 06 August 2024 10:36:38 -0400 (0:00:00.069) 0:04:02.790 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Tuesday 06 August 2024 10:36:38 -0400 (0:00:00.068) 0:04:02.858 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Tuesday 06 August 2024 10:36:38 -0400 (0:00:00.068) 0:04:02.926 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Tuesday 06 August 2024 10:36:38 -0400 (0:00:00.066) 0:04:02.993 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Tuesday 06 August 2024 10:36:38 -0400 (0:00:00.069) 0:04:03.062 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Tuesday 06 August 2024 10:36:38 -0400 (0:00:00.065) 0:04:03.127 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Tuesday 06 August 2024 10:36:38 -0400 (0:00:00.065) 0:04:03.192 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Tuesday 06 August 2024 10:36:38 -0400 (0:00:00.062) 0:04:03.254 ******** ok: [managed_node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005343", "end": "2024-08-06 10:36:38.773486", "rc": 0, "start": "2024-08-06 10:36:38.768143" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Tuesday 06 August 2024 10:36:38 -0400 (0:00:00.351) 0:04:03.606 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Tuesday 06 August 2024 10:36:38 -0400 (0:00:00.067) 0:04:03.674 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Tuesday 06 August 2024 10:36:40 -0400 (0:00:01.370) 0:04:05.044 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Tuesday 06 August 2024 10:36:40 -0400 (0:00:00.072) 0:04:05.116 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Tuesday 06 August 2024 10:36:40 -0400 (0:00:00.063) 0:04:05.180 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Tuesday 06 August 2024 10:36:40 -0400 (0:00:00.189) 0:04:05.369 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Tuesday 06 August 2024 10:36:40 -0400 (0:00:00.070) 0:04:05.439 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:36:40 -0400 (0:00:00.116) 0:04:05.556 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004691", "end": "2024-08-06 10:36:41.072997", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:36:41.068306" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:36:41 -0400 (0:00:00.350) 0:04:05.906 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.122685", "end": "2024-08-06 10:36:41.555586", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:36:41.432901" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:36:41 -0400 (0:00:00.492) 0:04:06.399 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Tuesday 06 August 2024 10:36:41 -0400 (0:00:00.066) 0:04:06.465 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Tuesday 06 August 2024 10:36:41 -0400 (0:00:00.063) 0:04:06.528 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Tuesday 06 August 2024 10:36:41 -0400 (0:00:00.065) 0:04:06.594 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Tuesday 06 August 2024 10:36:41 -0400 (0:00:00.065) 0:04:06.659 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Tuesday 06 August 2024 10:36:41 -0400 (0:00:00.062) 0:04:06.722 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Tuesday 06 August 2024 10:36:42 -0400 (0:00:00.063) 0:04:06.785 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Tuesday 06 August 2024 10:36:42 -0400 (0:00:00.061) 0:04:06.847 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Tuesday 06 August 2024 10:36:42 -0400 (0:00:00.064) 0:04:06.911 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Tuesday 06 August 2024 10:36:42 -0400 (0:00:00.062) 0:04:06.974 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Tuesday 06 August 2024 10:36:42 -0400 (0:00:00.063) 0:04:07.037 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Tuesday 06 August 2024 10:36:42 -0400 (0:00:00.191) 0:04:07.228 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Tuesday 06 August 2024 10:36:42 -0400 (0:00:00.069) 0:04:07.298 ******** skipping: [managed_node1] => (item=mssql_2019_cert.crt) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.crt", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=mssql_2019_cert.key) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Tuesday 06 August 2024 10:36:42 -0400 (0:00:00.085) 0:04:07.384 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:36:42 -0400 (0:00:00.119) 0:04:07.503 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003225", "end": "2024-08-06 10:36:43.019734", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:36:43.016509" } STDOUT: tlscert = /etc/pki/tls/certs/mssql_2019_cert.crt TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:36:43 -0400 (0:00:00.348) 0:04:07.851 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlscert] ***** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:36:43 -0400 (0:00:00.076) 0:04:07.928 ******** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed_node1 changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.117026", "end": "2024-08-06 10:36:43.578475", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:36:43.461449" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Tuesday 06 August 2024 10:36:43 -0400 (0:00:00.488) 0:04:08.417 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:36:43 -0400 (0:00:00.124) 0:04:08.541 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003264", "end": "2024-08-06 10:36:44.056269", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:36:44.053005" } STDOUT: tlskey = /etc/pki/tls/private/mssql_2019_cert.key TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:36:44 -0400 (0:00:00.354) 0:04:08.896 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:36:44 -0400 (0:00:00.073) 0:04:08.969 ******** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.116730", "end": "2024-08-06 10:36:44.611891", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:36:44.495161" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Tuesday 06 August 2024 10:36:44 -0400 (0:00:00.475) 0:04:09.445 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:36:44 -0400 (0:00:00.122) 0:04:09.567 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003219", "end": "2024-08-06 10:36:45.077325", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:36:45.074106" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:36:45 -0400 (0:00:00.338) 0:04:09.905 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlsprotocols] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:36:45 -0400 (0:00:00.075) 0:04:09.981 ******** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.122256", "end": "2024-08-06 10:36:45.619747", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:36:45.497491" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Tuesday 06 August 2024 10:36:45 -0400 (0:00:00.474) 0:04:10.456 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:36:45 -0400 (0:00:00.264) 0:04:10.721 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003320", "end": "2024-08-06 10:36:46.262225", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:36:46.258905" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:36:46 -0400 (0:00:00.382) 0:04:11.104 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network forceencryption] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:36:46 -0400 (0:00:00.076) 0:04:11.180 ******** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.121660", "end": "2024-08-06 10:36:46.822095", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:36:46.700435" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Tuesday 06 August 2024 10:36:46 -0400 (0:00:00.485) 0:04:11.666 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Tuesday 06 August 2024 10:36:46 -0400 (0:00:00.067) 0:04:11.733 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Tuesday 06 August 2024 10:36:47 -0400 (0:00:00.063) 0:04:11.797 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Tuesday 06 August 2024 10:36:47 -0400 (0:00:00.065) 0:04:11.862 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Tuesday 06 August 2024 10:36:47 -0400 (0:00:00.065) 0:04:11.927 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Tuesday 06 August 2024 10:36:47 -0400 (0:00:00.067) 0:04:11.995 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Tuesday 06 August 2024 10:36:47 -0400 (0:00:00.063) 0:04:12.059 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Tuesday 06 August 2024 10:36:47 -0400 (0:00:00.065) 0:04:12.124 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Tuesday 06 August 2024 10:36:47 -0400 (0:00:00.066) 0:04:12.190 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Tuesday 06 August 2024 10:36:47 -0400 (0:00:00.063) 0:04:12.254 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Tuesday 06 August 2024 10:36:47 -0400 (0:00:00.063) 0:04:12.317 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Tuesday 06 August 2024 10:36:47 -0400 (0:00:00.062) 0:04:12.380 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Tuesday 06 August 2024 10:36:47 -0400 (0:00:00.187) 0:04:12.567 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Tuesday 06 August 2024 10:36:47 -0400 (0:00:00.069) 0:04:12.637 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Tuesday 06 August 2024 10:36:47 -0400 (0:00:00.064) 0:04:12.701 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Tuesday 06 August 2024 10:36:48 -0400 (0:00:00.066) 0:04:12.767 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Tuesday 06 August 2024 10:36:48 -0400 (0:00:00.063) 0:04:12.831 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Tuesday 06 August 2024 10:36:48 -0400 (0:00:00.064) 0:04:12.896 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Tuesday 06 August 2024 10:36:48 -0400 (0:00:00.062) 0:04:12.959 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Tuesday 06 August 2024 10:36:48 -0400 (0:00:00.065) 0:04:13.024 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Tuesday 06 August 2024 10:36:48 -0400 (0:00:00.066) 0:04:13.090 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Tuesday 06 August 2024 10:36:48 -0400 (0:00:00.062) 0:04:13.153 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Tuesday 06 August 2024 10:36:48 -0400 (0:00:00.066) 0:04:13.220 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Tuesday 06 August 2024 10:36:48 -0400 (0:00:00.063) 0:04:13.284 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Tuesday 06 August 2024 10:36:48 -0400 (0:00:00.064) 0:04:13.348 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Tuesday 06 August 2024 10:36:48 -0400 (0:00:00.064) 0:04:13.413 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Tuesday 06 August 2024 10:36:48 -0400 (0:00:00.062) 0:04:13.475 ******** skipping: [managed_node1] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Tuesday 06 August 2024 10:36:48 -0400 (0:00:00.076) 0:04:13.551 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Tuesday 06 August 2024 10:36:48 -0400 (0:00:00.062) 0:04:13.614 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Tuesday 06 August 2024 10:36:48 -0400 (0:00:00.063) 0:04:13.677 ******** skipping: [managed_node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Tuesday 06 August 2024 10:36:49 -0400 (0:00:00.079) 0:04:13.757 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1180 Tuesday 06 August 2024 10:36:49 -0400 (0:00:00.189) 0:04:13.947 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1205 Tuesday 06 August 2024 10:36:49 -0400 (0:00:00.068) 0:04:14.015 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1214 Tuesday 06 August 2024 10:36:49 -0400 (0:00:00.063) 0:04:14.079 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Tuesday 06 August 2024 10:36:49 -0400 (0:00:00.066) 0:04:14.145 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Tuesday 06 August 2024 10:36:49 -0400 (0:00:00.064) 0:04:14.210 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Tuesday 06 August 2024 10:36:49 -0400 (0:00:00.066) 0:04:14.276 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Tuesday 06 August 2024 10:36:49 -0400 (0:00:00.067) 0:04:14.344 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1263 Tuesday 06 August 2024 10:36:49 -0400 (0:00:00.062) 0:04:14.407 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1270 Tuesday 06 August 2024 10:36:49 -0400 (0:00:00.065) 0:04:14.472 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1278 Tuesday 06 August 2024 10:36:49 -0400 (0:00:00.063) 0:04:14.535 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Tuesday 06 August 2024 10:36:49 -0400 (0:00:00.064) 0:04:14.599 ******** skipping: [managed_node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1297 Tuesday 06 August 2024 10:36:49 -0400 (0:00:00.080) 0:04:14.680 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1306 Tuesday 06 August 2024 10:36:50 -0400 (0:00:00.062) 0:04:14.742 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1313 Tuesday 06 August 2024 10:36:50 -0400 (0:00:00.063) 0:04:14.805 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Tuesday 06 August 2024 10:36:50 -0400 (0:00:00.062) 0:04:14.868 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1327 Tuesday 06 August 2024 10:36:50 -0400 (0:00:00.066) 0:04:14.935 ******** skipping: [managed_node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1340 Tuesday 06 August 2024 10:36:50 -0400 (0:00:00.071) 0:04:15.006 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1352 Tuesday 06 August 2024 10:36:50 -0400 (0:00:00.064) 0:04:15.070 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Tuesday 06 August 2024 10:36:50 -0400 (0:00:00.191) 0:04:15.262 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Tuesday 06 August 2024 10:36:50 -0400 (0:00:00.069) 0:04:15.331 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1372 Tuesday 06 August 2024 10:36:50 -0400 (0:00:00.068) 0:04:15.399 ******** changed: [managed_node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Tuesday 06 August 2024 10:36:51 -0400 (0:00:00.430) 0:04:15.830 ******** changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 10:36:17 EDT", "ActiveEnterTimestampMonotonic": "3209621407", "ActiveExitTimestamp": "Tue 2024-08-06 10:36:17 EDT", "ActiveExitTimestampMonotonic": "3209390651", "ActiveState": "active", "After": "auditd.service network.target -.mount systemd-journald.socket basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 10:36:17 EDT", "AssertTimestampMonotonic": "3209620445", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 10:36:17 EDT", "ConditionTimestampMonotonic": "3209620443", "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": "810", "ExecMainStartTimestamp": "Tue 2024-08-06 10:36:17 EDT", "ExecMainStartTimestampMonotonic": "3209621335", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 10:36:17 EDT] ; stop_time=[n/a] ; pid=810 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 10:36:17 EDT", "InactiveEnterTimestampMonotonic": "3209619154", "InactiveExitTimestamp": "Tue 2024-08-06 10:36:17 EDT", "InactiveExitTimestampMonotonic": "3209621407", "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": "810", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 10:36:17 EDT", "WatchdogTimestampMonotonic": "3209621384", "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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1385 Tuesday 06 August 2024 10:36:52 -0400 (0:00:01.008) 0:04:16.839 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1392 Tuesday 06 August 2024 10:36:52 -0400 (0:00:00.064) 0:04:16.903 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up after the role invocation] ************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml:26 Tuesday 06 August 2024 10:36:52 -0400 (0:00:00.064) 0:04:16.968 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml for managed_node1 TASK [Gather package facts] **************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Tuesday 06 August 2024 10:36:52 -0400 (0:00:00.120) 0:04:17.088 ******** ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Purge cluster configuration] ********************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:6 Tuesday 06 August 2024 10:36:54 -0400 (0:00:01.857) 0:04:18.946 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:14 Tuesday 06 August 2024 10:36:54 -0400 (0:00:00.089) 0:04:19.036 ******** ok: [managed_node1] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:18 Tuesday 06 August 2024 10:36:54 -0400 (0:00:00.065) 0:04:19.101 ******** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 06 August 2024 10:36:54 -0400 (0:00:00.168) 0:04:19.269 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed_node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 06 August 2024 10:36:54 -0400 (0:00:00.252) 0:04:19.522 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 06 August 2024 10:36:54 -0400 (0:00:00.094) 0:04:19.617 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 06 August 2024 10:36:55 -0400 (0:00:00.629) 0:04:20.247 ******** ok: [managed_node1] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 06 August 2024 10:36:55 -0400 (0:00:00.070) 0:04:20.317 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 06 August 2024 10:36:56 -0400 (0:00:00.841) 0:04:21.159 ******** ok: [managed_node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 06 August 2024 10:36:56 -0400 (0:00:00.071) 0:04:21.231 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 06 August 2024 10:36:57 -0400 (0:00:00.671) 0:04:21.902 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 06 August 2024 10:36:57 -0400 (0:00:00.069) 0:04:21.972 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 06 August 2024 10:36:57 -0400 (0:00:00.064) 0:04:22.036 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 06 August 2024 10:36:57 -0400 (0:00:00.066) 0:04:22.103 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 06 August 2024 10:36:57 -0400 (0:00:00.066) 0:04:22.170 ******** skipping: [managed_node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 06 August 2024 10:36:57 -0400 (0:00:00.078) 0:04:22.249 ******** ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 09:55:20 EDT", "ActiveEnterTimestampMonotonic": "753169928", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service dbus.service system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 09:55:20 EDT", "AssertTimestampMonotonic": "752502250", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 09:55:20 EDT", "ConditionTimestampMonotonic": "752502249", "Conflicts": "iptables.service ip6tables.service ipset.service ebtables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9468", "ExecMainStartTimestamp": "Tue 2024-08-06 09:55:20 EDT", "ExecMainStartTimestampMonotonic": "752507387", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 09:55:20 EDT", "InactiveExitTimestampMonotonic": "752507421", "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": "9468", "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": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2024-08-06 09:55:20 EDT", "WatchdogTimestampMonotonic": "753169848", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 06 August 2024 10:36:57 -0400 (0:00:00.455) 0:04:22.704 ******** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 09:55:20 EDT", "ActiveEnterTimestampMonotonic": "753169928", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service dbus.service system.slice basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 09:55:20 EDT", "AssertTimestampMonotonic": "752502250", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 09:55:20 EDT", "ConditionTimestampMonotonic": "752502249", "Conflicts": "iptables.service ip6tables.service ipset.service ebtables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9468", "ExecMainStartTimestamp": "Tue 2024-08-06 09:55:20 EDT", "ExecMainStartTimestampMonotonic": "752507387", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 09:55:20 EDT", "InactiveExitTimestampMonotonic": "752507421", "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": "9468", "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": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2024-08-06 09:55:20 EDT", "WatchdogTimestampMonotonic": "753169848", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 06 August 2024 10:36:58 -0400 (0:00:00.453) 0:04:23.158 ******** ok: [managed_node1] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 06 August 2024 10:36:58 -0400 (0:00:00.180) 0:04:23.338 ******** ok: [managed_node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.8.111 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 06 August 2024 10:36:58 -0400 (0:00:00.356) 0:04:23.694 ******** ok: [managed_node1] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 06 August 2024 10:36:59 -0400 (0:00:00.073) 0:04:23.768 ******** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Tuesday 06 August 2024 10:36:59 -0400 (0:00:00.064) 0:04:23.832 ******** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Tuesday 06 August 2024 10:36:59 -0400 (0:00:00.068) 0:04:23.901 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Tuesday 06 August 2024 10:36:59 -0400 (0:00:00.073) 0:04:23.974 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Tuesday 06 August 2024 10:36:59 -0400 (0:00:00.067) 0:04:24.042 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Tuesday 06 August 2024 10:36:59 -0400 (0:00:00.063) 0:04:24.105 ******** ok: [managed_node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.8.111 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Tuesday 06 August 2024 10:36:59 -0400 (0:00:00.376) 0:04:24.482 ******** ok: [managed_node1] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Tuesday 06 August 2024 10:36:59 -0400 (0:00:00.077) 0:04:24.559 ******** skipping: [managed_node1] => {} TASK [Purge selinux configuration] ********************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:26 Tuesday 06 August 2024 10:36:59 -0400 (0:00:00.071) 0:04:24.630 ******** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Tuesday 06 August 2024 10:37:00 -0400 (0:00:00.158) 0:04:24.789 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for managed_node1 TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Tuesday 06 August 2024 10:37:00 -0400 (0:00:00.115) 0:04:24.904 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Tuesday 06 August 2024 10:37:00 -0400 (0:00:00.086) 0:04:24.991 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for managed_node1 TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Tuesday 06 August 2024 10:37:00 -0400 (0:00:00.231) 0:04:25.223 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Tuesday 06 August 2024 10:37:00 -0400 (0:00:00.351) 0:04:25.575 ******** ok: [managed_node1] => { "ansible_facts": { "__selinux_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Tuesday 06 August 2024 10:37:00 -0400 (0:00:00.073) 0:04:25.648 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Tuesday 06 August 2024 10:37:01 -0400 (0:00:00.362) 0:04:26.010 ******** ok: [managed_node1] => { "ansible_facts": { "__selinux_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Tuesday 06 August 2024 10:37:01 -0400 (0:00:00.072) 0:04:26.082 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Tuesday 06 August 2024 10:37:01 -0400 (0:00:00.600) 0:04:26.683 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Tuesday 06 August 2024 10:37:02 -0400 (0:00:00.066) 0:04:26.750 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Tuesday 06 August 2024 10:37:02 -0400 (0:00:00.064) 0:04:26.814 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Tuesday 06 August 2024 10:37:02 -0400 (0:00:00.067) 0:04:26.882 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Tuesday 06 August 2024 10:37:02 -0400 (0:00:00.064) 0:04:26.947 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is needed and not set] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Tuesday 06 August 2024 10:37:02 -0400 (0:00:00.062) 0:04:27.010 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Tuesday 06 August 2024 10:37:02 -0400 (0:00:00.064) 0:04:27.075 ******** ok: [managed_node1] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Tuesday 06 August 2024 10:37:02 -0400 (0:00:00.587) 0:04:27.662 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Tuesday 06 August 2024 10:37:03 -0400 (0:00:00.175) 0:04:27.838 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Tuesday 06 August 2024 10:37:03 -0400 (0:00:00.070) 0:04:27.908 ******** ok: [managed_node1] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Tuesday 06 August 2024 10:37:03 -0400 (0:00:00.069) 0:04:27.978 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Tuesday 06 August 2024 10:37:03 -0400 (0:00:00.061) 0:04:28.039 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Tuesday 06 August 2024 10:37:03 -0400 (0:00:00.063) 0:04:28.103 ******** NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for managed_node1 changed: [managed_node1] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:00.364744", "end": "2024-08-06 10:37:03.990686", "rc": 0, "start": "2024-08-06 10:37:03.625942" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Tuesday 06 August 2024 10:37:04 -0400 (0:00:00.718) 0:04:28.822 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Tuesday 06 August 2024 10:37:04 -0400 (0:00:00.066) 0:04:28.889 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Tuesday 06 August 2024 10:37:04 -0400 (0:00:00.066) 0:04:28.955 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Tuesday 06 August 2024 10:37:04 -0400 (0:00:00.063) 0:04:29.019 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Tuesday 06 August 2024 10:37:04 -0400 (0:00:00.065) 0:04:29.084 ******** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Tuesday 06 August 2024 10:37:04 -0400 (0:00:00.061) 0:04:29.146 ******** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Tuesday 06 August 2024 10:37:04 -0400 (0:00:00.065) 0:04:29.211 ******** TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Tuesday 06 August 2024 10:37:04 -0400 (0:00:00.062) 0:04:29.273 ******** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Tuesday 06 August 2024 10:37:04 -0400 (0:00:00.063) 0:04:29.336 ******** ok: [managed_node1] => { "ansible_facts": { "selinux_checksums": false, "selinux_installed_modules": { "abrt": { "100": { "checksum": "", "enabled": 1 } }, "accountsd": { "100": { "checksum": "", "enabled": 1 } }, "acct": { "100": { "checksum": "", "enabled": 1 } }, "afs": { "100": { "checksum": "", "enabled": 1 } }, "aiccu": { "100": { "checksum": "", "enabled": 1 } }, "aide": { "100": { "checksum": "", "enabled": 1 } }, "ajaxterm": { "100": { "checksum": "", "enabled": 1 } }, "alsa": { "100": { "checksum": "", "enabled": 1 } }, "amanda": { "100": { "checksum": "", "enabled": 1 } }, "amtu": { "100": { "checksum": "", "enabled": 1 } }, "anaconda": { "100": { "checksum": "", "enabled": 1 } }, "antivirus": { "100": { "checksum": "", "enabled": 1 } }, "apache": { "100": { "checksum": "", "enabled": 1 } }, "apcupsd": { "100": { "checksum": "", "enabled": 1 } }, "apm": { "100": { "checksum": "", "enabled": 1 } }, "application": { "100": { "checksum": "", "enabled": 1 } }, "arpwatch": { "100": { "checksum": "", "enabled": 1 } }, "asterisk": { "100": { "checksum": "", "enabled": 1 } }, "auditadm": { "100": { "checksum": "", "enabled": 1 } }, "authconfig": { "100": { "checksum": "", "enabled": 1 } }, "authlogin": { "100": { "checksum": "", "enabled": 1 } }, "automount": { "100": { "checksum": "", "enabled": 1 } }, "avahi": { "100": { "checksum": "", "enabled": 1 } }, "awstats": { "100": { "checksum": "", "enabled": 1 } }, "bacula": { "100": { "checksum": "", "enabled": 1 } }, "base": { "100": { "checksum": "", "enabled": 1 } }, "bcfg2": { "100": { "checksum": "", "enabled": 1 } }, "bind": { "100": { "checksum": "", "enabled": 1 } }, "bitlbee": { "100": { "checksum": "", "enabled": 1 } }, "blkmapd": { "100": { "checksum": "", "enabled": 1 } }, "blueman": { "100": { "checksum": "", "enabled": 1 } }, "bluetooth": { "100": { "checksum": "", "enabled": 1 } }, "boinc": { "100": { "checksum": "", "enabled": 1 } }, "boltd": { "100": { "checksum": "", "enabled": 1 } }, "bootloader": { "100": { "checksum": "", "enabled": 1 } }, "brctl": { "100": { "checksum": "", "enabled": 1 } }, "brltty": { "100": { "checksum": "", "enabled": 1 } }, "bugzilla": { "100": { "checksum": "", "enabled": 1 } }, "bumblebee": { "100": { "checksum": "", "enabled": 1 } }, "cachefilesd": { "100": { "checksum": "", "enabled": 1 } }, "calamaris": { "100": { "checksum": "", "enabled": 1 } }, "callweaver": { "100": { "checksum": "", "enabled": 1 } }, "canna": { "100": { "checksum": "", "enabled": 1 } }, "ccs": { "100": { "checksum": "", "enabled": 1 } }, "cdrecord": { "100": { "checksum": "", "enabled": 1 } }, "certmaster": { "100": { "checksum": "", "enabled": 1 } }, "certmonger": { "100": { "checksum": "", "enabled": 1 } }, "certwatch": { "100": { "checksum": "", "enabled": 1 } }, "cfengine": { "100": { "checksum": "", "enabled": 1 } }, "cgdcbxd": { "100": { "checksum": "", "enabled": 1 } }, "cgroup": { "100": { "checksum": "", "enabled": 1 } }, "chrome": { "100": { "checksum": "", "enabled": 1 } }, "chronyd": { "100": { "checksum": "", "enabled": 1 } }, "cinder": { "100": { "checksum": "", "enabled": 1 } }, "cipe": { "100": { "checksum": "", "enabled": 1 } }, "clock": { "100": { "checksum": "", "enabled": 1 } }, "clogd": { "100": { "checksum": "", "enabled": 1 } }, "cloudform": { "100": { "checksum": "", "enabled": 1 } }, "cmirrord": { "100": { "checksum": "", "enabled": 1 } }, "cobbler": { "100": { "checksum": "", "enabled": 1 } }, "cockpit": { "100": { "checksum": "", "enabled": 1 } }, "collectd": { "100": { "checksum": "", "enabled": 1 } }, "colord": { "100": { "checksum": "", "enabled": 1 } }, "comsat": { "100": { "checksum": "", "enabled": 1 } }, "condor": { "100": { "checksum": "", "enabled": 1 } }, "conman": { "100": { "checksum": "", "enabled": 1 } }, "consolekit": { "100": { "checksum": "", "enabled": 1 } }, "container": { "100": { "checksum": "", "enabled": 1 } }, "couchdb": { "100": { "checksum": "", "enabled": 1 } }, "courier": { "100": { "checksum": "", "enabled": 1 } }, "cpucontrol": { "100": { "checksum": "", "enabled": 1 } }, "cpufreqselector": { "100": { "checksum": "", "enabled": 1 } }, "cpuplug": { "100": { "checksum": "", "enabled": 1 } }, "cron": { "100": { "checksum": "", "enabled": 1 } }, "ctdb": { "100": { "checksum": "", "enabled": 1 } }, "cups": { "100": { "checksum": "", "enabled": 1 } }, "cvs": { "100": { "checksum": "", "enabled": 1 } }, "cyphesis": { "100": { "checksum": "", "enabled": 1 } }, "cyrus": { "100": { "checksum": "", "enabled": 1 } }, "daemontools": { "100": { "checksum": "", "enabled": 1 } }, "dbadm": { "100": { "checksum": "", "enabled": 1 } }, "dbskk": { "100": { "checksum": "", "enabled": 1 } }, "dbus": { "100": { "checksum": "", "enabled": 1 } }, "dcc": { "100": { "checksum": "", "enabled": 1 } }, "ddclient": { "100": { "checksum": "", "enabled": 1 } }, "denyhosts": { "100": { "checksum": "", "enabled": 1 } }, "devicekit": { "100": { "checksum": "", "enabled": 1 } }, "dhcp": { "100": { "checksum": "", "enabled": 1 } }, "dictd": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv-admin": { "100": { "checksum": "", "enabled": 1 } }, "dmesg": { "100": { "checksum": "", "enabled": 1 } }, "dmidecode": { "100": { "checksum": "", "enabled": 1 } }, "dnsmasq": { "100": { "checksum": "", "enabled": 1 } }, "dnssec": { "100": { "checksum": "", "enabled": 1 } }, "dovecot": { "100": { "checksum": "", "enabled": 1 } }, "drbd": { "100": { "checksum": "", "enabled": 1 } }, "dspam": { "100": { "checksum": "", "enabled": 1 } }, "entropyd": { "100": { "checksum": "", "enabled": 1 } }, "exim": { "100": { "checksum": "", "enabled": 1 } }, "fail2ban": { "100": { "checksum": "", "enabled": 1 } }, "fcoe": { "100": { "checksum": "", "enabled": 1 } }, "fetchmail": { "100": { "checksum": "", "enabled": 1 } }, "finger": { "100": { "checksum": "", "enabled": 1 } }, "firewalld": { "100": { "checksum": "", "enabled": 1 } }, "firewallgui": { "100": { "checksum": "", "enabled": 1 } }, "firstboot": { "100": { "checksum": "", "enabled": 1 } }, "fprintd": { "100": { "checksum": "", "enabled": 1 } }, "freeipmi": { "100": { "checksum": "", "enabled": 1 } }, "freqset": { "100": { "checksum": "", "enabled": 1 } }, "fstools": { "100": { "checksum": "", "enabled": 1 } }, "ftp": { "100": { "checksum": "", "enabled": 1 } }, "games": { "100": { "checksum": "", "enabled": 1 } }, "ganesha": { "100": { "checksum": "", "enabled": 1 } }, "gdomap": { "100": { "checksum": "", "enabled": 1 } }, "geoclue": { "100": { "checksum": "", "enabled": 1 } }, "getty": { "100": { "checksum": "", "enabled": 1 } }, "git": { "100": { "checksum": "", "enabled": 1 } }, "gitosis": { "100": { "checksum": "", "enabled": 1 } }, "glance": { "100": { "checksum": "", "enabled": 1 } }, "glusterd": { "100": { "checksum": "", "enabled": 1 } }, "gnome": { "100": { "checksum": "", "enabled": 1 } }, "gpg": { "100": { "checksum": "", "enabled": 1 } }, "gpm": { "100": { "checksum": "", "enabled": 1 } }, "gpsd": { "100": { "checksum": "", "enabled": 1 } }, "gssproxy": { "100": { "checksum": "", "enabled": 1 } }, "guest": { "100": { "checksum": "", "enabled": 1 } }, "hddtemp": { "100": { "checksum": "", "enabled": 1 } }, "hostname": { "100": { "checksum": "", "enabled": 1 } }, "hsqldb": { "100": { "checksum": "", "enabled": 1 } }, "hwloc": { "100": { "checksum": "", "enabled": 1 } }, "hypervkvp": { "100": { "checksum": "", "enabled": 1 } }, "icecast": { "100": { "checksum": "", "enabled": 1 } }, "inetd": { "100": { "checksum": "", "enabled": 1 } }, "init": { "100": { "checksum": "", "enabled": 1 } }, "inn": { "100": { "checksum": "", "enabled": 1 } }, "iodine": { "100": { "checksum": "", "enabled": 1 } }, "iotop": { "100": { "checksum": "", "enabled": 1 } }, "ipa": { "100": { "checksum": "", "enabled": 1 } }, "ipmievd": { "100": { "checksum": "", "enabled": 1 } }, "ipsec": { "100": { "checksum": "", "enabled": 1 } }, "iptables": { "100": { "checksum": "", "enabled": 1 } }, "irc": { "100": { "checksum": "", "enabled": 1 } }, "irqbalance": { "100": { "checksum": "", "enabled": 1 } }, "iscsi": { "100": { "checksum": "", "enabled": 1 } }, "isns": { "100": { "checksum": "", "enabled": 1 } }, "jabber": { "100": { "checksum": "", "enabled": 1 } }, "jetty": { "100": { "checksum": "", "enabled": 1 } }, "jockey": { "100": { "checksum": "", "enabled": 1 } }, "journalctl": { "100": { "checksum": "", "enabled": 1 } }, "kdump": { "100": { "checksum": "", "enabled": 1 } }, "kdumpgui": { "100": { "checksum": "", "enabled": 1 } }, "keepalived": { "100": { "checksum": "", "enabled": 1 } }, "kerberos": { "100": { "checksum": "", "enabled": 1 } }, "keyboardd": { "100": { "checksum": "", "enabled": 1 } }, "keystone": { "100": { "checksum": "", "enabled": 1 } }, "kismet": { "100": { "checksum": "", "enabled": 1 } }, "kmscon": { "100": { "checksum": "", "enabled": 1 } }, "kpatch": { "100": { "checksum": "", "enabled": 1 } }, "ksmtuned": { "100": { "checksum": "", "enabled": 1 } }, "ktalk": { "100": { "checksum": "", "enabled": 1 } }, "l2tp": { "100": { "checksum": "", "enabled": 1 } }, "ldap": { "100": { "checksum": "", "enabled": 1 } }, "libraries": { "100": { "checksum": "", "enabled": 1 } }, "likewise": { "100": { "checksum": "", "enabled": 1 } }, "linuxptp": { "100": { "checksum": "", "enabled": 1 } }, "lircd": { "100": { "checksum": "", "enabled": 1 } }, "livecd": { "100": { "checksum": "", "enabled": 1 } }, "lldpad": { "100": { "checksum": "", "enabled": 1 } }, "loadkeys": { "100": { "checksum": "", "enabled": 1 } }, "locallogin": { "100": { "checksum": "", "enabled": 1 } }, "lockdev": { "100": { "checksum": "", "enabled": 1 } }, "logadm": { "100": { "checksum": "", "enabled": 1 } }, "logging": { "100": { "checksum": "", "enabled": 1 } }, "logrotate": { "100": { "checksum": "", "enabled": 1 } }, "logwatch": { "100": { "checksum": "", "enabled": 1 } }, "lpd": { "100": { "checksum": "", "enabled": 1 } }, "lsm": { "100": { "checksum": "", "enabled": 1 } }, "lttng-tools": { "100": { "checksum": "", "enabled": 1 } }, "lvm": { "100": { "checksum": "", "enabled": 1 } }, "mailman": { "100": { "checksum": "", "enabled": 1 } }, "mailscanner": { "100": { "checksum": "", "enabled": 1 } }, "man2html": { "100": { "checksum": "", "enabled": 1 } }, "mandb": { "100": { "checksum": "", "enabled": 1 } }, "mcelog": { "100": { "checksum": "", "enabled": 1 } }, "mediawiki": { "100": { "checksum": "", "enabled": 1 } }, "memcached": { "100": { "checksum": "", "enabled": 1 } }, "milter": { "100": { "checksum": "", "enabled": 1 } }, "minidlna": { "100": { "checksum": "", "enabled": 1 } }, "minissdpd": { "100": { "checksum": "", "enabled": 1 } }, "mip6d": { "100": { "checksum": "", "enabled": 1 } }, "mirrormanager": { "100": { "checksum": "", "enabled": 1 } }, "miscfiles": { "100": { "checksum": "", "enabled": 1 } }, "mock": { "100": { "checksum": "", "enabled": 1 } }, "modemmanager": { "100": { "checksum": "", "enabled": 1 } }, "modutils": { "100": { "checksum": "", "enabled": 1 } }, "mojomojo": { "100": { "checksum": "", "enabled": 1 } }, "mon_statd": { "100": { "checksum": "", "enabled": 1 } }, "mongodb": { "100": { "checksum": "", "enabled": 1 } }, "motion": { "100": { "checksum": "", "enabled": 1 } }, "mount": { "100": { "checksum": "", "enabled": 1 } }, "mozilla": { "100": { "checksum": "", "enabled": 1 } }, "mpd": { "100": { "checksum": "", "enabled": 1 } }, "mplayer": { "100": { "checksum": "", "enabled": 1 } }, "mrtg": { "100": { "checksum": "", "enabled": 1 } }, "mta": { "100": { "checksum": "", "enabled": 1 } }, "munin": { "100": { "checksum": "", "enabled": 1 } }, "mysql": { "100": { "checksum": "", "enabled": 1 } }, "mythtv": { "100": { "checksum": "", "enabled": 1 } }, "nagios": { "100": { "checksum": "", "enabled": 1 } }, "namespace": { "100": { "checksum": "", "enabled": 1 } }, "ncftool": { "100": { "checksum": "", "enabled": 1 } }, "netlabel": { "100": { "checksum": "", "enabled": 1 } }, "netutils": { "100": { "checksum": "", "enabled": 1 } }, "networkmanager": { "100": { "checksum": "", "enabled": 1 } }, "ninfod": { "100": { "checksum": "", "enabled": 1 } }, "nis": { "100": { "checksum": "", "enabled": 1 } }, "nova": { "100": { "checksum": "", "enabled": 1 } }, "nscd": { "100": { "checksum": "", "enabled": 1 } }, "nsd": { "100": { "checksum": "", "enabled": 1 } }, "nslcd": { "100": { "checksum": "", "enabled": 1 } }, "ntop": { "100": { "checksum": "", "enabled": 1 } }, "ntp": { "100": { "checksum": "", "enabled": 1 } }, "numad": { "100": { "checksum": "", "enabled": 1 } }, "nut": { "100": { "checksum": "", "enabled": 1 } }, "nx": { "100": { "checksum": "", "enabled": 1 } }, "obex": { "100": { "checksum": "", "enabled": 1 } }, "oddjob": { "100": { "checksum": "", "enabled": 1 } }, "openct": { "100": { "checksum": "", "enabled": 1 } }, "opendnssec": { "100": { "checksum": "", "enabled": 1 } }, "openhpid": { "100": { "checksum": "", "enabled": 1 } }, "openshift": { "100": { "checksum": "", "enabled": 1 } }, "openshift-origin": { "100": { "checksum": "", "enabled": 1 } }, "opensm": { "100": { "checksum": "", "enabled": 1 } }, "openvpn": { "100": { "checksum": "", "enabled": 1 } }, "openvswitch": { "100": { "checksum": "", "enabled": 1 } }, "openwsman": { "100": { "checksum": "", "enabled": 1 } }, "oracleasm": { "100": { "checksum": "", "enabled": 1 } }, "osad": { "100": { "checksum": "", "enabled": 1 } }, "pads": { "100": { "checksum": "", "enabled": 1 } }, "passenger": { "100": { "checksum": "", "enabled": 1 } }, "pcmcia": { "100": { "checksum": "", "enabled": 1 } }, "pcp": { "100": { "checksum": "", "enabled": 1 } }, "pcscd": { "100": { "checksum": "", "enabled": 1 } }, "pegasus": { "100": { "checksum": "", "enabled": 1 } }, "permissivedomains": { "100": { "checksum": "", "enabled": 1 } }, "pesign": { "100": { "checksum": "", "enabled": 1 } }, "pingd": { "100": { "checksum": "", "enabled": 1 } }, "piranha": { "100": { "checksum": "", "enabled": 1 } }, "pkcs": { "100": { "checksum": "", "enabled": 1 } }, "pki": { "100": { "checksum": "", "enabled": 1 } }, "plymouthd": { "100": { "checksum": "", "enabled": 1 } }, "podsleuth": { "100": { "checksum": "", "enabled": 1 } }, "policykit": { "100": { "checksum": "", "enabled": 1 } }, "polipo": { "100": { "checksum": "", "enabled": 1 } }, "portmap": { "100": { "checksum": "", "enabled": 1 } }, "portreserve": { "100": { "checksum": "", "enabled": 1 } }, "postfix": { "100": { "checksum": "", "enabled": 1 } }, "postgresql": { "100": { "checksum": "", "enabled": 1 } }, "postgrey": { "100": { "checksum": "", "enabled": 1 } }, "ppp": { "100": { "checksum": "", "enabled": 1 } }, "prelink": { "100": { "checksum": "", "enabled": 1 } }, "prelude": { "100": { "checksum": "", "enabled": 1 } }, "privoxy": { "100": { "checksum": "", "enabled": 1 } }, "procmail": { "100": { "checksum": "", "enabled": 1 } }, "prosody": { "100": { "checksum": "", "enabled": 1 } }, "psad": { "100": { "checksum": "", "enabled": 1 } }, "ptchown": { "100": { "checksum": "", "enabled": 1 } }, "publicfile": { "100": { "checksum": "", "enabled": 1 } }, "pulseaudio": { "100": { "checksum": "", "enabled": 1 } }, "puppet": { "100": { "checksum": "", "enabled": 1 } }, "pwauth": { "100": { "checksum": "", "enabled": 1 } }, "qmail": { "100": { "checksum": "", "enabled": 1 } }, "qpid": { "100": { "checksum": "", "enabled": 1 } }, "quantum": { "100": { "checksum": "", "enabled": 1 } }, "quota": { "100": { "checksum": "", "enabled": 1 } }, "rabbitmq": { "100": { "checksum": "", "enabled": 1 } }, "radius": { "100": { "checksum": "", "enabled": 1 } }, "radvd": { "100": { "checksum": "", "enabled": 1 } }, "raid": { "100": { "checksum": "", "enabled": 1 } }, "rasdaemon": { "100": { "checksum": "", "enabled": 1 } }, "rdisc": { "100": { "checksum": "", "enabled": 1 } }, "readahead": { "100": { "checksum": "", "enabled": 1 } }, "realmd": { "100": { "checksum": "", "enabled": 1 } }, "redis": { "100": { "checksum": "", "enabled": 1 } }, "remotelogin": { "100": { "checksum": "", "enabled": 1 } }, "restraint": { "400": { "checksum": "", "enabled": 1 } }, "rhcs": { "100": { "checksum": "", "enabled": 1 } }, "rhev": { "100": { "checksum": "", "enabled": 1 } }, "rhgb": { "100": { "checksum": "", "enabled": 1 } }, "rhnsd": { "100": { "checksum": "", "enabled": 1 } }, "rhsmcertd": { "100": { "checksum": "", "enabled": 1 } }, "rhts": { "400": { "checksum": "", "enabled": 1 } }, "ricci": { "100": { "checksum": "", "enabled": 1 } }, "rkhunter": { "100": { "checksum": "", "enabled": 1 } }, "rlogin": { "100": { "checksum": "", "enabled": 1 } }, "rngd": { "100": { "checksum": "", "enabled": 1 } }, "roundup": { "100": { "checksum": "", "enabled": 1 } }, "rpc": { "100": { "checksum": "", "enabled": 1 } }, "rpcbind": { "100": { "checksum": "", "enabled": 1 } }, "rpm": { "100": { "checksum": "", "enabled": 1 } }, "rshd": { "100": { "checksum": "", "enabled": 1 } }, "rssh": { "100": { "checksum": "", "enabled": 1 } }, "rsync": { "100": { "checksum": "", "enabled": 1 } }, "rtas": { "100": { "checksum": "", "enabled": 1 } }, "rtkit": { "100": { "checksum": "", "enabled": 1 } }, "rwho": { "100": { "checksum": "", "enabled": 1 } }, "samba": { "100": { "checksum": "", "enabled": 1 } }, "sambagui": { "100": { "checksum": "", "enabled": 1 } }, "sandboxX": { "100": { "checksum": "", "enabled": 1 } }, "sanlock": { "100": { "checksum": "", "enabled": 1 } }, "sasl": { "100": { "checksum": "", "enabled": 1 } }, "sbd": { "100": { "checksum": "", "enabled": 1 } }, "sblim": { "100": { "checksum": "", "enabled": 1 } }, "screen": { "100": { "checksum": "", "enabled": 1 } }, "secadm": { "100": { "checksum": "", "enabled": 1 } }, "sectoolm": { "100": { "checksum": "", "enabled": 1 } }, "selinuxutil": { "100": { "checksum": "", "enabled": 1 } }, "sendmail": { "100": { "checksum": "", "enabled": 1 } }, "sensord": { "100": { "checksum": "", "enabled": 1 } }, "setrans": { "100": { "checksum": "", "enabled": 1 } }, "setroubleshoot": { "100": { "checksum": "", "enabled": 1 } }, "seunshare": { "100": { "checksum": "", "enabled": 1 } }, "sge": { "100": { "checksum": "", "enabled": 1 } }, "shorewall": { "100": { "checksum": "", "enabled": 1 } }, "slocate": { "100": { "checksum": "", "enabled": 1 } }, "slpd": { "100": { "checksum": "", "enabled": 1 } }, "smartmon": { "100": { "checksum": "", "enabled": 1 } }, "smokeping": { "100": { "checksum": "", "enabled": 1 } }, "smoltclient": { "100": { "checksum": "", "enabled": 1 } }, "smsd": { "100": { "checksum": "", "enabled": 1 } }, "snapper": { "100": { "checksum": "", "enabled": 1 } }, "snmp": { "100": { "checksum": "", "enabled": 1 } }, "snort": { "100": { "checksum": "", "enabled": 1 } }, "sosreport": { "100": { "checksum": "", "enabled": 1 } }, "soundserver": { "100": { "checksum": "", "enabled": 1 } }, "spamassassin": { "100": { "checksum": "", "enabled": 1 } }, "speech-dispatcher": { "100": { "checksum": "", "enabled": 1 } }, "squid": { "100": { "checksum": "", "enabled": 1 } }, "ssh": { "100": { "checksum": "", "enabled": 1 } }, "sssd": { "100": { "checksum": "", "enabled": 1 } }, "staff": { "100": { "checksum": "", "enabled": 1 } }, "stapserver": { "100": { "checksum": "", "enabled": 1 } }, "stunnel": { "100": { "checksum": "", "enabled": 1 } }, "su": { "100": { "checksum": "", "enabled": 1 } }, "sudo": { "100": { "checksum": "", "enabled": 1 } }, "svnserve": { "100": { "checksum": "", "enabled": 1 } }, "swift": { "100": { "checksum": "", "enabled": 1 } }, "sysadm": { "100": { "checksum": "", "enabled": 1 } }, "sysadm_secadm": { "100": { "checksum": "", "enabled": 1 } }, "sysnetwork": { "100": { "checksum": "", "enabled": 1 } }, "sysstat": { "100": { "checksum": "", "enabled": 1 } }, "systemd": { "100": { "checksum": "", "enabled": 1 } }, "tangd": { "100": { "checksum": "", "enabled": 1 } }, "targetd": { "100": { "checksum": "", "enabled": 1 } }, "tcpd": { "100": { "checksum": "", "enabled": 1 } }, "tcsd": { "100": { "checksum": "", "enabled": 1 } }, "telepathy": { "100": { "checksum": "", "enabled": 1 } }, "telnet": { "100": { "checksum": "", "enabled": 1 } }, "tftp": { "100": { "checksum": "", "enabled": 1 } }, "tgtd": { "100": { "checksum": "", "enabled": 1 } }, "thin": { "100": { "checksum": "", "enabled": 1 } }, "thumb": { "100": { "checksum": "", "enabled": 1 } }, "tlp": { "100": { "checksum": "", "enabled": 1 } }, "tmpreaper": { "100": { "checksum": "", "enabled": 1 } }, "tomcat": { "100": { "checksum": "", "enabled": 1 } }, "tor": { "100": { "checksum": "", "enabled": 1 } }, "tuned": { "100": { "checksum": "", "enabled": 1 } }, "tvtime": { "100": { "checksum": "", "enabled": 1 } }, "udev": { "100": { "checksum": "", "enabled": 1 } }, "ulogd": { "100": { "checksum": "", "enabled": 1 } }, "uml": { "100": { "checksum": "", "enabled": 1 } }, "unconfined": { "100": { "checksum": "", "enabled": 1 } }, "unconfineduser": { "100": { "checksum": "", "enabled": 1 } }, "unlabelednet": { "100": { "checksum": "", "enabled": 1 } }, "unprivuser": { "100": { "checksum": "", "enabled": 1 } }, "updfstab": { "100": { "checksum": "", "enabled": 1 } }, "usbmodules": { "100": { "checksum": "", "enabled": 1 } }, "usbmuxd": { "100": { "checksum": "", "enabled": 1 } }, "userdomain": { "100": { "checksum": "", "enabled": 1 } }, "userhelper": { "100": { "checksum": "", "enabled": 1 } }, "usermanage": { "100": { "checksum": "", "enabled": 1 } }, "usernetctl": { "100": { "checksum": "", "enabled": 1 } }, "uucp": { "100": { "checksum": "", "enabled": 1 } }, "uuidd": { "100": { "checksum": "", "enabled": 1 } }, "varnishd": { "100": { "checksum": "", "enabled": 1 } }, "vdagent": { "100": { "checksum": "", "enabled": 1 } }, "vhostmd": { "100": { "checksum": "", "enabled": 1 } }, "virt": { "100": { "checksum": "", "enabled": 1 } }, "vlock": { "100": { "checksum": "", "enabled": 1 } }, "vmtools": { "100": { "checksum": "", "enabled": 1 } }, "vmware": { "100": { "checksum": "", "enabled": 1 } }, "vnstatd": { "100": { "checksum": "", "enabled": 1 } }, "vpn": { "100": { "checksum": "", "enabled": 1 } }, "w3c": { "100": { "checksum": "", "enabled": 1 } }, "watchdog": { "100": { "checksum": "", "enabled": 1 } }, "wdmd": { "100": { "checksum": "", "enabled": 1 } }, "webadm": { "100": { "checksum": "", "enabled": 1 } }, "webalizer": { "100": { "checksum": "", "enabled": 1 } }, "wine": { "100": { "checksum": "", "enabled": 1 } }, "wireshark": { "100": { "checksum": "", "enabled": 1 } }, "xen": { "100": { "checksum": "", "enabled": 1 } }, "xguest": { "100": { "checksum": "", "enabled": 1 } }, "xserver": { "100": { "checksum": "", "enabled": 1 } }, "zabbix": { "100": { "checksum": "", "enabled": 1 } }, "zarafa": { "100": { "checksum": "", "enabled": 1 } }, "zebra": { "100": { "checksum": "", "enabled": 1 } }, "zoneminder": { "100": { "checksum": "", "enabled": 1 } }, "zosremote": { "100": { "checksum": "", "enabled": 1 } } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Tuesday 06 August 2024 10:37:07 -0400 (0:00:03.020) 0:04:32.357 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Tuesday 06 August 2024 10:37:07 -0400 (0:00:00.090) 0:04:32.448 ******** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Tuesday 06 August 2024 10:37:07 -0400 (0:00:00.084) 0:04:32.533 ******** TASK [Leave realm] ************************************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:32 Tuesday 06 August 2024 10:37:07 -0400 (0:00:00.083) 0:04:32.617 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:40 Tuesday 06 August 2024 10:37:07 -0400 (0:00:00.118) 0:04:32.735 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:44 Tuesday 06 August 2024 10:37:08 -0400 (0:00:00.115) 0:04:32.851 ******** ok: [managed_node1] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:50 Tuesday 06 August 2024 10:37:08 -0400 (0:00:00.613) 0:04:33.464 ******** changed: [managed_node1] => { "changed": true, "changes": { "removed": [ "mssql-server", "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "adutil is not installed", "mssql-server-fts is not installed", "mssql-server-ha is not installed", "powershell is not installed", "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:15.0.4375.4-1 will be erased\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be erased\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n--> Finding unneeded leftover dependencies\n---> Marking msodbcsql17 to be removed - no longer needed by mssql-tools\n---> Marking unixODBC to be removed - no longer needed by unixODBC-devel\n---> Marking python3 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl to be removed - no longer needed by mssql-server\n---> Marking gdb to be removed - no longer needed by mssql-server\n---> Marking libatomic to be removed - no longer needed by mssql-server\n---> Marking libsss_nss_idmap to be removed - no longer needed by mssql-server\n---> Marking lsof to be removed - no longer needed by mssql-server\n---> Marking bzip2 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl-gssapi to be removed - no longer needed by mssql-server\n---> Marking libtool-ltdl to be removed - no longer needed by unixODBC\n---> Marking python3-libs to be removed - no longer needed by python3\n---> Marking python3-setuptools to be removed - no longer needed by python3\n---> Marking python3-pip to be removed - no longer needed by python3\nFound and removing 14 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package lsof.x86_64 0:4.87-6.el7 will be erased\n---> Package msodbcsql17.x86_64 0:17.10.6.1-1 will be erased\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be erased\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 15.0.4375.4-1 @packages-microsoft-com-mssql-server-2019\n 1.1 G\n mssql-tools x86_64 17.10.1.1-1 @packages-microsoft-com-prod 714 k\n unixODBC-devel x86_64 2.3.11-1.rh @packages-microsoft-com-prod 223 k\nRemoving for dependencies:\n bzip2 x86_64 1.0.6-13.el7 @base 82 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 @updates 141 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 @updates 36 k\n gdb x86_64 7.6.1-120.el7 @base 7.0 M\n libatomic x86_64 4.8.5-44.el7 @base 26 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 @updates 82 k\n libtool-ltdl x86_64 2.4.2-22.el7_3 @base 66 k\n lsof x86_64 4.87-6.el7 @base 927 k\n msodbcsql17 x86_64 17.10.6.1-1 @packages-microsoft-com-prod 2.2 M\n python3 x86_64 3.6.8-21.el7_9 @updates 39 k\n python3-libs x86_64 3.6.8-21.el7_9 @updates 35 M\n python3-pip noarch 9.0.3-8.el7 @base 9.1 M\n python3-setuptools\n noarch 39.2.0-10.el7 @base 3.6 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+14 Dependent packages)\n\nInstalled size: 1.2 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-15.0.4375.4-1.x86_64 1/17 \n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 2/17 \n Erasing : mssql-tools-17.10.1.1-1.x86_64 3/17 \n Erasing : python3-libs-3.6.8-21.el7_9.x86_64 4/17 \n Erasing : python3-pip-9.0.3-8.el7.noarch 5/17 \n Erasing : python3-setuptools-39.2.0-10.el7.noarch 6/17 \n Erasing : python3-3.6.8-21.el7_9.x86_64 7/17 \n Erasing : msodbcsql17-17.10.6.1-1.x86_64 8/17 \nODBC Driver 17 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-2.3.11-1.rh.x86_64 9/17 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 10/17 \n Erasing : libatomic-4.8.5-44.el7.x86_64 11/17 \n Erasing : bzip2-1.0.6-13.el7.x86_64 12/17 \n Erasing : gdb-7.6.1-120.el7.x86_64 13/17 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 14/17 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 15/17 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 16/17 \n Erasing : lsof-4.87-6.el7.x86_64 17/17 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/17 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 2/17 \n Verifying : python3-3.6.8-21.el7_9.x86_64 3/17 \n Verifying : mssql-server-15.0.4375.4-1.x86_64 4/17 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 5/17 \n Verifying : bzip2-1.0.6-13.el7.x86_64 6/17 \n Verifying : msodbcsql17-17.10.6.1-1.x86_64 7/17 \n Verifying : lsof-4.87-6.el7.x86_64 8/17 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 9/17 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 10/17 \n Verifying : gdb-7.6.1-120.el7.x86_64 11/17 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 12/17 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 13/17 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 14/17 \n Verifying : python3-pip-9.0.3-8.el7.noarch 15/17 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 16/17 \n Verifying : libatomic-4.8.5-44.el7.x86_64 17/17 \n\nRemoved:\n mssql-server.x86_64 0:15.0.4375.4-1 mssql-tools.x86_64 0:17.10.1.1-1 \n unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Removed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 \n lsof.x86_64 0:4.87-6.el7 \n msodbcsql17.x86_64 0:17.10.6.1-1 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:63 Tuesday 06 August 2024 10:37:12 -0400 (0:00:03.977) 0:04:37.442 ******** [WARNING]: Consider using the file module with state=absent rather than running 'rm'. If you need to use command because file is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. changed: [managed_node1] => { "changed": true, "cmd": "rm -rfv /var/opt/mssql* /opt/mssql* /var/log/pacemaker/pacemaker.log /etc/yum.repos.d/packages-microsoft-com-* /tmp/*.j2 /tmp/mssql_data /tmp/mssql_log /etc/systemd/system/multi-user.target.wants/mssql-server.service", "delta": "0:00:00.009894", "end": "2024-08-06 10:37:12.956744", "rc": 0, "start": "2024-08-06 10:37:12.946850" } STDOUT: removed ‘/var/opt/mssql/mssql.conf’ removed ‘/var/opt/mssql/data/model.mdf’ removed ‘/var/opt/mssql/data/templog.ldf’ removed ‘/var/opt/mssql/data/tempdb.mdf’ removed ‘/var/opt/mssql/data/msdbdata.mdf’ removed ‘/var/opt/mssql/data/Entropy.bin’ removed ‘/var/opt/mssql/data/model_replicatedmaster.ldf’ removed ‘/var/opt/mssql/data/model_replicatedmaster.mdf’ removed ‘/var/opt/mssql/data/modellog.ldf’ removed ‘/var/opt/mssql/data/tempdb2.ndf’ removed ‘/var/opt/mssql/data/msdblog.ldf’ removed ‘/var/opt/mssql/data/mastlog.ldf’ removed ‘/var/opt/mssql/data/master.mdf’ removed ‘/var/opt/mssql/data/model_msdbdata.mdf’ removed ‘/var/opt/mssql/data/model_msdblog.ldf’ removed directory: ‘/var/opt/mssql/data’ removed ‘/var/opt/mssql/secrets/machine-key’ removed directory: ‘/var/opt/mssql/secrets’ removed ‘/var/opt/mssql/.system/system/lsa.hiv’ removed directory: ‘/var/opt/mssql/.system/system/Temp’ removed ‘/var/opt/mssql/.system/system/licensing.hiv’ removed ‘/var/opt/mssql/.system/system/lsasetup.log’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/1a6027e3-2e3b-4fc0-b5bb-c7d3e15ada48’ 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/HkEngineEventFile_0_133674284120280000.xel’ removed ‘/var/opt/mssql/log/errorlog.8’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133674284172860000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133674284395500000.xel’ removed ‘/var/opt/mssql/log/log_4.trc’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/log_6.trc’ removed ‘/var/opt/mssql/log/errorlog’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/system_health_0_133674285058300000.xel’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/system_health_0_133674285806490000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133674285053360000.xel’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133674285392880000.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/system_health_0_133674284718740000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133674284179520000.xel’ removed ‘/var/opt/mssql/log/errorlog.7’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133674284390840000.xel’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133674285799590000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133674286149220000.xel’ removed ‘/var/opt/mssql/log/mssql-conf/mssql-conf.log’ removed directory: ‘/var/opt/mssql/log/mssql-conf’ removed ‘/var/opt/mssql/log/system_health_0_133674286155460000.xel’ removed ‘/var/opt/mssql/log/log_7.trc’ removed ‘/var/opt/mssql/log/system_health_0_133674285398190000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133674284713080000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133674284128240000.xel’ removed directory: ‘/var/opt/mssql/log’ removed directory: ‘/var/opt/mssql’ removed directory: ‘/opt/mssql’ removed directory: ‘/opt/mssql-tools’ removed ‘/etc/yum.repos.d/packages-microsoft-com-mssql-server-2019.repo’ removed ‘/etc/yum.repos.d/packages-microsoft-com-prod.repo’ removed ‘/etc/systemd/system/multi-user.target.wants/mssql-server.service’ TASK [Stop the mssql-server service] ******************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:77 Tuesday 06 August 2024 10:37:13 -0400 (0:00:00.376) 0:04:37.819 ******** ok: [managed_node1] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.848325", "end": "2024-08-06 10:37:14.172138", "rc": 0, "start": "2024-08-06 10:37:13.323813" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Tuesday 06 August 2024 10:37:14 -0400 (0:00:01.139) 0:04:38.959 ******** changed: [managed_node1] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.847594", "end": "2024-08-06 10:37:16.379499", "rc": 0, "start": "2024-08-06 10:37:14.531905" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=389 changed=57 unreachable=0 failed=0 skipped=874 rescued=0 ignored=0 Tuesday 06 August 2024 10:37:16 -0400 (0:00:02.226) 0:04:41.185 ******** =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 41.36s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 6.28s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 6.28s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Remove related packages ------------------------------------------------- 3.98s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:50 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 3.02s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 2.50s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.23s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Gathering Facts --------------------------------------------------------- 1.89s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml:9 Wait for mssql-server to prepare for client connections ----------------- 1.88s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Gather package facts ---------------------------------------------------- 1.86s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Wait for mssql-server to prepare for client connections ----------------- 1.79s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Wait for mssql-server to prepare for client connections ----------------- 1.77s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Wait for mssql-server to prepare for client connections ----------------- 1.56s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.55s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Wait for mssql-server to prepare for client connections ----------------- 1.52s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.43s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.37s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.36s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.31s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 fedora.linux_system_roles.mssql : Gather system services facts ---------- 1.25s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323