ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_tls_2017.yml *************************************************** 1 plays in /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2017.yml PLAY [Ensure that tls encryption configuration works] ************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2017.yml:3 Friday 26 July 2024 21:53:53 -0400 (0:00:00.026) 0:00:00.026 *********** ok: [managed_node1] META: ran handlers TASK [Run tests_tls with SQL Server 2017] ************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2017.yml:17 Friday 26 July 2024 21:53:53 -0400 (0:00:00.917) 0:00:00.943 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:2 Friday 26 July 2024 21:53:54 -0400 (0:00:00.098) 0:00:01.042 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:2 Friday 26 July 2024 21:53:54 -0400 (0:00:00.034) 0:00:01.076 *********** ok: [managed_node1] TASK [Run the role] ************************************************************ task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:15 Friday 26 July 2024 21:53:54 -0400 (0:00:00.369) 0:00:01.446 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:22 Friday 26 July 2024 21:53:54 -0400 (0:00:00.024) 0:00:01.470 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure the openssl package] ********************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:5 Friday 26 July 2024 21:53:54 -0400 (0:00:00.024) 0:00:01.494 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "1:openssl-1.0.2k-26.el7_9.x86_64 providing openssl is already installed" ] } lsrpackages: openssl TASK [Create a tempfile for a certificate on hosts] **************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:11 Friday 26 July 2024 21:53:55 -0400 (0:00:00.733) 0:00:02.228 *********** changed: [managed_node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.xDewxa", "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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:17 Friday 26 July 2024 21:53:55 -0400 (0:00:00.354) 0:00:02.582 *********** changed: [managed_node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.w6Z3C2", "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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:23 Friday 26 July 2024 21:53:55 -0400 (0:00:00.280) 0:00:02.862 *********** changed: [managed_node1] => { "changed": true, "cmd": [ "openssl", "req", "-x509", "-nodes", "-newkey", "rsa:2048", "-subj", "/CN=10.31.45.172", "-out", "/tmp/ansible.xDewxa", "-keyout", "/tmp/ansible.w6Z3C2", "-days", "365" ], "delta": "0:00:00.037288", "end": "2024-07-26 21:53:56.218189", "rc": 0, "start": "2024-07-26 21:53:56.180901" } STDERR: Generating a 2048 bit RSA private key ...+++ ....................+++ writing new private key to '/tmp/ansible.w6Z3C2' ----- TASK [Copy certificate files to local tmp] ************************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:32 Friday 26 July 2024 21:53:56 -0400 (0:00:00.405) 0:00:03.268 *********** changed: [managed_node1] => (item=/tmp/ansible.xDewxa) => { "ansible_loop_var": "item", "changed": true, "checksum": "12e0223bbc7352210d3fce9ffe969c9e3ae28ee7", "dest": "/tmp/ansible.xDewxa", "item": "/tmp/ansible.xDewxa", "md5sum": "f777326d58df93faed8eae3e9a4a5d6d", "remote_checksum": "12e0223bbc7352210d3fce9ffe969c9e3ae28ee7", "remote_md5sum": null } changed: [managed_node1] => (item=/tmp/ansible.w6Z3C2) => { "ansible_loop_var": "item", "changed": true, "checksum": "ad98d726b4e85f39c806619194146d96f56cd508", "dest": "/tmp/ansible.w6Z3C2", "item": "/tmp/ansible.w6Z3C2", "md5sum": "5032e7e3b9cd3e5674fc40f5ba3ee736", "remote_checksum": "ad98d726b4e85f39c806619194146d96f56cd508", "remote_md5sum": null } TASK [Copy a private key to the playbook directory to test a relative path] **** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:44 Friday 26 July 2024 21:53:56 -0400 (0:00:00.720) 0:00:03.989 *********** changed: [managed_node1 -> localhost] => { "changed": true, "checksum": "ad98d726b4e85f39c806619194146d96f56cd508", "dest": "./ansible.w6Z3C2", "gid": 0, "group": "root", "md5sum": "5032e7e3b9cd3e5674fc40f5ba3ee736", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1722045237.01-20625-220417269581752/source", "state": "file", "uid": 0 } TASK [Set mssql_tls_cert and mssql_tls_private_key for the following test] ***** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:52 Friday 26 July 2024 21:53:57 -0400 (0:00:00.416) 0:00:04.406 *********** ok: [managed_node1] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.xDewxa", "mssql_tls_private_key": "ansible.w6Z3C2" }, "changed": false } TASK [Run role] **************************************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:59 Friday 26 July 2024 21:53:57 -0400 (0:00:00.025) 0:00:04.431 *********** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 26 July 2024 21:53:57 -0400 (0:00:00.299) 0:00:04.731 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 26 July 2024 21:53:57 -0400 (0:00:00.031) 0:00:04.762 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 26 July 2024 21:53:57 -0400 (0:00:00.028) 0:00:04.790 *********** 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.cPXx8LCCu6/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.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 26 July 2024 21:53:57 -0400 (0:00:00.063) 0:00:04.854 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 26 July 2024 21:53:57 -0400 (0:00:00.024) 0:00:04.879 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 26 July 2024 21:53:57 -0400 (0:00:00.022) 0:00:04.901 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 26 July 2024 21:53:57 -0400 (0:00:00.022) 0:00:04.923 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 26 July 2024 21:53:57 -0400 (0:00:00.023) 0:00:04.947 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 26 July 2024 21:53:57 -0400 (0:00:00.022) 0:00:04.970 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 26 July 2024 21:53:57 -0400 (0:00:00.024) 0:00:04.994 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 26 July 2024 21:53:58 -0400 (0:00:00.022) 0:00:05.017 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 26 July 2024 21:53:58 -0400 (0:00:00.021) 0:00:05.039 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 26 July 2024 21:53:58 -0400 (0:00:00.024) 0:00:05.063 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:81 Friday 26 July 2024 21:53:58 -0400 (0:00:00.029) 0:00:05.093 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:89 Friday 26 July 2024 21:53:58 -0400 (0:00:00.024) 0:00:05.117 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:98 Friday 26 July 2024 21:53:58 -0400 (0:00:00.021) 0:00:05.138 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:107 Friday 26 July 2024 21:53:58 -0400 (0:00:00.021) 0:00:05.160 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:117 Friday 26 July 2024 21:53:58 -0400 (0:00:00.024) 0:00:05.185 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:126 Friday 26 July 2024 21:53:58 -0400 (0:00:00.025) 0:00:05.210 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Friday 26 July 2024 21:53:58 -0400 (0:00:00.023) 0:00:05.234 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:141 Friday 26 July 2024 21:53:59 -0400 (0:00:01.437) 0:00:06.672 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:149 Friday 26 July 2024 21:53:59 -0400 (0:00:00.116) 0:00:06.788 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 26 July 2024 21:53:59 -0400 (0:00:00.055) 0:00:06.844 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 26 July 2024 21:53:59 -0400 (0:00:00.064) 0:00:06.908 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:177 Friday 26 July 2024 21:53:59 -0400 (0:00:00.090) 0:00:06.999 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:191 Friday 26 July 2024 21:54:00 -0400 (0:00:00.799) 0:00:07.798 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:201 Friday 26 July 2024 21:54:00 -0400 (0:00:00.057) 0:00:07.855 *********** 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 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:212 Friday 26 July 2024 21:54:00 -0400 (0:00:00.057) 0:00:07.912 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 26 July 2024 21:54:01 -0400 (0:00:00.098) 0:00:08.011 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:235 Friday 26 July 2024 21:54:01 -0400 (0:00:00.056) 0:00:08.068 *********** 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 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:247 Friday 26 July 2024 21:54:01 -0400 (0:00:00.058) 0:00:08.127 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 26 July 2024 21:54:01 -0400 (0:00:00.058) 0:00:08.185 *********** changed: [managed_node1] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2017", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:266 Friday 26 July 2024 21:54:01 -0400 (0:00:00.485) 0:00:08.671 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 26 July 2024 21:54:01 -0400 (0:00:00.059) 0:00:08.730 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:284 Friday 26 July 2024 21:54:02 -0400 (0:00:00.576) 0:00:09.306 *********** changed: [managed_node1] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3465.1-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-14.0.3465.1-1.x86_64\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be installed\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 14.0.3465.1-1 packages-microsoft-com-mssql-server-2017\n 200 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 base 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 updates 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 updates 41 k\n gdb x86_64 7.6.1-120.el7 base 2.4 M\n libatomic x86_64 4.8.5-44.el7 base 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 updates 170 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+6 Dependent packages)\n\nTotal size: 203 M\nInstalled size: 1.0 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libatomic-4.8.5-44.el7.x86_64 1/7 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 2/7 \n Installing : gdb-7.6.1-120.el7.x86_64 3/7 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Installing : bzip2-1.0.6-13.el7.x86_64 5/7 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 6/7 \n Installing : mssql-server-14.0.3465.1-1.x86_64 7/7 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\nSQL Server needs to be restarted in order to apply this setting. Please run\n'systemctl restart mssql-server.service'.\n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 1/7 \n Verifying : bzip2-1.0.6-13.el7.x86_64 2/7 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 3/7 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Verifying : gdb-7.6.1-120.el7.x86_64 5/7 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/7 \n Verifying : libatomic-4.8.5-44.el7.x86_64 7/7 \n\nInstalled:\n mssql-server.x86_64 0:14.0.3465.1-1 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n\nComplete!\n" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:292 Friday 26 July 2024 21:54:37 -0400 (0:00:35.372) 0:00:44.678 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:300 Friday 26 July 2024 21:54:37 -0400 (0:00:00.056) 0:00:44.734 *********** 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.005690", "end": "2024-07-26 21:54:37.976792", "rc": 0, "start": "2024-07-26 21:54:37.971102" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:316 Friday 26 July 2024 21:54:38 -0400 (0:00:00.327) 0:00:45.061 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:320 Friday 26 July 2024 21:54:39 -0400 (0:00:01.029) 0:00:46.091 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:329 Friday 26 July 2024 21:54:39 -0400 (0:00:00.086) 0:00:46.177 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:345 Friday 26 July 2024 21:54:39 -0400 (0:00:00.072) 0:00:46.249 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:370 Friday 26 July 2024 21:54:43 -0400 (0:00:04.623) 0:00:50.873 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:385 Friday 26 July 2024 21:54:43 -0400 (0:00:00.073) 0:00:50.947 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 26 July 2024 21:54:44 -0400 (0:00:00.065) 0:00:51.012 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:410 Friday 26 July 2024 21:54:44 -0400 (0:00:00.062) 0:00:51.074 *********** 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" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Friday 26 July 2024 21:54:44 -0400 (0:00:00.736) 0:00:51.811 *********** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-07-26 21:27:56 EDT", "ActiveEnterTimestampMonotonic": "12916852", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket systemd-sysctl.service basic.target network.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-07-26 21:27:55 EDT", "AssertTimestampMonotonic": "12241781", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-07-26 21:27:55 EDT", "ConditionTimestampMonotonic": "12241780", "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": "853", "ExecMainStartTimestamp": "Fri 2024-07-26 21:27:55 EDT", "ExecMainStartTimestampMonotonic": "12243873", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-07-26 21:27:55 EDT", "InactiveExitTimestampMonotonic": "12243909", "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": "853", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice polkit.service dbus.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-07-26 21:27:56 EDT", "WatchdogTimestampMonotonic": "12916740", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 26 July 2024 21:54:45 -0400 (0:00:01.122) 0:00:52.933 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.157834", "end": "2024-07-26 21:54:46.447187", "rc": 0, "start": "2024-07-26 21:54:46.289353" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Friday 26 July 2024 21:54:46 -0400 (0:00:00.628) 0:00:53.562 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:449 Friday 26 July 2024 21:54:46 -0400 (0:00:00.064) 0:00:53.626 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Friday 26 July 2024 21:54:46 -0400 (0:00:00.068) 0:00:53.695 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:468 Friday 26 July 2024 21:54:46 -0400 (0:00:00.066) 0:00:53.762 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:476 Friday 26 July 2024 21:54:47 -0400 (0:00:00.867) 0:00:54.629 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:485 Friday 26 July 2024 21:54:47 -0400 (0:00:00.062) 0:00:54.691 *********** changed: [managed_node1] => { "changed": true, "changes": { "installed": [ "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be installed\n--> Processing Dependency: msodbcsql17 >= 17.3.0.0 for package: mssql-tools-17.10.1.1-1.x86_64\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: unixODBC = 2.3.11 for package: unixODBC-devel-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package msodbcsql17.x86_64 0:17.10.6.1-1 will be installed\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-tools x86_64 17.10.1.1-1 packages-microsoft-com-prod 291 k\n unixODBC-devel x86_64 2.3.11-1.rh packages-microsoft-com-prod 53 k\nInstalling for dependencies:\n libtool-ltdl x86_64 2.4.2-22.el7_3 base 49 k\n msodbcsql17 x86_64 17.10.6.1-1 packages-microsoft-com-prod 911 k\n unixODBC x86_64 2.3.11-1.rh packages-microsoft-com-prod 274 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+3 Dependent packages)\n\nTotal size: 1.5 M\nInstalled size: 3.8 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libtool-ltdl-2.4.2-22.el7_3.x86_64 1/5 \n Installing : unixODBC-2.3.11-1.rh.x86_64 2/5 \n Installing : msodbcsql17-17.10.6.1-1.x86_64 3/5 \nodbcinst: Driver installed. Usage count increased to 1. \n Target directory is /etc\n Installing : mssql-tools-17.10.1.1-1.x86_64 4/5 \n Installing : unixODBC-devel-2.3.11-1.rh.x86_64 5/5 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/5 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 2/5 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 3/5 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 4/5 \n Verifying : msodbcsql17-17.10.6.1-1.x86_64 5/5 \n\nInstalled:\n mssql-tools.x86_64 0:17.10.1.1-1 unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Installed:\n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 msodbcsql17.x86_64 0:17.10.6.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:497 Friday 26 July 2024 21:54:51 -0400 (0:00:04.240) 0:00:58.932 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:501 Friday 26 July 2024 21:54:51 -0400 (0:00:00.063) 0:00:58.995 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:507 Friday 26 July 2024 21:54:52 -0400 (0:00:00.065) 0:00:59.061 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:522 Friday 26 July 2024 21:54:52 -0400 (0:00:00.061) 0:00:59.123 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 26 July 2024 21:54:52 -0400 (0:00:00.063) 0:00:59.186 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:537 Friday 26 July 2024 21:54:52 -0400 (0:00:00.063) 0:00:59.250 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:558 Friday 26 July 2024 21:54:52 -0400 (0:00:00.064) 0:00:59.315 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 26 July 2024 21:54:52 -0400 (0:00:00.064) 0:00:59.380 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:576 Friday 26 July 2024 21:54:52 -0400 (0:00:00.065) 0:00:59.446 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Friday 26 July 2024 21:54:52 -0400 (0:00:00.066) 0:00:59.512 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 26 July 2024 21:54:52 -0400 (0:00:00.062) 0:00:59.575 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 26 July 2024 21:54:52 -0400 (0:00:00.066) 0:00:59.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 : Configure the IP address setting] ****** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:622 Friday 26 July 2024 21:54:52 -0400 (0:00:00.064) 0:00:59.706 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 26 July 2024 21:54:52 -0400 (0:00:00.063) 0:00:59.770 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 26 July 2024 21:54:52 -0400 (0:00:00.065) 0:00:59.835 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 26 July 2024 21:54:52 -0400 (0:00:00.065) 0:00:59.900 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:54:53 -0400 (0:00:00.117) 0:01:00.018 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003379", "end": "2024-07-26 21:54:53.263532", "failed_when_result": false, "rc": 1, "start": "2024-07-26 21:54:53.260153" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:54:53 -0400 (0:00:00.335) 0:01:00.354 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.045976", "end": "2024-07-26 21:54:53.657407", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:54:53.611431" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:54:53 -0400 (0:00:00.400) 0:01:00.754 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:654 Friday 26 July 2024 21:54:53 -0400 (0:00:00.064) 0:01:00.818 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Friday 26 July 2024 21:54:53 -0400 (0:00:00.066) 0:01:00.884 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 26 July 2024 21:54:53 -0400 (0:00:00.064) 0:01:00.949 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 26 July 2024 21:54:54 -0400 (0:00:00.067) 0:01:01.016 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:697 Friday 26 July 2024 21:54:54 -0400 (0:00:00.063) 0:01:01.079 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:703 Friday 26 July 2024 21:54:54 -0400 (0:00:00.063) 0:01:01.143 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 26 July 2024 21:54:54 -0400 (0:00:00.063) 0:01:01.206 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:718 Friday 26 July 2024 21:54:54 -0400 (0:00:00.062) 0:01:01.269 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:724 Friday 26 July 2024 21:54:54 -0400 (0:00:00.066) 0:01:01.336 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Friday 26 July 2024 21:54:54 -0400 (0:00:00.063) 0:01:01.399 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Friday 26 July 2024 21:54:54 -0400 (0:00:00.069) 0:01:01.469 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:761 Friday 26 July 2024 21:54:54 -0400 (0:00:00.067) 0:01:01.536 *********** changed: [managed_node1] => (item=/tmp/ansible.xDewxa) => { "ansible_loop_var": "item", "changed": true, "checksum": "12e0223bbc7352210d3fce9ffe969c9e3ae28ee7", "dest": "/etc/pki/tls/certs/ansible.xDewxa", "gid": 994, "group": "mssql", "item": "/tmp/ansible.xDewxa", "md5sum": "f777326d58df93faed8eae3e9a4a5d6d", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1103, "src": "/root/.ansible/tmp/ansible-tmp-1722045294.59-20930-22379148089922/source", "state": "file", "uid": 996 } changed: [managed_node1] => (item=ansible.w6Z3C2) => { "ansible_loop_var": "item", "changed": true, "checksum": "ad98d726b4e85f39c806619194146d96f56cd508", "dest": "/etc/pki/tls/private/ansible.w6Z3C2", "gid": 994, "group": "mssql", "item": "ansible.w6Z3C2", "md5sum": "5032e7e3b9cd3e5674fc40f5ba3ee736", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1722045295.13-20930-153404319995642/source", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:779 Friday 26 July 2024 21:54:55 -0400 (0:00:01.148) 0:01:02.684 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:54:55 -0400 (0:00:00.171) 0:01:02.856 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002962", "end": "2024-07-26 21:54:56.102745", "failed_when_result": false, "rc": 1, "start": "2024-07-26 21:54:56.099783" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:54:56 -0400 (0:00:00.338) 0:01:03.195 *********** 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.xDewxa" ], "delta": "0:00:00.050054", "end": "2024-07-26 21:54:56.510534", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:54:56.460480" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:54:56 -0400 (0:00:00.414) 0:01:03.609 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:788 Friday 26 July 2024 21:54:56 -0400 (0:00:00.067) 0:01:03.677 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:54:56 -0400 (0:00:00.125) 0:01:03.802 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002860", "end": "2024-07-26 21:54:57.055042", "failed_when_result": false, "rc": 1, "start": "2024-07-26 21:54:57.052182" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:54:57 -0400 (0:00:00.344) 0:01:04.147 *********** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.w6Z3C2" ], "delta": "0:00:00.045952", "end": "2024-07-26 21:54:57.462503", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:54:57.416551" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:54:57 -0400 (0:00:00.412) 0:01:04.559 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:797 Friday 26 July 2024 21:54:57 -0400 (0:00:00.069) 0:01:04.629 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:54:57 -0400 (0:00:00.122) 0:01:04.752 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002943", "end": "2024-07-26 21:54:58.004341", "failed_when_result": false, "rc": 1, "start": "2024-07-26 21:54:58.001398" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:54:58 -0400 (0:00:00.344) 0:01:05.096 *********** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.046373", "end": "2024-07-26 21:54:58.399870", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:54:58.353497" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:54:58 -0400 (0:00:00.401) 0:01:05.498 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 26 July 2024 21:54:58 -0400 (0:00:00.069) 0:01:05.567 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:54:58 -0400 (0:00:00.126) 0:01:05.693 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002977", "end": "2024-07-26 21:54:58.941316", "failed_when_result": false, "rc": 1, "start": "2024-07-26 21:54:58.938339" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:54:59 -0400 (0:00:00.336) 0:01:06.030 *********** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.046461", "end": "2024-07-26 21:54:59.323204", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:54:59.276743" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:54:59 -0400 (0:00:00.390) 0:01:06.420 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:813 Friday 26 July 2024 21:54:59 -0400 (0:00:00.064) 0:01:06.485 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Friday 26 July 2024 21:54:59 -0400 (0:00:00.065) 0:01:06.551 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 26 July 2024 21:54:59 -0400 (0:00:00.062) 0:01:06.614 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 26 July 2024 21:54:59 -0400 (0:00:00.063) 0:01:06.677 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 26 July 2024 21:54:59 -0400 (0:00:00.064) 0:01:06.742 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:852 Friday 26 July 2024 21:54:59 -0400 (0:00:00.066) 0:01:06.808 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:865 Friday 26 July 2024 21:54:59 -0400 (0:00:00.063) 0:01:06.872 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:874 Friday 26 July 2024 21:54:59 -0400 (0:00:00.064) 0:01:06.936 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:886 Friday 26 July 2024 21:55:00 -0400 (0:00:00.068) 0:01:07.005 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:891 Friday 26 July 2024 21:55:00 -0400 (0:00:00.065) 0:01:07.070 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Friday 26 July 2024 21:55:00 -0400 (0:00:00.121) 0:01:07.192 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:913 Friday 26 July 2024 21:55:00 -0400 (0:00:00.062) 0:01:07.254 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:918 Friday 26 July 2024 21:55:00 -0400 (0:00:00.064) 0:01:07.319 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:924 Friday 26 July 2024 21:55:00 -0400 (0:00:00.063) 0:01:07.382 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:950 Friday 26 July 2024 21:55:00 -0400 (0:00:00.064) 0:01:07.447 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:971 Friday 26 July 2024 21:55:00 -0400 (0:00:00.064) 0:01:07.511 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:979 Friday 26 July 2024 21:55:00 -0400 (0:00:00.063) 0:01:07.575 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:989 Friday 26 July 2024 21:55:00 -0400 (0:00:00.064) 0:01:07.640 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:995 Friday 26 July 2024 21:55:00 -0400 (0:00:00.062) 0:01:07.702 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1013 Friday 26 July 2024 21:55:00 -0400 (0:00:00.064) 0:01:07.767 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Friday 26 July 2024 21:55:00 -0400 (0:00:00.063) 0:01:07.831 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1044 Friday 26 July 2024 21:55:00 -0400 (0:00:00.062) 0:01:07.893 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1097 Friday 26 July 2024 21:55:00 -0400 (0:00:00.067) 0:01:07.961 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 26 July 2024 21:55:01 -0400 (0:00:00.063) 0:01:08.025 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 26 July 2024 21:55:01 -0400 (0:00:00.064) 0:01:08.089 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Friday 26 July 2024 21:55:01 -0400 (0:00:00.063) 0:01:08.153 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1127 Friday 26 July 2024 21:55:01 -0400 (0:00:00.065) 0:01:08.219 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1135 Friday 26 July 2024 21:55:01 -0400 (0:00:00.076) 0:01:08.295 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1144 Friday 26 July 2024 21:55:01 -0400 (0:00:00.064) 0:01:08.360 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1152 Friday 26 July 2024 21:55:01 -0400 (0:00:00.062) 0:01:08.423 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1166 Friday 26 July 2024 21:55:01 -0400 (0:00:00.141) 0:01:08.565 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 26 July 2024 21:55:01 -0400 (0:00:00.066) 0:01:08.632 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1198 Friday 26 July 2024 21:55:01 -0400 (0:00:00.063) 0:01:08.696 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1207 Friday 26 July 2024 21:55:01 -0400 (0:00:00.065) 0:01:08.761 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1216 Friday 26 July 2024 21:55:01 -0400 (0:00:00.063) 0:01:08.825 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1227 Friday 26 July 2024 21:55:01 -0400 (0:00:00.068) 0:01:08.893 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 26 July 2024 21:55:01 -0400 (0:00:00.064) 0:01:08.957 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1249 Friday 26 July 2024 21:55:02 -0400 (0:00:00.067) 0:01:09.025 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 26 July 2024 21:55:02 -0400 (0:00:00.064) 0:01:09.089 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1263 Friday 26 July 2024 21:55:02 -0400 (0:00:00.066) 0:01:09.156 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1271 Friday 26 July 2024 21:55:02 -0400 (0:00:00.064) 0:01:09.221 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1278 Friday 26 July 2024 21:55:02 -0400 (0:00:00.063) 0:01:09.285 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1290 Friday 26 July 2024 21:55:02 -0400 (0:00:00.083) 0:01:09.368 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1299 Friday 26 July 2024 21:55:02 -0400 (0:00:00.064) 0:01:09.433 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1306 Friday 26 July 2024 21:55:02 -0400 (0:00:00.066) 0:01:09.499 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 26 July 2024 21:55:02 -0400 (0:00:00.064) 0:01:09.564 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1320 Friday 26 July 2024 21:55:02 -0400 (0:00:00.065) 0:01:09.629 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 26 July 2024 21:55:02 -0400 (0:00:00.075) 0:01:09.704 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1345 Friday 26 July 2024 21:55:02 -0400 (0:00:00.061) 0:01:09.766 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1350 Friday 26 July 2024 21:55:02 -0400 (0:00:00.129) 0:01:09.895 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1356 Friday 26 July 2024 21:55:02 -0400 (0:00:00.065) 0:01:09.961 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1365 Friday 26 July 2024 21:55:03 -0400 (0:00:00.068) 0:01:10.029 *********** changed: [managed_node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 26 July 2024 21:55:03 -0400 (0:00:00.511) 0:01:10.541 *********** changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-07-26 21:54:43 EDT", "ActiveEnterTimestampMonotonic": "1619974965", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket auditd.service basic.target network.target system.slice -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-07-26 21:54:43 EDT", "AssertTimestampMonotonic": "1619973683", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-07-26 21:54:43 EDT", "ConditionTimestampMonotonic": "1619973682", "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": "9435", "ExecMainStartTimestamp": "Fri 2024-07-26 21:54:43 EDT", "ExecMainStartTimestampMonotonic": "1619974908", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-07-26 21:54:43 EDT", "InactiveExitTimestampMonotonic": "1619974965", "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": "9435", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-07-26 21:54:43 EDT", "WatchdogTimestampMonotonic": "1619974946", "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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 26 July 2024 21:55:05 -0400 (0:00:01.548) 0:01:12.089 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1385 Friday 26 July 2024 21:55:05 -0400 (0:00:00.061) 0:01:12.151 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove a private key from the playbook directory] ************************ task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:68 Friday 26 July 2024 21:55:05 -0400 (0:00:00.065) 0:01:12.217 *********** changed: [managed_node1 -> localhost] => { "changed": true, "path": "ansible.w6Z3C2", "state": "absent" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:75 Friday 26 July 2024 21:55:05 -0400 (0:00:00.377) 0:01:12.594 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:3 Friday 26 July 2024 21:55:05 -0400 (0:00:00.111) 0:01:12.706 *********** changed: [managed_node1] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:10 Friday 26 July 2024 21:55:06 -0400 (0:00:00.737) 0:01:13.444 *********** changed: [managed_node1] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:17 Friday 26 July 2024 21:55:07 -0400 (0:00:00.693) 0:01:14.137 *********** ok: [managed_node1] => { "changed": false, "name": null, "status": {} } TASK [Verify connectivity and settings] **************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:78 Friday 26 July 2024 21:55:07 -0400 (0:00:00.819) 0:01:14.957 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 26 July 2024 21:55:08 -0400 (0:00:00.142) 0:01:15.100 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 26 July 2024 21:55:08 -0400 (0:00:00.060) 0:01:15.161 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 26 July 2024 21:55:08 -0400 (0:00:00.064) 0:01:15.225 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 26 July 2024 21:55:08 -0400 (0:00:00.063) 0:01:15.289 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 26 July 2024 21:55:08 -0400 (0:00:00.064) 0:01:15.353 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 26 July 2024 21:55:08 -0400 (0:00:00.063) 0:01:15.416 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 26 July 2024 21:55:08 -0400 (0:00:00.062) 0:01:15.479 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 26 July 2024 21:55:08 -0400 (0:00:00.062) 0:01:15.542 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 26 July 2024 21:55:08 -0400 (0:00:00.063) 0:01:15.605 *********** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 26 July 2024 21:55:08 -0400 (0:00:00.175) 0:01:15.781 *********** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-07-26 21:55:04 EDT", "ActiveEnterTimestampMonotonic": "1641313837", "ActiveExitTimestamp": "Fri 2024-07-26 21:55:03 EDT", "ActiveExitTimestampMonotonic": "1640271402", "ActiveState": "active", "After": "systemd-journald.socket system.slice -.mount basic.target auditd.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-07-26 21:55:04 EDT", "AssertTimestampMonotonic": "1641313259", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-07-26 21:55:04 EDT", "ConditionTimestampMonotonic": "1641313257", "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": "10660", "ExecMainStartTimestamp": "Fri 2024-07-26 21:55:04 EDT", "ExecMainStartTimestampMonotonic": "1641313781", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-07-26 21:55:04 EDT", "InactiveEnterTimestampMonotonic": "1641311960", "InactiveExitTimestamp": "Fri 2024-07-26 21:55:04 EDT", "InactiveExitTimestampMonotonic": "1641313837", "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": "10660", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-07-26 21:55:04 EDT", "WatchdogTimestampMonotonic": "1641313818", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 26 July 2024 21:55:09 -0400 (0:00:00.446) 0:01:16.227 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003056", "end": "2024-07-26 21:55:09.475325", "failed_when_result": false, "rc": 1, "start": "2024-07-26 21:55:09.472269" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 26 July 2024 21:55:09 -0400 (0:00:00.338) 0:01:16.566 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002992", "end": "2024-07-26 21:55:09.812921", "failed_when_result": false, "rc": 1, "start": "2024-07-26 21:55:09.809929" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 26 July 2024 21:55:09 -0400 (0:00:00.335) 0:01:16.901 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 26 July 2024 21:55:09 -0400 (0:00:00.081) 0:01:16.983 *********** 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": 6355, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 26 July 2024 21:55:11 -0400 (0:00:01.517) 0:01:18.500 *********** 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.030774", "end": "2024-07-26 21:55:11.779160", "rc": 0, "start": "2024-07-26 21:55:11.748386" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 26 July 2024 21:55:11 -0400 (0:00:00.377) 0:01:18.878 *********** ok: [managed_node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 26 July 2024 21:55:11 -0400 (0:00:00.068) 0:01:18.946 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 26 July 2024 21:55:12 -0400 (0:00:00.117) 0:01:19.063 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 26 July 2024 21:55:12 -0400 (0:00:00.062) 0:01:19.126 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 26 July 2024 21:55:12 -0400 (0:00:00.071) 0:01:19.198 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 26 July 2024 21:55:12 -0400 (0:00:00.062) 0:01:19.261 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 26 July 2024 21:55:12 -0400 (0:00:00.063) 0:01:19.324 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 26 July 2024 21:55:12 -0400 (0:00:00.065) 0:01:19.389 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 26 July 2024 21:55:12 -0400 (0:00:00.063) 0:01:19.453 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 26 July 2024 21:55:12 -0400 (0:00:00.119) 0:01:19.572 *********** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004125", "end": "2024-07-26 21:55:12.826208", "rc": 0, "start": "2024-07-26 21:55:12.822083" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.xDewxa TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 26 July 2024 21:55:12 -0400 (0:00:00.348) 0:01:19.921 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 26 July 2024 21:55:13 -0400 (0:00:00.082) 0:01:20.004 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.xDewxa] ***************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 26 July 2024 21:55:13 -0400 (0:00:00.071) 0:01:20.075 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 26 July 2024 21:55:13 -0400 (0:00:00.063) 0:01:20.139 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 26 July 2024 21:55:13 -0400 (0:00:00.118) 0:01:20.258 *********** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004121", "end": "2024-07-26 21:55:13.526222", "rc": 0, "start": "2024-07-26 21:55:13.522101" } STDOUT: tlskey = /etc/pki/tls/private/ansible.w6Z3C2 TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 26 July 2024 21:55:13 -0400 (0:00:00.362) 0:01:20.620 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 26 July 2024 21:55:13 -0400 (0:00:00.085) 0:01:20.705 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.w6Z3C2] *************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 26 July 2024 21:55:13 -0400 (0:00:00.128) 0:01:20.834 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 26 July 2024 21:55:13 -0400 (0:00:00.065) 0:01:20.900 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 26 July 2024 21:55:14 -0400 (0:00:00.123) 0:01:21.024 *********** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004189", "end": "2024-07-26 21:55:14.294335", "rc": 0, "start": "2024-07-26 21:55:14.290146" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 26 July 2024 21:55:14 -0400 (0:00:00.359) 0:01:21.383 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 26 July 2024 21:55:14 -0400 (0:00:00.081) 0:01:21.464 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 26 July 2024 21:55:14 -0400 (0:00:00.071) 0:01:21.535 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 26 July 2024 21:55:14 -0400 (0:00:00.063) 0:01:21.599 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 26 July 2024 21:55:14 -0400 (0:00:00.123) 0:01:21.722 *********** ok: [managed_node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004283", "end": "2024-07-26 21:55:14.969463", "rc": 0, "start": "2024-07-26 21:55:14.965180" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 26 July 2024 21:55:15 -0400 (0:00:00.342) 0:01:22.064 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 26 July 2024 21:55:15 -0400 (0:00:00.064) 0:01:22.129 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 26 July 2024 21:55:15 -0400 (0:00:00.083) 0:01:22.212 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 26 July 2024 21:55:15 -0400 (0:00:00.065) 0:01:22.277 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:85 Friday 26 July 2024 21:55:15 -0400 (0:00:00.063) 0:01:22.341 *********** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 26 July 2024 21:55:15 -0400 (0:00:00.377) 0:01:22.718 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 26 July 2024 21:55:15 -0400 (0:00:00.108) 0:01:22.827 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 26 July 2024 21:55:15 -0400 (0:00:00.084) 0:01:22.912 *********** 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.cPXx8LCCu6/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.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 26 July 2024 21:55:16 -0400 (0:00:00.103) 0:01:23.016 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 26 July 2024 21:55:16 -0400 (0:00:00.063) 0:01:23.079 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 26 July 2024 21:55:16 -0400 (0:00:00.063) 0:01:23.142 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 26 July 2024 21:55:16 -0400 (0:00:00.061) 0:01:23.204 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 26 July 2024 21:55:16 -0400 (0:00:00.062) 0:01:23.267 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 26 July 2024 21:55:16 -0400 (0:00:00.064) 0:01:23.332 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 26 July 2024 21:55:16 -0400 (0:00:00.061) 0:01:23.393 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 26 July 2024 21:55:16 -0400 (0:00:00.068) 0:01:23.461 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 26 July 2024 21:55:16 -0400 (0:00:00.063) 0:01:23.525 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 26 July 2024 21:55:16 -0400 (0:00:00.065) 0:01:23.590 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:81 Friday 26 July 2024 21:55:16 -0400 (0:00:00.071) 0:01:23.661 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:89 Friday 26 July 2024 21:55:16 -0400 (0:00:00.065) 0:01:23.727 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:98 Friday 26 July 2024 21:55:16 -0400 (0:00:00.064) 0:01:23.792 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:107 Friday 26 July 2024 21:55:16 -0400 (0:00:00.130) 0:01:23.923 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:117 Friday 26 July 2024 21:55:16 -0400 (0:00:00.067) 0:01:23.990 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:126 Friday 26 July 2024 21:55:17 -0400 (0:00:00.068) 0:01:24.059 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Friday 26 July 2024 21:55:17 -0400 (0:00:00.066) 0:01:24.126 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:141 Friday 26 July 2024 21:55:18 -0400 (0:00:01.182) 0:01:25.309 *********** ok: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed_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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:149 Friday 26 July 2024 21:55:18 -0400 (0:00:00.186) 0:01:25.495 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 26 July 2024 21:55:18 -0400 (0:00:00.065) 0:01:25.561 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 26 July 2024 21:55:18 -0400 (0:00:00.073) 0:01:25.634 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:177 Friday 26 July 2024 21:55:18 -0400 (0:00:00.123) 0:01:25.758 *********** ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:191 Friday 26 July 2024 21:55:19 -0400 (0:00:00.580) 0:01:26.338 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:201 Friday 26 July 2024 21:55:19 -0400 (0:00:00.070) 0:01:26.408 *********** 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 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:212 Friday 26 July 2024 21:55:19 -0400 (0:00:00.070) 0:01:26.479 *********** 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 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 26 July 2024 21:55:19 -0400 (0:00:00.070) 0:01:26.550 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:235 Friday 26 July 2024 21:55:19 -0400 (0:00:00.065) 0:01:26.616 *********** 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 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:247 Friday 26 July 2024 21:55:19 -0400 (0:00:00.071) 0:01:26.687 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 26 July 2024 21:55:19 -0400 (0:00:00.068) 0:01:26.755 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:266 Friday 26 July 2024 21:55:19 -0400 (0:00:00.094) 0:01:26.849 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 26 July 2024 21:55:19 -0400 (0:00:00.067) 0:01:26.917 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:284 Friday 26 July 2024 21:55:20 -0400 (0:00:00.587) 0:01:27.505 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:292 Friday 26 July 2024 21:55:21 -0400 (0:00:00.550) 0:01:28.055 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:300 Friday 26 July 2024 21:55:21 -0400 (0:00:00.066) 0:01:28.121 *********** 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.004702", "end": "2024-07-26 21:55:21.373816", "rc": 0, "start": "2024-07-26 21:55:21.369114" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:316 Friday 26 July 2024 21:55:21 -0400 (0:00:00.345) 0:01:28.466 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:320 Friday 26 July 2024 21:55:22 -0400 (0:00:00.948) 0:01:29.415 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:329 Friday 26 July 2024 21:55:22 -0400 (0:00:00.092) 0:01:29.507 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:345 Friday 26 July 2024 21:55:22 -0400 (0:00:00.065) 0:01:29.573 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:370 Friday 26 July 2024 21:55:22 -0400 (0:00:00.066) 0:01:29.639 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:385 Friday 26 July 2024 21:55:22 -0400 (0:00:00.082) 0:01:29.721 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 26 July 2024 21:55:22 -0400 (0:00:00.064) 0:01:29.785 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:410 Friday 26 July 2024 21:55:22 -0400 (0:00:00.067) 0:01:29.853 *********** 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" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Friday 26 July 2024 21:55:23 -0400 (0:00:00.548) 0:01:30.402 *********** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-07-26 21:27:56 EDT", "ActiveEnterTimestampMonotonic": "12916852", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service systemd-journald.socket system.slice basic.target systemd-sysctl.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-07-26 21:27:55 EDT", "AssertTimestampMonotonic": "12241781", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-07-26 21:27:55 EDT", "ConditionTimestampMonotonic": "12241780", "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": "853", "ExecMainStartTimestamp": "Fri 2024-07-26 21:27:55 EDT", "ExecMainStartTimestampMonotonic": "12243873", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-07-26 21:27:55 EDT", "InactiveExitTimestampMonotonic": "12243909", "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": "853", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice polkit.service basic.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-07-26 21:27:56 EDT", "WatchdogTimestampMonotonic": "12916740", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 26 July 2024 21:55:23 -0400 (0:00:00.439) 0:01:30.841 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.083652", "end": "2024-07-26 21:55:24.168521", "rc": 0, "start": "2024-07-26 21:55:24.084869" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Friday 26 July 2024 21:55:24 -0400 (0:00:00.423) 0:01:31.264 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:449 Friday 26 July 2024 21:55:24 -0400 (0:00:00.068) 0:01:31.333 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Friday 26 July 2024 21:55:24 -0400 (0:00:00.067) 0:01:31.400 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:468 Friday 26 July 2024 21:55:24 -0400 (0:00:00.132) 0:01:31.533 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:476 Friday 26 July 2024 21:55:24 -0400 (0:00:00.342) 0:01:31.876 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:485 Friday 26 July 2024 21:55:24 -0400 (0:00:00.066) 0:01:31.942 *********** 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" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:497 Friday 26 July 2024 21:55:25 -0400 (0:00:00.545) 0:01:32.487 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:501 Friday 26 July 2024 21:55:25 -0400 (0:00:00.068) 0:01:32.555 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:507 Friday 26 July 2024 21:55:25 -0400 (0:00:00.065) 0:01:32.621 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:522 Friday 26 July 2024 21:55:25 -0400 (0:00:00.068) 0:01:32.690 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 26 July 2024 21:55:25 -0400 (0:00:00.068) 0:01:32.758 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:537 Friday 26 July 2024 21:55:25 -0400 (0:00:00.067) 0:01:32.826 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:558 Friday 26 July 2024 21:55:25 -0400 (0:00:00.067) 0:01:32.893 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 26 July 2024 21:55:25 -0400 (0:00:00.066) 0:01:32.960 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:576 Friday 26 July 2024 21:55:26 -0400 (0:00:00.067) 0:01:33.027 *********** 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.004667", "end": "2024-07-26 21:55:26.271198", "rc": 0, "start": "2024-07-26 21:55:26.266531" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Friday 26 July 2024 21:55:26 -0400 (0:00:00.334) 0:01:33.362 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 26 July 2024 21:55:26 -0400 (0:00:00.072) 0:01:33.434 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 26 July 2024 21:55:27 -0400 (0:00:01.248) 0:01:34.682 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:622 Friday 26 July 2024 21:55:27 -0400 (0:00:00.070) 0:01:34.753 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 26 July 2024 21:55:27 -0400 (0:00:00.068) 0:01:34.822 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 26 July 2024 21:55:27 -0400 (0:00:00.068) 0:01:34.890 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 26 July 2024 21:55:27 -0400 (0:00:00.068) 0:01:34.959 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:55:28 -0400 (0:00:00.122) 0:01:35.082 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003017", "end": "2024-07-26 21:55:28.336294", "failed_when_result": false, "rc": 1, "start": "2024-07-26 21:55:28.333277" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:55:28 -0400 (0:00:00.349) 0:01:35.431 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.044821", "end": "2024-07-26 21:55:28.735731", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:55:28.690910" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:55:28 -0400 (0:00:00.413) 0:01:35.844 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:654 Friday 26 July 2024 21:55:28 -0400 (0:00:00.067) 0:01:35.911 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Friday 26 July 2024 21:55:29 -0400 (0:00:00.128) 0:01:36.040 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 26 July 2024 21:55:29 -0400 (0:00:00.070) 0:01:36.111 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 26 July 2024 21:55:29 -0400 (0:00:00.070) 0:01:36.181 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:697 Friday 26 July 2024 21:55:29 -0400 (0:00:00.068) 0:01:36.250 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:703 Friday 26 July 2024 21:55:29 -0400 (0:00:00.066) 0:01:36.316 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 26 July 2024 21:55:29 -0400 (0:00:00.070) 0:01:36.386 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:718 Friday 26 July 2024 21:55:29 -0400 (0:00:00.067) 0:01:36.454 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:724 Friday 26 July 2024 21:55:29 -0400 (0:00:00.068) 0:01:36.522 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Friday 26 July 2024 21:55:29 -0400 (0:00:00.067) 0:01:36.590 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Friday 26 July 2024 21:55:29 -0400 (0:00:00.071) 0:01:36.661 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:761 Friday 26 July 2024 21:55:29 -0400 (0:00:00.069) 0:01:36.730 *********** skipping: [managed_node1] => (item=/tmp/ansible.xDewxa) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.xDewxa", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ansible.w6Z3C2) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.w6Z3C2", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:779 Friday 26 July 2024 21:55:29 -0400 (0:00:00.084) 0:01:36.815 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:55:29 -0400 (0:00:00.122) 0:01:36.937 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003048", "end": "2024-07-26 21:55:30.188718", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:55:30.185670" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.xDewxa TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:55:30 -0400 (0:00:00.345) 0:01:37.283 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:55:30 -0400 (0:00:00.076) 0:01:37.359 *********** 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.046052", "end": "2024-07-26 21:55:30.656678", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:55:30.610626" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:788 Friday 26 July 2024 21:55:30 -0400 (0:00:00.395) 0:01:37.754 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:55:30 -0400 (0:00:00.188) 0:01:37.943 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003059", "end": "2024-07-26 21:55:31.190438", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:55:31.187379" } STDOUT: tlskey = /etc/pki/tls/private/ansible.w6Z3C2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:55:31 -0400 (0:00:00.343) 0:01:38.286 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:55:31 -0400 (0:00:00.075) 0:01:38.361 *********** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.046203", "end": "2024-07-26 21:55:31.665282", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:55:31.619079" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:797 Friday 26 July 2024 21:55:31 -0400 (0:00:00.401) 0:01:38.763 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:55:31 -0400 (0:00:00.131) 0:01:38.894 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003073", "end": "2024-07-26 21:55:32.161954", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:55:32.158881" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:55:32 -0400 (0:00:00.361) 0:01:39.256 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:55:32 -0400 (0:00:00.077) 0:01:39.333 *********** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.045263", "end": "2024-07-26 21:55:32.638683", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:55:32.593420" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 26 July 2024 21:55:32 -0400 (0:00:00.406) 0:01:39.740 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:55:32 -0400 (0:00:00.132) 0:01:39.873 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002987", "end": "2024-07-26 21:55:33.130215", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:55:33.127228" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:55:33 -0400 (0:00:00.352) 0:01:40.226 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:55:33 -0400 (0:00:00.131) 0:01:40.357 *********** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.046403", "end": "2024-07-26 21:55:33.660148", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:55:33.613745" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:813 Friday 26 July 2024 21:55:33 -0400 (0:00:00.402) 0:01:40.759 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Friday 26 July 2024 21:55:33 -0400 (0:00:00.067) 0:01:40.826 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 26 July 2024 21:55:33 -0400 (0:00:00.065) 0:01:40.892 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 26 July 2024 21:55:33 -0400 (0:00:00.066) 0:01:40.959 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 26 July 2024 21:55:34 -0400 (0:00:00.070) 0:01:41.029 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:852 Friday 26 July 2024 21:55:34 -0400 (0:00:00.068) 0:01:41.097 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:865 Friday 26 July 2024 21:55:34 -0400 (0:00:00.071) 0:01:41.168 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:874 Friday 26 July 2024 21:55:34 -0400 (0:00:00.066) 0:01:41.234 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:886 Friday 26 July 2024 21:55:34 -0400 (0:00:00.067) 0:01:41.302 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:891 Friday 26 July 2024 21:55:34 -0400 (0:00:00.069) 0:01:41.372 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Friday 26 July 2024 21:55:34 -0400 (0:00:00.066) 0:01:41.438 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:913 Friday 26 July 2024 21:55:34 -0400 (0:00:00.069) 0:01:41.507 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:918 Friday 26 July 2024 21:55:34 -0400 (0:00:00.066) 0:01:41.574 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:924 Friday 26 July 2024 21:55:34 -0400 (0:00:00.065) 0:01:41.640 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:950 Friday 26 July 2024 21:55:34 -0400 (0:00:00.066) 0:01:41.706 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:971 Friday 26 July 2024 21:55:34 -0400 (0:00:00.067) 0:01:41.773 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:979 Friday 26 July 2024 21:55:34 -0400 (0:00:00.136) 0:01:41.909 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:989 Friday 26 July 2024 21:55:34 -0400 (0:00:00.066) 0:01:41.976 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:995 Friday 26 July 2024 21:55:35 -0400 (0:00:00.069) 0:01:42.046 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1013 Friday 26 July 2024 21:55:35 -0400 (0:00:00.064) 0:01:42.111 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Friday 26 July 2024 21:55:35 -0400 (0:00:00.068) 0:01:42.180 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1044 Friday 26 July 2024 21:55:35 -0400 (0:00:00.066) 0:01:42.247 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1097 Friday 26 July 2024 21:55:35 -0400 (0:00:00.069) 0:01:42.316 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 26 July 2024 21:55:35 -0400 (0:00:00.069) 0:01:42.385 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 26 July 2024 21:55:35 -0400 (0:00:00.064) 0:01:42.450 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Friday 26 July 2024 21:55:35 -0400 (0:00:00.069) 0:01:42.519 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1127 Friday 26 July 2024 21:55:35 -0400 (0:00:00.064) 0:01:42.584 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1135 Friday 26 July 2024 21:55:35 -0400 (0:00:00.080) 0:01:42.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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1144 Friday 26 July 2024 21:55:35 -0400 (0:00:00.069) 0:01:42.734 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1152 Friday 26 July 2024 21:55:35 -0400 (0:00:00.067) 0:01:42.801 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1166 Friday 26 July 2024 21:55:35 -0400 (0:00:00.085) 0:01:42.886 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 26 July 2024 21:55:35 -0400 (0:00:00.065) 0:01:42.951 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1198 Friday 26 July 2024 21:55:36 -0400 (0:00:00.067) 0:01:43.019 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1207 Friday 26 July 2024 21:55:36 -0400 (0:00:00.064) 0:01:43.083 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1216 Friday 26 July 2024 21:55:36 -0400 (0:00:00.067) 0:01:43.151 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1227 Friday 26 July 2024 21:55:36 -0400 (0:00:00.139) 0:01:43.290 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 26 July 2024 21:55:36 -0400 (0:00:00.067) 0:01:43.357 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1249 Friday 26 July 2024 21:55:36 -0400 (0:00:00.072) 0:01:43.430 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 26 July 2024 21:55:36 -0400 (0:00:00.066) 0:01:43.496 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1263 Friday 26 July 2024 21:55:36 -0400 (0:00:00.068) 0:01:43.564 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1271 Friday 26 July 2024 21:55:36 -0400 (0:00:00.065) 0:01:43.630 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1278 Friday 26 July 2024 21:55:36 -0400 (0:00:00.071) 0:01:43.702 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1290 Friday 26 July 2024 21:55:36 -0400 (0:00:00.087) 0:01:43.789 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1299 Friday 26 July 2024 21:55:36 -0400 (0:00:00.066) 0:01:43.856 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1306 Friday 26 July 2024 21:55:36 -0400 (0:00:00.067) 0:01:43.923 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 26 July 2024 21:55:36 -0400 (0:00:00.065) 0:01:43.989 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1320 Friday 26 July 2024 21:55:37 -0400 (0:00:00.070) 0:01:44.059 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 26 July 2024 21:55:37 -0400 (0:00:00.078) 0:01:44.138 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1345 Friday 26 July 2024 21:55:37 -0400 (0:00:00.065) 0:01:44.204 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1350 Friday 26 July 2024 21:55:37 -0400 (0:00:00.068) 0:01:44.272 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1356 Friday 26 July 2024 21:55:37 -0400 (0:00:00.066) 0:01:44.338 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1365 Friday 26 July 2024 21:55:37 -0400 (0:00:00.070) 0:01:44.409 *********** changed: [managed_node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 26 July 2024 21:55:37 -0400 (0:00:00.516) 0:01:44.926 *********** changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-07-26 21:55:04 EDT", "ActiveEnterTimestampMonotonic": "1641313837", "ActiveExitTimestamp": "Fri 2024-07-26 21:55:03 EDT", "ActiveExitTimestampMonotonic": "1640271402", "ActiveState": "active", "After": "systemd-journald.socket system.slice -.mount basic.target auditd.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-07-26 21:55:04 EDT", "AssertTimestampMonotonic": "1641313259", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-07-26 21:55:04 EDT", "ConditionTimestampMonotonic": "1641313257", "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": "10660", "ExecMainStartTimestamp": "Fri 2024-07-26 21:55:04 EDT", "ExecMainStartTimestampMonotonic": "1641313781", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-07-26 21:55:04 EDT", "InactiveEnterTimestampMonotonic": "1641311960", "InactiveExitTimestamp": "Fri 2024-07-26 21:55:04 EDT", "InactiveExitTimestampMonotonic": "1641313837", "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": "10660", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-07-26 21:55:04 EDT", "WatchdogTimestampMonotonic": "1641313818", "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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 26 July 2024 21:55:38 -0400 (0:00:00.845) 0:01:45.772 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1385 Friday 26 July 2024 21:55:38 -0400 (0:00:00.067) 0:01:45.839 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:92 Friday 26 July 2024 21:55:38 -0400 (0:00:00.071) 0:01:45.910 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 26 July 2024 21:55:39 -0400 (0:00:00.243) 0:01:46.154 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 26 July 2024 21:55:39 -0400 (0:00:00.066) 0:01:46.220 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 26 July 2024 21:55:39 -0400 (0:00:00.063) 0:01:46.284 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 26 July 2024 21:55:39 -0400 (0:00:00.070) 0:01:46.355 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 26 July 2024 21:55:39 -0400 (0:00:00.068) 0:01:46.423 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 26 July 2024 21:55:39 -0400 (0:00:00.065) 0:01:46.490 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 26 July 2024 21:55:39 -0400 (0:00:00.065) 0:01:46.555 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 26 July 2024 21:55:39 -0400 (0:00:00.066) 0:01:46.622 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 26 July 2024 21:55:39 -0400 (0:00:00.067) 0:01:46.689 *********** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 26 July 2024 21:55:39 -0400 (0:00:00.187) 0:01:46.877 *********** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-07-26 21:55:38 EDT", "ActiveEnterTimestampMonotonic": "1675002264", "ActiveExitTimestamp": "Fri 2024-07-26 21:55:38 EDT", "ActiveExitTimestampMonotonic": "1674782437", "ActiveState": "active", "After": "systemd-journald.socket system.slice -.mount basic.target auditd.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-07-26 21:55:38 EDT", "AssertTimestampMonotonic": "1675001482", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-07-26 21:55:38 EDT", "ConditionTimestampMonotonic": "1675001481", "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": "12846", "ExecMainStartTimestamp": "Fri 2024-07-26 21:55:38 EDT", "ExecMainStartTimestampMonotonic": "1675002198", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-07-26 21:55:38 EDT] ; stop_time=[n/a] ; pid=12846 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-07-26 21:55:38 EDT", "InactiveEnterTimestampMonotonic": "1674999515", "InactiveExitTimestamp": "Fri 2024-07-26 21:55:38 EDT", "InactiveExitTimestampMonotonic": "1675002264", "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": "12846", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-07-26 21:55:38 EDT", "WatchdogTimestampMonotonic": "1675002241", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 26 July 2024 21:55:40 -0400 (0:00:00.811) 0:01:47.688 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004550", "end": "2024-07-26 21:55:41.055582", "failed_when_result": false, "rc": 1, "start": "2024-07-26 21:55:41.051032" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 26 July 2024 21:55:41 -0400 (0:00:00.475) 0:01:48.163 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003935", "end": "2024-07-26 21:55:41.869801", "failed_when_result": false, "rc": 1, "start": "2024-07-26 21:55:41.865866" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 26 July 2024 21:55:42 -0400 (0:00:00.845) 0:01:49.009 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 26 July 2024 21:55:42 -0400 (0:00:00.083) 0:01:49.093 *********** 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": 6265, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 26 July 2024 21:55:43 -0400 (0:00:01.416) 0:01:50.509 *********** 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.030410", "end": "2024-07-26 21:55:43.787882", "rc": 0, "start": "2024-07-26 21:55:43.757472" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 26 July 2024 21:55:43 -0400 (0:00:00.378) 0:01:50.888 *********** ok: [managed_node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 26 July 2024 21:55:44 -0400 (0:00:00.132) 0:01:51.020 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 26 July 2024 21:55:44 -0400 (0:00:00.067) 0:01:51.088 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 26 July 2024 21:55:44 -0400 (0:00:00.069) 0:01:51.157 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 26 July 2024 21:55:44 -0400 (0:00:00.068) 0:01:51.226 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 26 July 2024 21:55:44 -0400 (0:00:00.068) 0:01:51.295 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 26 July 2024 21:55:44 -0400 (0:00:00.065) 0:01:51.361 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 26 July 2024 21:55:44 -0400 (0:00:00.069) 0:01:51.430 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 26 July 2024 21:55:44 -0400 (0:00:00.066) 0:01:51.497 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 26 July 2024 21:55:44 -0400 (0:00:00.118) 0:01:51.616 *********** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004120", "end": "2024-07-26 21:55:44.868227", "rc": 0, "start": "2024-07-26 21:55:44.864107" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 26 July 2024 21:55:44 -0400 (0:00:00.346) 0:01:51.963 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 26 July 2024 21:55:45 -0400 (0:00:00.086) 0:01:52.049 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 26 July 2024 21:55:45 -0400 (0:00:00.072) 0:01:52.122 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 26 July 2024 21:55:45 -0400 (0:00:00.073) 0:01:52.195 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 26 July 2024 21:55:45 -0400 (0:00:00.124) 0:01:52.320 *********** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003901", "end": "2024-07-26 21:55:45.567100", "rc": 0, "start": "2024-07-26 21:55:45.563199" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 26 July 2024 21:55:45 -0400 (0:00:00.342) 0:01:52.662 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 26 July 2024 21:55:45 -0400 (0:00:00.153) 0:01:52.815 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 26 July 2024 21:55:45 -0400 (0:00:00.075) 0:01:52.890 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 26 July 2024 21:55:45 -0400 (0:00:00.072) 0:01:52.962 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 26 July 2024 21:55:46 -0400 (0:00:00.129) 0:01:53.092 *********** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003964", "end": "2024-07-26 21:55:46.340578", "rc": 0, "start": "2024-07-26 21:55:46.336614" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 26 July 2024 21:55:46 -0400 (0:00:00.341) 0:01:53.434 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 26 July 2024 21:55:46 -0400 (0:00:00.088) 0:01:53.522 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 26 July 2024 21:55:46 -0400 (0:00:00.075) 0:01:53.597 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 26 July 2024 21:55:46 -0400 (0:00:00.073) 0:01:53.671 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 26 July 2024 21:55:46 -0400 (0:00:00.130) 0:01:53.802 *********** ok: [managed_node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003990", "end": "2024-07-26 21:55:47.058707", "rc": 0, "start": "2024-07-26 21:55:47.054717" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 26 July 2024 21:55:47 -0400 (0:00:00.351) 0:01:54.153 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 26 July 2024 21:55:47 -0400 (0:00:00.074) 0:01:54.228 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 26 July 2024 21:55:47 -0400 (0:00:00.088) 0:01:54.317 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 26 July 2024 21:55:47 -0400 (0:00:00.069) 0:01:54.386 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove certificates from hosts] ****************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:99 Friday 26 July 2024 21:55:47 -0400 (0:00:00.068) 0:01:54.455 *********** changed: [managed_node1] => (item=/etc/pki/tls/certs/ansible.xDewxa) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/certs/ansible.xDewxa", "path": "/etc/pki/tls/certs/ansible.xDewxa", "state": "absent" } changed: [managed_node1] => (item=/etc/pki/tls/private/ansible.w6Z3C2) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/private/ansible.w6Z3C2", "path": "/etc/pki/tls/private/ansible.w6Z3C2", "state": "absent" } TASK [Copy certificates to hosts] ********************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:107 Friday 26 July 2024 21:55:48 -0400 (0:00:00.641) 0:01:55.096 *********** ok: [managed_node1] => (item=/tmp/ansible.xDewxa) => { "ansible_loop_var": "item", "changed": false, "checksum": "12e0223bbc7352210d3fce9ffe969c9e3ae28ee7", "dest": "/tmp/ansible.xDewxa", "gid": 0, "group": "root", "item": "/tmp/ansible.xDewxa", "mode": "0600", "owner": "root", "path": "/tmp/ansible.xDewxa", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1103, "state": "file", "uid": 0 } ok: [managed_node1] => (item=/tmp/ansible.w6Z3C2) => { "ansible_loop_var": "item", "changed": false, "checksum": "ad98d726b4e85f39c806619194146d96f56cd508", "dest": "/tmp/ansible.w6Z3C2", "gid": 0, "group": "root", "item": "/tmp/ansible.w6Z3C2", "mode": "0600", "owner": "root", "path": "/tmp/ansible.w6Z3C2", "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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:116 Friday 26 July 2024 21:55:49 -0400 (0:00:01.044) 0:01:56.140 *********** ok: [managed_node1] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.xDewxa", "mssql_tls_private_key": "ansible.w6Z3C2" }, "changed": false } TASK [Test with certs on managed nodes] **************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:121 Friday 26 July 2024 21:55:49 -0400 (0:00:00.071) 0:01:56.212 *********** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 26 July 2024 21:55:49 -0400 (0:00:00.576) 0:01:56.788 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 26 July 2024 21:55:49 -0400 (0:00:00.113) 0:01:56.901 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 26 July 2024 21:55:50 -0400 (0:00:00.168) 0:01:57.069 *********** 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.cPXx8LCCu6/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.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 26 July 2024 21:55:50 -0400 (0:00:00.109) 0:01:57.179 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 26 July 2024 21:55:50 -0400 (0:00:00.072) 0:01:57.252 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 26 July 2024 21:55:50 -0400 (0:00:00.069) 0:01:57.321 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 26 July 2024 21:55:50 -0400 (0:00:00.074) 0:01:57.395 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 26 July 2024 21:55:50 -0400 (0:00:00.069) 0:01:57.465 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 26 July 2024 21:55:50 -0400 (0:00:00.066) 0:01:57.531 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 26 July 2024 21:55:50 -0400 (0:00:00.068) 0:01:57.600 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 26 July 2024 21:55:50 -0400 (0:00:00.065) 0:01:57.666 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 26 July 2024 21:55:50 -0400 (0:00:00.068) 0:01:57.734 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 26 July 2024 21:55:50 -0400 (0:00:00.067) 0:01:57.802 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:81 Friday 26 July 2024 21:55:50 -0400 (0:00:00.076) 0:01:57.879 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:89 Friday 26 July 2024 21:55:50 -0400 (0:00:00.068) 0:01:57.947 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:98 Friday 26 July 2024 21:55:51 -0400 (0:00:00.064) 0:01:58.012 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:107 Friday 26 July 2024 21:55:51 -0400 (0:00:00.067) 0:01:58.080 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:117 Friday 26 July 2024 21:55:51 -0400 (0:00:00.066) 0:01:58.147 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:126 Friday 26 July 2024 21:55:51 -0400 (0:00:00.070) 0:01:58.217 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Friday 26 July 2024 21:55:51 -0400 (0:00:00.067) 0:01:58.285 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:141 Friday 26 July 2024 21:55:52 -0400 (0:00:01.269) 0:01:59.555 *********** ok: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed_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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:149 Friday 26 July 2024 21:55:52 -0400 (0:00:00.194) 0:01:59.749 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 26 July 2024 21:55:52 -0400 (0:00:00.071) 0:01:59.821 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 26 July 2024 21:55:52 -0400 (0:00:00.076) 0:01:59.897 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:177 Friday 26 July 2024 21:55:53 -0400 (0:00:00.134) 0:02:00.031 *********** ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:191 Friday 26 July 2024 21:55:53 -0400 (0:00:00.529) 0:02:00.561 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:201 Friday 26 July 2024 21:55:53 -0400 (0:00:00.069) 0:02:00.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 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:212 Friday 26 July 2024 21:55:53 -0400 (0:00:00.075) 0:02:00.706 *********** 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 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 26 July 2024 21:55:53 -0400 (0:00:00.072) 0:02:00.778 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:235 Friday 26 July 2024 21:55:53 -0400 (0:00:00.066) 0:02:00.845 *********** 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 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:247 Friday 26 July 2024 21:55:53 -0400 (0:00:00.152) 0:02:00.997 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 26 July 2024 21:55:54 -0400 (0:00:00.074) 0:02:01.072 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:266 Friday 26 July 2024 21:55:54 -0400 (0:00:00.100) 0:02:01.172 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 26 July 2024 21:55:54 -0400 (0:00:00.066) 0:02:01.239 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:284 Friday 26 July 2024 21:55:54 -0400 (0:00:00.595) 0:02:01.834 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:292 Friday 26 July 2024 21:55:55 -0400 (0:00:00.554) 0:02:02.389 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:300 Friday 26 July 2024 21:55:55 -0400 (0:00:00.069) 0:02:02.458 *********** 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.004950", "end": "2024-07-26 21:55:55.707059", "rc": 0, "start": "2024-07-26 21:55:55.702109" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:316 Friday 26 July 2024 21:55:55 -0400 (0:00:00.338) 0:02:02.797 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:320 Friday 26 July 2024 21:55:56 -0400 (0:00:00.880) 0:02:03.678 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:329 Friday 26 July 2024 21:55:56 -0400 (0:00:00.097) 0:02:03.775 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:345 Friday 26 July 2024 21:55:56 -0400 (0:00:00.066) 0:02:03.842 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:370 Friday 26 July 2024 21:55:56 -0400 (0:00:00.147) 0:02:03.990 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:385 Friday 26 July 2024 21:55:57 -0400 (0:00:00.087) 0:02:04.077 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 26 July 2024 21:55:57 -0400 (0:00:00.070) 0:02:04.147 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:410 Friday 26 July 2024 21:55:57 -0400 (0:00:00.071) 0:02:04.219 *********** 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" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Friday 26 July 2024 21:55:57 -0400 (0:00:00.557) 0:02:04.776 *********** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-07-26 21:27:56 EDT", "ActiveEnterTimestampMonotonic": "12916852", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service systemd-journald.socket system.slice basic.target systemd-sysctl.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-07-26 21:27:55 EDT", "AssertTimestampMonotonic": "12241781", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-07-26 21:27:55 EDT", "ConditionTimestampMonotonic": "12241780", "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": "853", "ExecMainStartTimestamp": "Fri 2024-07-26 21:27:55 EDT", "ExecMainStartTimestampMonotonic": "12243873", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-07-26 21:27:55 EDT", "InactiveExitTimestampMonotonic": "12243909", "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": "853", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice polkit.service basic.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-07-26 21:27:56 EDT", "WatchdogTimestampMonotonic": "12916740", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 26 July 2024 21:55:58 -0400 (0:00:00.460) 0:02:05.236 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.082722", "end": "2024-07-26 21:55:58.573399", "rc": 0, "start": "2024-07-26 21:55:58.490677" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Friday 26 July 2024 21:55:58 -0400 (0:00:00.431) 0:02:05.668 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:449 Friday 26 July 2024 21:55:58 -0400 (0:00:00.070) 0:02:05.738 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Friday 26 July 2024 21:55:58 -0400 (0:00:00.072) 0:02:05.811 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:468 Friday 26 July 2024 21:55:58 -0400 (0:00:00.078) 0:02:05.889 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:476 Friday 26 July 2024 21:55:59 -0400 (0:00:00.356) 0:02:06.245 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:485 Friday 26 July 2024 21:55:59 -0400 (0:00:00.066) 0:02:06.312 *********** 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" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:497 Friday 26 July 2024 21:55:59 -0400 (0:00:00.632) 0:02:06.945 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:501 Friday 26 July 2024 21:56:00 -0400 (0:00:00.072) 0:02:07.018 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:507 Friday 26 July 2024 21:56:00 -0400 (0:00:00.072) 0:02:07.090 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:522 Friday 26 July 2024 21:56:00 -0400 (0:00:00.074) 0:02:07.164 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 26 July 2024 21:56:00 -0400 (0:00:00.068) 0:02:07.233 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:537 Friday 26 July 2024 21:56:00 -0400 (0:00:00.077) 0:02:07.311 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:558 Friday 26 July 2024 21:56:00 -0400 (0:00:00.070) 0:02:07.381 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 26 July 2024 21:56:00 -0400 (0:00:00.071) 0:02:07.452 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:576 Friday 26 July 2024 21:56:00 -0400 (0:00:00.071) 0:02:07.524 *********** 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.004787", "end": "2024-07-26 21:56:00.790102", "rc": 0, "start": "2024-07-26 21:56:00.785315" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Friday 26 July 2024 21:56:00 -0400 (0:00:00.356) 0:02:07.880 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 26 July 2024 21:56:00 -0400 (0:00:00.072) 0:02:07.952 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 26 July 2024 21:56:02 -0400 (0:00:01.392) 0:02:09.344 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:622 Friday 26 July 2024 21:56:02 -0400 (0:00:00.079) 0:02:09.424 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 26 July 2024 21:56:02 -0400 (0:00:00.074) 0:02:09.499 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 26 July 2024 21:56:02 -0400 (0:00:00.071) 0:02:09.571 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 26 July 2024 21:56:02 -0400 (0:00:00.070) 0:02:09.641 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:56:02 -0400 (0:00:00.118) 0:02:09.760 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002960", "end": "2024-07-26 21:56:03.046639", "failed_when_result": false, "rc": 1, "start": "2024-07-26 21:56:03.043679" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:56:03 -0400 (0:00:00.380) 0:02:10.140 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.045966", "end": "2024-07-26 21:56:03.441998", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:56:03.396032" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:56:03 -0400 (0:00:00.411) 0:02:10.552 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:654 Friday 26 July 2024 21:56:03 -0400 (0:00:00.068) 0:02:10.621 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Friday 26 July 2024 21:56:03 -0400 (0:00:00.070) 0:02:10.691 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 26 July 2024 21:56:03 -0400 (0:00:00.068) 0:02:10.760 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 26 July 2024 21:56:03 -0400 (0:00:00.068) 0:02:10.828 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:697 Friday 26 July 2024 21:56:03 -0400 (0:00:00.070) 0:02:10.899 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:703 Friday 26 July 2024 21:56:03 -0400 (0:00:00.067) 0:02:10.967 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 26 July 2024 21:56:04 -0400 (0:00:00.153) 0:02:11.120 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:718 Friday 26 July 2024 21:56:04 -0400 (0:00:00.069) 0:02:11.190 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:724 Friday 26 July 2024 21:56:04 -0400 (0:00:00.070) 0:02:11.260 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Friday 26 July 2024 21:56:04 -0400 (0:00:00.067) 0:02:11.327 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Friday 26 July 2024 21:56:04 -0400 (0:00:00.078) 0:02:11.406 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:761 Friday 26 July 2024 21:56:04 -0400 (0:00:00.078) 0:02:11.484 *********** changed: [managed_node1] => (item=/tmp/ansible.xDewxa) => { "ansible_loop_var": "item", "changed": true, "checksum": "12e0223bbc7352210d3fce9ffe969c9e3ae28ee7", "dest": "/etc/pki/tls/certs/ansible.xDewxa", "gid": 994, "group": "mssql", "item": "/tmp/ansible.xDewxa", "md5sum": "f777326d58df93faed8eae3e9a4a5d6d", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1103, "src": "/tmp/ansible.xDewxa", "state": "file", "uid": 996 } changed: [managed_node1] => (item=/tmp/ansible.w6Z3C2) => { "ansible_loop_var": "item", "changed": true, "checksum": "ad98d726b4e85f39c806619194146d96f56cd508", "dest": "/etc/pki/tls/private/ansible.w6Z3C2", "gid": 994, "group": "mssql", "item": "/tmp/ansible.w6Z3C2", "md5sum": "5032e7e3b9cd3e5674fc40f5ba3ee736", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/tmp/ansible.w6Z3C2", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:779 Friday 26 July 2024 21:56:05 -0400 (0:00:00.657) 0:02:12.142 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:56:05 -0400 (0:00:00.125) 0:02:12.268 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002908", "end": "2024-07-26 21:56:05.527538", "failed_when_result": false, "rc": 1, "start": "2024-07-26 21:56:05.524630" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:56:05 -0400 (0:00:00.355) 0:02:12.623 *********** 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.xDewxa" ], "delta": "0:00:00.043976", "end": "2024-07-26 21:56:05.931467", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:56:05.887491" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:56:06 -0400 (0:00:00.413) 0:02:13.037 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:788 Friday 26 July 2024 21:56:06 -0400 (0:00:00.073) 0:02:13.111 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:56:06 -0400 (0:00:00.127) 0:02:13.239 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003034", "end": "2024-07-26 21:56:06.500273", "failed_when_result": false, "rc": 1, "start": "2024-07-26 21:56:06.497239" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:56:06 -0400 (0:00:00.435) 0:02:13.675 *********** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.w6Z3C2" ], "delta": "0:00:00.045762", "end": "2024-07-26 21:56:06.988899", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:56:06.943137" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:56:07 -0400 (0:00:00.416) 0:02:14.092 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:797 Friday 26 July 2024 21:56:07 -0400 (0:00:00.077) 0:02:14.169 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:56:07 -0400 (0:00:00.134) 0:02:14.304 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003115", "end": "2024-07-26 21:56:07.562369", "failed_when_result": false, "rc": 1, "start": "2024-07-26 21:56:07.559254" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:56:07 -0400 (0:00:00.354) 0:02:14.658 *********** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.044732", "end": "2024-07-26 21:56:07.961888", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:56:07.917156" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:56:08 -0400 (0:00:00.404) 0:02:15.063 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 26 July 2024 21:56:08 -0400 (0:00:00.070) 0:02:15.133 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:56:08 -0400 (0:00:00.136) 0:02:15.270 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005573", "end": "2024-07-26 21:56:08.527115", "failed_when_result": false, "rc": 1, "start": "2024-07-26 21:56:08.521542" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:56:08 -0400 (0:00:00.352) 0:02:15.623 *********** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.044278", "end": "2024-07-26 21:56:08.936083", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:56:08.891805" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:56:09 -0400 (0:00:00.417) 0:02:16.041 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:813 Friday 26 July 2024 21:56:09 -0400 (0:00:00.072) 0:02:16.114 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Friday 26 July 2024 21:56:09 -0400 (0:00:00.155) 0:02:16.269 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 26 July 2024 21:56:09 -0400 (0:00:00.071) 0:02:16.341 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 26 July 2024 21:56:09 -0400 (0:00:00.066) 0:02:16.408 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 26 July 2024 21:56:09 -0400 (0:00:00.074) 0:02:16.482 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:852 Friday 26 July 2024 21:56:09 -0400 (0:00:00.071) 0:02:16.554 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:865 Friday 26 July 2024 21:56:09 -0400 (0:00:00.075) 0:02:16.629 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:874 Friday 26 July 2024 21:56:09 -0400 (0:00:00.073) 0:02:16.702 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:886 Friday 26 July 2024 21:56:09 -0400 (0:00:00.069) 0:02:16.772 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:891 Friday 26 July 2024 21:56:09 -0400 (0:00:00.074) 0:02:16.846 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Friday 26 July 2024 21:56:09 -0400 (0:00:00.072) 0:02:16.918 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:913 Friday 26 July 2024 21:56:09 -0400 (0:00:00.071) 0:02:16.989 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:918 Friday 26 July 2024 21:56:10 -0400 (0:00:00.067) 0:02:17.057 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:924 Friday 26 July 2024 21:56:10 -0400 (0:00:00.068) 0:02:17.125 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:950 Friday 26 July 2024 21:56:10 -0400 (0:00:00.069) 0:02:17.194 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:971 Friday 26 July 2024 21:56:10 -0400 (0:00:00.067) 0:02:17.262 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:979 Friday 26 July 2024 21:56:10 -0400 (0:00:00.070) 0:02:17.333 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:989 Friday 26 July 2024 21:56:10 -0400 (0:00:00.065) 0:02:17.399 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:995 Friday 26 July 2024 21:56:10 -0400 (0:00:00.069) 0:02:17.468 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1013 Friday 26 July 2024 21:56:10 -0400 (0:00:00.069) 0:02:17.538 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Friday 26 July 2024 21:56:10 -0400 (0:00:00.151) 0:02:17.689 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1044 Friday 26 July 2024 21:56:10 -0400 (0:00:00.072) 0:02:17.761 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1097 Friday 26 July 2024 21:56:10 -0400 (0:00:00.070) 0:02:17.832 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 26 July 2024 21:56:10 -0400 (0:00:00.070) 0:02:17.903 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 26 July 2024 21:56:10 -0400 (0:00:00.068) 0:02:17.971 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Friday 26 July 2024 21:56:11 -0400 (0:00:00.073) 0:02:18.045 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1127 Friday 26 July 2024 21:56:11 -0400 (0:00:00.071) 0:02:18.117 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1135 Friday 26 July 2024 21:56:11 -0400 (0:00:00.082) 0:02:18.200 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1144 Friday 26 July 2024 21:56:11 -0400 (0:00:00.072) 0:02:18.273 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1152 Friday 26 July 2024 21:56:11 -0400 (0:00:00.067) 0:02:18.340 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1166 Friday 26 July 2024 21:56:11 -0400 (0:00:00.083) 0:02:18.424 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 26 July 2024 21:56:11 -0400 (0:00:00.066) 0:02:18.491 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1198 Friday 26 July 2024 21:56:11 -0400 (0:00:00.068) 0:02:18.560 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1207 Friday 26 July 2024 21:56:11 -0400 (0:00:00.072) 0:02:18.632 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1216 Friday 26 July 2024 21:56:11 -0400 (0:00:00.067) 0:02:18.700 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1227 Friday 26 July 2024 21:56:11 -0400 (0:00:00.068) 0:02:18.769 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 26 July 2024 21:56:11 -0400 (0:00:00.065) 0:02:18.835 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1249 Friday 26 July 2024 21:56:11 -0400 (0:00:00.068) 0:02:18.903 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 26 July 2024 21:56:11 -0400 (0:00:00.070) 0:02:18.974 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1263 Friday 26 July 2024 21:56:12 -0400 (0:00:00.157) 0:02:19.131 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1271 Friday 26 July 2024 21:56:12 -0400 (0:00:00.075) 0:02:19.207 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1278 Friday 26 July 2024 21:56:12 -0400 (0:00:00.072) 0:02:19.280 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1290 Friday 26 July 2024 21:56:12 -0400 (0:00:00.090) 0:02:19.370 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1299 Friday 26 July 2024 21:56:12 -0400 (0:00:00.067) 0:02:19.437 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1306 Friday 26 July 2024 21:56:12 -0400 (0:00:00.072) 0:02:19.510 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 26 July 2024 21:56:12 -0400 (0:00:00.071) 0:02:19.582 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1320 Friday 26 July 2024 21:56:12 -0400 (0:00:00.072) 0:02:19.654 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 26 July 2024 21:56:12 -0400 (0:00:00.082) 0:02:19.737 *********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1345 Friday 26 July 2024 21:56:12 -0400 (0:00:00.069) 0:02:19.806 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1350 Friday 26 July 2024 21:56:12 -0400 (0:00:00.068) 0:02:19.875 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1356 Friday 26 July 2024 21:56:12 -0400 (0:00:00.067) 0:02:19.942 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1365 Friday 26 July 2024 21:56:13 -0400 (0:00:00.069) 0:02:20.012 *********** changed: [managed_node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 26 July 2024 21:56:13 -0400 (0:00:00.459) 0:02:20.472 *********** changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-07-26 21:55:38 EDT", "ActiveEnterTimestampMonotonic": "1675002264", "ActiveExitTimestamp": "Fri 2024-07-26 21:55:38 EDT", "ActiveExitTimestampMonotonic": "1674782437", "ActiveState": "active", "After": "systemd-journald.socket system.slice -.mount basic.target auditd.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-07-26 21:55:38 EDT", "AssertTimestampMonotonic": "1675001482", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-07-26 21:55:38 EDT", "ConditionTimestampMonotonic": "1675001481", "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": "12846", "ExecMainStartTimestamp": "Fri 2024-07-26 21:55:38 EDT", "ExecMainStartTimestampMonotonic": "1675002198", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-07-26 21:55:38 EDT] ; stop_time=[n/a] ; pid=12846 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-07-26 21:55:38 EDT", "InactiveEnterTimestampMonotonic": "1674999515", "InactiveExitTimestamp": "Fri 2024-07-26 21:55:38 EDT", "InactiveExitTimestampMonotonic": "1675002264", "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": "12846", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-07-26 21:55:38 EDT", "WatchdogTimestampMonotonic": "1675002241", "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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 26 July 2024 21:56:14 -0400 (0:00:00.736) 0:02:21.208 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1385 Friday 26 July 2024 21:56:14 -0400 (0:00:00.145) 0:02:21.353 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:131 Friday 26 July 2024 21:56:14 -0400 (0:00:00.071) 0:02:21.424 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 26 July 2024 21:56:14 -0400 (0:00:00.368) 0:02:21.793 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 26 July 2024 21:56:14 -0400 (0:00:00.065) 0:02:21.859 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 26 July 2024 21:56:14 -0400 (0:00:00.070) 0:02:21.930 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 26 July 2024 21:56:14 -0400 (0:00:00.071) 0:02:22.001 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 26 July 2024 21:56:15 -0400 (0:00:00.069) 0:02:22.070 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 26 July 2024 21:56:15 -0400 (0:00:00.068) 0:02:22.139 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 26 July 2024 21:56:15 -0400 (0:00:00.067) 0:02:22.207 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 26 July 2024 21:56:15 -0400 (0:00:00.071) 0:02:22.278 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 26 July 2024 21:56:15 -0400 (0:00:00.070) 0:02:22.348 *********** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 26 July 2024 21:56:15 -0400 (0:00:00.120) 0:02:22.469 *********** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-07-26 21:56:14 EDT", "ActiveEnterTimestampMonotonic": "1710438383", "ActiveExitTimestamp": "Fri 2024-07-26 21:56:13 EDT", "ActiveExitTimestampMonotonic": "1710229346", "ActiveState": "active", "After": "systemd-journald.socket system.slice -.mount basic.target auditd.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-07-26 21:56:14 EDT", "AssertTimestampMonotonic": "1710437427", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-07-26 21:56:14 EDT", "ConditionTimestampMonotonic": "1710437426", "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": "15206", "ExecMainStartTimestamp": "Fri 2024-07-26 21:56:14 EDT", "ExecMainStartTimestampMonotonic": "1710438290", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-07-26 21:56:14 EDT] ; stop_time=[n/a] ; pid=15206 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-07-26 21:56:14 EDT", "InactiveEnterTimestampMonotonic": "1710436118", "InactiveExitTimestamp": "Fri 2024-07-26 21:56:14 EDT", "InactiveExitTimestampMonotonic": "1710438383", "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": "15206", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-07-26 21:56:14 EDT", "WatchdogTimestampMonotonic": "1710438357", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 26 July 2024 21:56:16 -0400 (0:00:00.847) 0:02:23.317 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.019377", "end": "2024-07-26 21:56:17.032841", "failed_when_result": false, "rc": 1, "start": "2024-07-26 21:56:17.013464" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 26 July 2024 21:56:17 -0400 (0:00:00.877) 0:02:24.194 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003950", "end": "2024-07-26 21:56:17.610614", "failed_when_result": false, "rc": 1, "start": "2024-07-26 21:56:17.606664" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 26 July 2024 21:56:17 -0400 (0:00:00.516) 0:02:24.710 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 26 July 2024 21:56:17 -0400 (0:00:00.085) 0:02:24.796 *********** 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": 6355, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 26 July 2024 21:56:19 -0400 (0:00:01.354) 0:02:26.151 *********** 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.030089", "end": "2024-07-26 21:56:19.446846", "rc": 0, "start": "2024-07-26 21:56:19.416757" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 26 July 2024 21:56:19 -0400 (0:00:00.395) 0:02:26.547 *********** ok: [managed_node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 26 July 2024 21:56:19 -0400 (0:00:00.073) 0:02:26.620 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 26 July 2024 21:56:19 -0400 (0:00:00.068) 0:02:26.689 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 26 July 2024 21:56:19 -0400 (0:00:00.065) 0:02:26.755 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 26 July 2024 21:56:19 -0400 (0:00:00.153) 0:02:26.908 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 26 July 2024 21:56:19 -0400 (0:00:00.067) 0:02:26.976 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 26 July 2024 21:56:20 -0400 (0:00:00.070) 0:02:27.047 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 26 July 2024 21:56:20 -0400 (0:00:00.073) 0:02:27.120 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 26 July 2024 21:56:20 -0400 (0:00:00.067) 0:02:27.188 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 26 July 2024 21:56:20 -0400 (0:00:00.125) 0:02:27.314 *********** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004067", "end": "2024-07-26 21:56:20.568281", "rc": 0, "start": "2024-07-26 21:56:20.564214" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.xDewxa TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 26 July 2024 21:56:20 -0400 (0:00:00.359) 0:02:27.673 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 26 July 2024 21:56:20 -0400 (0:00:00.087) 0:02:27.761 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.xDewxa] ***************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 26 July 2024 21:56:20 -0400 (0:00:00.081) 0:02:27.843 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 26 July 2024 21:56:20 -0400 (0:00:00.070) 0:02:27.913 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 26 July 2024 21:56:21 -0400 (0:00:00.126) 0:02:28.040 *********** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004151", "end": "2024-07-26 21:56:21.292814", "rc": 0, "start": "2024-07-26 21:56:21.288663" } STDOUT: tlskey = /etc/pki/tls/private/ansible.w6Z3C2 TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 26 July 2024 21:56:21 -0400 (0:00:00.351) 0:02:28.391 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 26 July 2024 21:56:21 -0400 (0:00:00.091) 0:02:28.482 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.w6Z3C2] *************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 26 July 2024 21:56:21 -0400 (0:00:00.080) 0:02:28.563 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 26 July 2024 21:56:21 -0400 (0:00:00.069) 0:02:28.632 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 26 July 2024 21:56:21 -0400 (0:00:00.215) 0:02:28.847 *********** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004349", "end": "2024-07-26 21:56:22.110593", "rc": 0, "start": "2024-07-26 21:56:22.106244" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 26 July 2024 21:56:22 -0400 (0:00:00.361) 0:02:29.209 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 26 July 2024 21:56:22 -0400 (0:00:00.085) 0:02:29.294 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 26 July 2024 21:56:22 -0400 (0:00:00.079) 0:02:29.374 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 26 July 2024 21:56:22 -0400 (0:00:00.069) 0:02:29.444 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 26 July 2024 21:56:22 -0400 (0:00:00.133) 0:02:29.577 *********** ok: [managed_node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004119", "end": "2024-07-26 21:56:22.846884", "rc": 0, "start": "2024-07-26 21:56:22.842765" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 26 July 2024 21:56:22 -0400 (0:00:00.364) 0:02:29.941 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 26 July 2024 21:56:23 -0400 (0:00:00.074) 0:02:30.016 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 26 July 2024 21:56:23 -0400 (0:00:00.088) 0:02:30.104 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 26 July 2024 21:56:23 -0400 (0:00:00.072) 0:02:30.177 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:137 Friday 26 July 2024 21:56:23 -0400 (0:00:00.069) 0:02:30.246 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/check_header.yml:4 Friday 26 July 2024 21:56:23 -0400 (0:00:00.465) 0:02:30.712 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003091", "end": "2024-07-26 21:56:24.119208", "rc": 0, "start": "2024-07-26 21:56:24.116117" } 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.xDewxa tlskey = /etc/pki/tls/private/ansible.w6Z3C2 tlsprotocols = 1.2 forceencryption = 1 TASK [Disable TLS encryption] ************************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:141 Friday 26 July 2024 21:56:24 -0400 (0:00:00.507) 0:02:31.219 *********** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 26 July 2024 21:56:24 -0400 (0:00:00.707) 0:02:31.927 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 26 July 2024 21:56:25 -0400 (0:00:00.113) 0:02:32.040 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 26 July 2024 21:56:25 -0400 (0:00:00.089) 0:02:32.130 *********** 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.cPXx8LCCu6/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.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 26 July 2024 21:56:25 -0400 (0:00:00.107) 0:02:32.237 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 26 July 2024 21:56:25 -0400 (0:00:00.169) 0:02:32.406 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 26 July 2024 21:56:25 -0400 (0:00:00.068) 0:02:32.475 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 26 July 2024 21:56:25 -0400 (0:00:00.074) 0:02:32.550 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 26 July 2024 21:56:25 -0400 (0:00:00.070) 0:02:32.620 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 26 July 2024 21:56:25 -0400 (0:00:00.072) 0:02:32.693 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 26 July 2024 21:56:25 -0400 (0:00:00.069) 0:02:32.763 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 26 July 2024 21:56:25 -0400 (0:00:00.070) 0:02:32.833 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 26 July 2024 21:56:25 -0400 (0:00:00.070) 0:02:32.904 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 26 July 2024 21:56:25 -0400 (0:00:00.069) 0:02:32.973 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:81 Friday 26 July 2024 21:56:26 -0400 (0:00:00.082) 0:02:33.056 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:89 Friday 26 July 2024 21:56:26 -0400 (0:00:00.070) 0:02:33.126 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:98 Friday 26 July 2024 21:56:26 -0400 (0:00:00.071) 0:02:33.197 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:107 Friday 26 July 2024 21:56:26 -0400 (0:00:00.070) 0:02:33.268 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:117 Friday 26 July 2024 21:56:26 -0400 (0:00:00.065) 0:02:33.334 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:126 Friday 26 July 2024 21:56:26 -0400 (0:00:00.072) 0:02:33.406 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Friday 26 July 2024 21:56:26 -0400 (0:00:00.068) 0:02:33.475 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:141 Friday 26 July 2024 21:56:27 -0400 (0:00:01.340) 0:02:34.815 *********** ok: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed_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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:149 Friday 26 July 2024 21:56:28 -0400 (0:00:00.199) 0:02:35.015 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 26 July 2024 21:56:28 -0400 (0:00:00.075) 0:02:35.090 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 26 July 2024 21:56:28 -0400 (0:00:00.075) 0:02:35.166 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:177 Friday 26 July 2024 21:56:28 -0400 (0:00:00.139) 0:02:35.306 *********** ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:191 Friday 26 July 2024 21:56:28 -0400 (0:00:00.576) 0:02:35.883 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:201 Friday 26 July 2024 21:56:28 -0400 (0:00:00.071) 0:02:35.954 *********** 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 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:212 Friday 26 July 2024 21:56:29 -0400 (0:00:00.075) 0:02:36.030 *********** 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 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 26 July 2024 21:56:29 -0400 (0:00:00.073) 0:02:36.104 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:235 Friday 26 July 2024 21:56:29 -0400 (0:00:00.073) 0:02:36.178 *********** 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 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:247 Friday 26 July 2024 21:56:29 -0400 (0:00:00.073) 0:02:36.251 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 26 July 2024 21:56:29 -0400 (0:00:00.073) 0:02:36.325 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:266 Friday 26 July 2024 21:56:29 -0400 (0:00:00.191) 0:02:36.517 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 26 July 2024 21:56:29 -0400 (0:00:00.072) 0:02:36.589 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:284 Friday 26 July 2024 21:56:30 -0400 (0:00:00.603) 0:02:37.193 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:292 Friday 26 July 2024 21:56:30 -0400 (0:00:00.574) 0:02:37.767 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:300 Friday 26 July 2024 21:56:30 -0400 (0:00:00.069) 0:02:37.837 *********** 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.004861", "end": "2024-07-26 21:56:31.090870", "rc": 0, "start": "2024-07-26 21:56:31.086009" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:316 Friday 26 July 2024 21:56:31 -0400 (0:00:00.346) 0:02:38.183 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:320 Friday 26 July 2024 21:56:32 -0400 (0:00:00.893) 0:02:39.077 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:329 Friday 26 July 2024 21:56:32 -0400 (0:00:00.105) 0:02:39.183 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:345 Friday 26 July 2024 21:56:32 -0400 (0:00:00.069) 0:02:39.253 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:370 Friday 26 July 2024 21:56:32 -0400 (0:00:00.070) 0:02:39.323 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:385 Friday 26 July 2024 21:56:32 -0400 (0:00:00.088) 0:02:39.412 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 26 July 2024 21:56:32 -0400 (0:00:00.164) 0:02:39.576 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:410 Friday 26 July 2024 21:56:32 -0400 (0:00:00.076) 0:02:39.653 *********** 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" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Friday 26 July 2024 21:56:33 -0400 (0:00:00.571) 0:02:40.224 *********** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-07-26 21:27:56 EDT", "ActiveEnterTimestampMonotonic": "12916852", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service systemd-journald.socket system.slice basic.target systemd-sysctl.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-07-26 21:27:55 EDT", "AssertTimestampMonotonic": "12241781", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-07-26 21:27:55 EDT", "ConditionTimestampMonotonic": "12241780", "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": "853", "ExecMainStartTimestamp": "Fri 2024-07-26 21:27:55 EDT", "ExecMainStartTimestampMonotonic": "12243873", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-07-26 21:27:55 EDT", "InactiveExitTimestampMonotonic": "12243909", "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": "853", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice polkit.service basic.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-07-26 21:27:56 EDT", "WatchdogTimestampMonotonic": "12916740", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 26 July 2024 21:56:33 -0400 (0:00:00.471) 0:02:40.695 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.083286", "end": "2024-07-26 21:56:34.051839", "rc": 0, "start": "2024-07-26 21:56:33.968553" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Friday 26 July 2024 21:56:34 -0400 (0:00:00.454) 0:02:41.150 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:449 Friday 26 July 2024 21:56:34 -0400 (0:00:00.076) 0:02:41.226 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Friday 26 July 2024 21:56:34 -0400 (0:00:00.072) 0:02:41.299 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:468 Friday 26 July 2024 21:56:34 -0400 (0:00:00.073) 0:02:41.373 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:476 Friday 26 July 2024 21:56:34 -0400 (0:00:00.375) 0:02:41.749 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:485 Friday 26 July 2024 21:56:34 -0400 (0:00:00.073) 0:02:41.822 *********** 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" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:497 Friday 26 July 2024 21:56:35 -0400 (0:00:00.568) 0:02:42.390 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:501 Friday 26 July 2024 21:56:35 -0400 (0:00:00.168) 0:02:42.559 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:507 Friday 26 July 2024 21:56:35 -0400 (0:00:00.076) 0:02:42.635 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:522 Friday 26 July 2024 21:56:35 -0400 (0:00:00.079) 0:02:42.714 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 26 July 2024 21:56:35 -0400 (0:00:00.078) 0:02:42.793 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:537 Friday 26 July 2024 21:56:35 -0400 (0:00:00.075) 0:02:42.869 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:558 Friday 26 July 2024 21:56:35 -0400 (0:00:00.077) 0:02:42.946 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 26 July 2024 21:56:36 -0400 (0:00:00.069) 0:02:43.015 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:576 Friday 26 July 2024 21:56:36 -0400 (0:00:00.074) 0:02:43.090 *********** 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.004851", "end": "2024-07-26 21:56:36.353538", "rc": 0, "start": "2024-07-26 21:56:36.348687" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Friday 26 July 2024 21:56:36 -0400 (0:00:00.359) 0:02:43.449 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 26 July 2024 21:56:36 -0400 (0:00:00.080) 0:02:43.530 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 26 July 2024 21:56:37 -0400 (0:00:01.278) 0:02:44.808 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:622 Friday 26 July 2024 21:56:37 -0400 (0:00:00.078) 0:02:44.887 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 26 July 2024 21:56:37 -0400 (0:00:00.071) 0:02:44.958 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 26 July 2024 21:56:38 -0400 (0:00:00.071) 0:02:45.030 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 26 July 2024 21:56:38 -0400 (0:00:00.074) 0:02:45.104 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:56:38 -0400 (0:00:00.123) 0:02:45.227 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002879", "end": "2024-07-26 21:56:38.485884", "failed_when_result": false, "rc": 1, "start": "2024-07-26 21:56:38.483005" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:56:38 -0400 (0:00:00.355) 0:02:45.582 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.046692", "end": "2024-07-26 21:56:38.894412", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:56:38.847720" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:56:39 -0400 (0:00:00.423) 0:02:46.006 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:654 Friday 26 July 2024 21:56:39 -0400 (0:00:00.067) 0:02:46.074 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Friday 26 July 2024 21:56:39 -0400 (0:00:00.072) 0:02:46.146 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 26 July 2024 21:56:39 -0400 (0:00:00.069) 0:02:46.215 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 26 July 2024 21:56:39 -0400 (0:00:00.072) 0:02:46.287 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:697 Friday 26 July 2024 21:56:39 -0400 (0:00:00.073) 0:02:46.361 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:703 Friday 26 July 2024 21:56:39 -0400 (0:00:00.067) 0:02:46.429 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 26 July 2024 21:56:39 -0400 (0:00:00.068) 0:02:46.498 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:718 Friday 26 July 2024 21:56:39 -0400 (0:00:00.068) 0:02:46.566 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:724 Friday 26 July 2024 21:56:39 -0400 (0:00:00.172) 0:02:46.739 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Friday 26 July 2024 21:56:39 -0400 (0:00:00.069) 0:02:46.809 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Friday 26 July 2024 21:56:39 -0400 (0:00:00.076) 0:02:46.886 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:761 Friday 26 July 2024 21:56:39 -0400 (0:00:00.076) 0:02:46.963 *********** skipping: [managed_node1] => (item=/tmp/ansible.xDewxa) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.xDewxa", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ansible.w6Z3C2) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.w6Z3C2", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:779 Friday 26 July 2024 21:56:40 -0400 (0:00:00.088) 0:02:47.051 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:56:40 -0400 (0:00:00.130) 0:02:47.182 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003036", "end": "2024-07-26 21:56:40.442729", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:56:40.439693" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.xDewxa TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:56:40 -0400 (0:00:00.364) 0:02:47.547 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:56:40 -0400 (0:00:00.082) 0:02:47.629 *********** 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.045415", "end": "2024-07-26 21:56:40.939916", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:56:40.894501" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:788 Friday 26 July 2024 21:56:41 -0400 (0:00:00.413) 0:02:48.043 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:56:41 -0400 (0:00:00.132) 0:02:48.175 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003057", "end": "2024-07-26 21:56:41.436632", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:56:41.433575" } STDOUT: tlskey = /etc/pki/tls/private/ansible.w6Z3C2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:56:41 -0400 (0:00:00.362) 0:02:48.538 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:56:41 -0400 (0:00:00.083) 0:02:48.621 *********** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.045597", "end": "2024-07-26 21:56:41.953781", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:56:41.908184" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:797 Friday 26 July 2024 21:56:42 -0400 (0:00:00.531) 0:02:49.152 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:56:42 -0400 (0:00:00.134) 0:02:49.287 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003101", "end": "2024-07-26 21:56:42.546821", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:56:42.543720" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:56:42 -0400 (0:00:00.357) 0:02:49.644 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:56:42 -0400 (0:00:00.082) 0:02:49.727 *********** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.046299", "end": "2024-07-26 21:56:43.054002", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:56:43.007703" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 26 July 2024 21:56:43 -0400 (0:00:00.427) 0:02:50.154 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:56:43 -0400 (0:00:00.136) 0:02:50.291 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002967", "end": "2024-07-26 21:56:43.570766", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:56:43.567799" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:56:43 -0400 (0:00:00.374) 0:02:50.666 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:56:43 -0400 (0:00:00.080) 0:02:50.746 *********** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.047191", "end": "2024-07-26 21:56:44.065567", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:56:44.018376" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:813 Friday 26 July 2024 21:56:44 -0400 (0:00:00.421) 0:02:51.168 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Friday 26 July 2024 21:56:44 -0400 (0:00:00.070) 0:02:51.238 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 26 July 2024 21:56:44 -0400 (0:00:00.073) 0:02:51.312 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 26 July 2024 21:56:44 -0400 (0:00:00.067) 0:02:51.379 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 26 July 2024 21:56:44 -0400 (0:00:00.177) 0:02:51.556 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:852 Friday 26 July 2024 21:56:44 -0400 (0:00:00.071) 0:02:51.628 *********** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:865 Friday 26 July 2024 21:56:44 -0400 (0:00:00.074) 0:02:51.702 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:874 Friday 26 July 2024 21:56:44 -0400 (0:00:00.075) 0:02:51.778 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:886 Friday 26 July 2024 21:56:44 -0400 (0:00:00.074) 0:02:51.852 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:891 Friday 26 July 2024 21:56:44 -0400 (0:00:00.075) 0:02:51.929 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Friday 26 July 2024 21:56:44 -0400 (0:00:00.069) 0:02:51.998 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:913 Friday 26 July 2024 21:56:45 -0400 (0:00:00.073) 0:02:52.071 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:918 Friday 26 July 2024 21:56:45 -0400 (0:00:00.070) 0:02:52.141 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:924 Friday 26 July 2024 21:56:45 -0400 (0:00:00.072) 0:02:52.214 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:950 Friday 26 July 2024 21:56:45 -0400 (0:00:00.070) 0:02:52.284 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:971 Friday 26 July 2024 21:56:45 -0400 (0:00:00.068) 0:02:52.353 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:979 Friday 26 July 2024 21:56:45 -0400 (0:00:00.072) 0:02:52.425 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:989 Friday 26 July 2024 21:56:45 -0400 (0:00:00.071) 0:02:52.497 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:995 Friday 26 July 2024 21:56:45 -0400 (0:00:00.071) 0:02:52.569 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1013 Friday 26 July 2024 21:56:45 -0400 (0:00:00.070) 0:02:52.639 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Friday 26 July 2024 21:56:45 -0400 (0:00:00.070) 0:02:52.709 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1044 Friday 26 July 2024 21:56:45 -0400 (0:00:00.070) 0:02:52.780 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1097 Friday 26 July 2024 21:56:45 -0400 (0:00:00.070) 0:02:52.851 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 26 July 2024 21:56:46 -0400 (0:00:00.175) 0:02:53.027 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 26 July 2024 21:56:46 -0400 (0:00:00.068) 0:02:53.096 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Friday 26 July 2024 21:56:46 -0400 (0:00:00.074) 0:02:53.170 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1127 Friday 26 July 2024 21:56:46 -0400 (0:00:00.074) 0:02:53.244 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1135 Friday 26 July 2024 21:56:46 -0400 (0:00:00.084) 0:02:53.328 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1144 Friday 26 July 2024 21:56:46 -0400 (0:00:00.073) 0:02:53.402 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1152 Friday 26 July 2024 21:56:46 -0400 (0:00:00.070) 0:02:53.472 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1166 Friday 26 July 2024 21:56:46 -0400 (0:00:00.095) 0:02:53.567 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 26 July 2024 21:56:46 -0400 (0:00:00.070) 0:02:53.638 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1198 Friday 26 July 2024 21:56:46 -0400 (0:00:00.072) 0:02:53.710 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1207 Friday 26 July 2024 21:56:46 -0400 (0:00:00.072) 0:02:53.782 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1216 Friday 26 July 2024 21:56:46 -0400 (0:00:00.072) 0:02:53.855 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1227 Friday 26 July 2024 21:56:46 -0400 (0:00:00.073) 0:02:53.929 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 26 July 2024 21:56:46 -0400 (0:00:00.069) 0:02:53.998 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1249 Friday 26 July 2024 21:56:47 -0400 (0:00:00.072) 0:02:54.071 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 26 July 2024 21:56:47 -0400 (0:00:00.071) 0:02:54.142 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1263 Friday 26 July 2024 21:56:47 -0400 (0:00:00.069) 0:02:54.211 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1271 Friday 26 July 2024 21:56:47 -0400 (0:00:00.071) 0:02:54.282 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1278 Friday 26 July 2024 21:56:47 -0400 (0:00:00.068) 0:02:54.351 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1290 Friday 26 July 2024 21:56:47 -0400 (0:00:00.189) 0:02:54.540 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1299 Friday 26 July 2024 21:56:47 -0400 (0:00:00.074) 0:02:54.614 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1306 Friday 26 July 2024 21:56:47 -0400 (0:00:00.075) 0:02:54.690 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 26 July 2024 21:56:47 -0400 (0:00:00.071) 0:02:54.761 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1320 Friday 26 July 2024 21:56:47 -0400 (0:00:00.072) 0:02:54.833 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 26 July 2024 21:56:47 -0400 (0:00:00.086) 0:02:54.920 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1345 Friday 26 July 2024 21:56:47 -0400 (0:00:00.068) 0:02:54.988 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1350 Friday 26 July 2024 21:56:48 -0400 (0:00:00.073) 0:02:55.062 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1356 Friday 26 July 2024 21:56:48 -0400 (0:00:00.074) 0:02:55.137 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1365 Friday 26 July 2024 21:56:48 -0400 (0:00:00.071) 0:02:55.209 *********** changed: [managed_node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 26 July 2024 21:56:48 -0400 (0:00:00.473) 0:02:55.683 *********** changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-07-26 21:56:14 EDT", "ActiveEnterTimestampMonotonic": "1710438383", "ActiveExitTimestamp": "Fri 2024-07-26 21:56:13 EDT", "ActiveExitTimestampMonotonic": "1710229346", "ActiveState": "active", "After": "systemd-journald.socket system.slice -.mount basic.target auditd.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-07-26 21:56:14 EDT", "AssertTimestampMonotonic": "1710437427", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-07-26 21:56:14 EDT", "ConditionTimestampMonotonic": "1710437426", "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": "15206", "ExecMainStartTimestamp": "Fri 2024-07-26 21:56:14 EDT", "ExecMainStartTimestampMonotonic": "1710438290", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-07-26 21:56:14 EDT] ; stop_time=[n/a] ; pid=15206 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-07-26 21:56:14 EDT", "InactiveEnterTimestampMonotonic": "1710436118", "InactiveExitTimestamp": "Fri 2024-07-26 21:56:14 EDT", "InactiveExitTimestampMonotonic": "1710438383", "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": "15206", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-07-26 21:56:14 EDT", "WatchdogTimestampMonotonic": "1710438357", "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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 26 July 2024 21:56:49 -0400 (0:00:00.761) 0:02:56.444 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1385 Friday 26 July 2024 21:56:49 -0400 (0:00:00.067) 0:02:56.512 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:147 Friday 26 July 2024 21:56:49 -0400 (0:00:00.070) 0:02:56.582 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 26 July 2024 21:56:50 -0400 (0:00:00.583) 0:02:57.165 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 26 July 2024 21:56:50 -0400 (0:00:00.067) 0:02:57.233 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 26 July 2024 21:56:50 -0400 (0:00:00.069) 0:02:57.303 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 26 July 2024 21:56:50 -0400 (0:00:00.071) 0:02:57.375 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 26 July 2024 21:56:50 -0400 (0:00:00.068) 0:02:57.443 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 26 July 2024 21:56:50 -0400 (0:00:00.073) 0:02:57.517 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 26 July 2024 21:56:50 -0400 (0:00:00.067) 0:02:57.585 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 26 July 2024 21:56:50 -0400 (0:00:00.067) 0:02:57.653 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 26 July 2024 21:56:50 -0400 (0:00:00.068) 0:02:57.722 *********** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 26 July 2024 21:56:50 -0400 (0:00:00.120) 0:02:57.843 *********** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-07-26 21:56:49 EDT", "ActiveEnterTimestampMonotonic": "1745672766", "ActiveExitTimestamp": "Fri 2024-07-26 21:56:49 EDT", "ActiveExitTimestampMonotonic": "1745437235", "ActiveState": "active", "After": "systemd-journald.socket system.slice -.mount basic.target auditd.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-07-26 21:56:49 EDT", "AssertTimestampMonotonic": "1745671968", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-07-26 21:56:49 EDT", "ConditionTimestampMonotonic": "1745671966", "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": "17273", "ExecMainStartTimestamp": "Fri 2024-07-26 21:56:49 EDT", "ExecMainStartTimestampMonotonic": "1745672702", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-07-26 21:56:49 EDT] ; stop_time=[n/a] ; pid=17273 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-07-26 21:56:49 EDT", "InactiveEnterTimestampMonotonic": "1745669747", "InactiveExitTimestamp": "Fri 2024-07-26 21:56:49 EDT", "InactiveExitTimestampMonotonic": "1745672766", "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": "17273", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-07-26 21:56:49 EDT", "WatchdogTimestampMonotonic": "1745672743", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 26 July 2024 21:56:51 -0400 (0:00:00.806) 0:02:58.649 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.039173", "end": "2024-07-26 21:56:52.410775", "failed_when_result": false, "rc": 1, "start": "2024-07-26 21:56:52.371602" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 26 July 2024 21:56:52 -0400 (0:00:00.976) 0:02:59.626 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004384", "end": "2024-07-26 21:56:53.002467", "failed_when_result": false, "rc": 1, "start": "2024-07-26 21:56:52.998083" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 26 July 2024 21:56:53 -0400 (0:00:00.485) 0:03:00.111 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 26 July 2024 21:56:53 -0400 (0:00:00.087) 0:03:00.199 *********** 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": 6265, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 26 July 2024 21:56:54 -0400 (0:00:01.361) 0:03:01.560 *********** 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.029755", "end": "2024-07-26 21:56:54.842616", "rc": 0, "start": "2024-07-26 21:56:54.812861" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 26 July 2024 21:56:54 -0400 (0:00:00.389) 0:03:01.950 *********** ok: [managed_node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 26 July 2024 21:56:55 -0400 (0:00:00.074) 0:03:02.025 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 26 July 2024 21:56:55 -0400 (0:00:00.070) 0:03:02.095 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 26 July 2024 21:56:55 -0400 (0:00:00.071) 0:03:02.167 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 26 July 2024 21:56:55 -0400 (0:00:00.071) 0:03:02.239 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 26 July 2024 21:56:55 -0400 (0:00:00.072) 0:03:02.311 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 26 July 2024 21:56:55 -0400 (0:00:00.068) 0:03:02.380 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 26 July 2024 21:56:55 -0400 (0:00:00.166) 0:03:02.546 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 26 July 2024 21:56:55 -0400 (0:00:00.071) 0:03:02.617 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 26 July 2024 21:56:55 -0400 (0:00:00.130) 0:03:02.747 *********** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004382", "end": "2024-07-26 21:56:56.027246", "rc": 0, "start": "2024-07-26 21:56:56.022864" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 26 July 2024 21:56:56 -0400 (0:00:00.378) 0:03:03.126 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 26 July 2024 21:56:56 -0400 (0:00:00.089) 0:03:03.216 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 26 July 2024 21:56:56 -0400 (0:00:00.080) 0:03:03.296 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 26 July 2024 21:56:56 -0400 (0:00:00.071) 0:03:03.368 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 26 July 2024 21:56:56 -0400 (0:00:00.129) 0:03:03.497 *********** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004076", "end": "2024-07-26 21:56:56.753605", "rc": 0, "start": "2024-07-26 21:56:56.749529" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 26 July 2024 21:56:56 -0400 (0:00:00.356) 0:03:03.854 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 26 July 2024 21:56:56 -0400 (0:00:00.086) 0:03:03.941 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 26 July 2024 21:56:57 -0400 (0:00:00.079) 0:03:04.020 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 26 July 2024 21:56:57 -0400 (0:00:00.072) 0:03:04.092 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 26 July 2024 21:56:57 -0400 (0:00:00.127) 0:03:04.220 *********** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004130", "end": "2024-07-26 21:56:57.481999", "rc": 0, "start": "2024-07-26 21:56:57.477869" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 26 July 2024 21:56:57 -0400 (0:00:00.465) 0:03:04.686 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 26 July 2024 21:56:57 -0400 (0:00:00.093) 0:03:04.780 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 26 July 2024 21:56:57 -0400 (0:00:00.075) 0:03:04.856 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 26 July 2024 21:56:57 -0400 (0:00:00.074) 0:03:04.930 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 26 July 2024 21:56:58 -0400 (0:00:00.136) 0:03:05.067 *********** ok: [managed_node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003981", "end": "2024-07-26 21:56:58.346472", "rc": 0, "start": "2024-07-26 21:56:58.342491" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 26 July 2024 21:56:58 -0400 (0:00:00.377) 0:03:05.444 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 26 July 2024 21:56:58 -0400 (0:00:00.076) 0:03:05.521 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 26 July 2024 21:56:58 -0400 (0:00:00.091) 0:03:05.613 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 26 July 2024 21:56:58 -0400 (0:00:00.071) 0:03:05.684 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test with certs created by the certificate role] ************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:154 Friday 26 July 2024 21:56:58 -0400 (0:00:00.069) 0:03:05.754 *********** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 26 July 2024 21:56:59 -0400 (0:00:01.178) 0:03:06.932 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 26 July 2024 21:57:00 -0400 (0:00:00.118) 0:03:07.050 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 26 July 2024 21:57:00 -0400 (0:00:00.096) 0:03:07.147 *********** 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.cPXx8LCCu6/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.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 26 July 2024 21:57:00 -0400 (0:00:00.107) 0:03:07.255 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 26 July 2024 21:57:00 -0400 (0:00:00.070) 0:03:07.325 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 26 July 2024 21:57:00 -0400 (0:00:00.071) 0:03:07.396 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 26 July 2024 21:57:00 -0400 (0:00:00.072) 0:03:07.469 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 26 July 2024 21:57:00 -0400 (0:00:00.071) 0:03:07.541 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 26 July 2024 21:57:00 -0400 (0:00:00.069) 0:03:07.610 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 26 July 2024 21:57:00 -0400 (0:00:00.069) 0:03:07.680 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 26 July 2024 21:57:00 -0400 (0:00:00.201) 0:03:07.881 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 26 July 2024 21:57:00 -0400 (0:00:00.077) 0:03:07.959 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 26 July 2024 21:57:01 -0400 (0:00:00.072) 0:03:08.031 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:81 Friday 26 July 2024 21:57:01 -0400 (0:00:00.086) 0:03:08.118 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:89 Friday 26 July 2024 21:57:01 -0400 (0:00:00.074) 0:03:08.193 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:98 Friday 26 July 2024 21:57:01 -0400 (0:00:00.074) 0:03:08.267 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:107 Friday 26 July 2024 21:57:01 -0400 (0:00:00.073) 0:03:08.340 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:117 Friday 26 July 2024 21:57:01 -0400 (0:00:00.070) 0:03:08.411 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:126 Friday 26 July 2024 21:57:01 -0400 (0:00:00.078) 0:03:08.490 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Friday 26 July 2024 21:57:01 -0400 (0:00:00.069) 0:03:08.560 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:141 Friday 26 July 2024 21:57:02 -0400 (0:00:01.305) 0:03:09.865 *********** ok: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed_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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:149 Friday 26 July 2024 21:57:03 -0400 (0:00:00.373) 0:03:10.238 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 26 July 2024 21:57:03 -0400 (0:00:00.076) 0:03:10.315 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 26 July 2024 21:57:03 -0400 (0:00:00.081) 0:03:10.397 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:177 Friday 26 July 2024 21:57:03 -0400 (0:00:00.137) 0:03:10.534 *********** ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:191 Friday 26 July 2024 21:57:04 -0400 (0:00:00.556) 0:03:11.090 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:201 Friday 26 July 2024 21:57:04 -0400 (0:00:00.071) 0:03:11.162 *********** 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 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:212 Friday 26 July 2024 21:57:04 -0400 (0:00:00.077) 0:03:11.240 *********** 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 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 26 July 2024 21:57:04 -0400 (0:00:00.080) 0:03:11.320 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:235 Friday 26 July 2024 21:57:04 -0400 (0:00:00.071) 0:03:11.392 *********** 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 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:247 Friday 26 July 2024 21:57:04 -0400 (0:00:00.075) 0:03:11.467 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 26 July 2024 21:57:04 -0400 (0:00:00.072) 0:03:11.540 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:266 Friday 26 July 2024 21:57:04 -0400 (0:00:00.104) 0:03:11.644 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 26 July 2024 21:57:04 -0400 (0:00:00.070) 0:03:11.714 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:284 Friday 26 July 2024 21:57:05 -0400 (0:00:00.602) 0:03:12.317 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:292 Friday 26 July 2024 21:57:05 -0400 (0:00:00.597) 0:03:12.915 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:300 Friday 26 July 2024 21:57:05 -0400 (0:00:00.071) 0:03:12.987 *********** 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.004860", "end": "2024-07-26 21:57:06.253568", "rc": 0, "start": "2024-07-26 21:57:06.248708" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:316 Friday 26 July 2024 21:57:06 -0400 (0:00:00.366) 0:03:13.353 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:320 Friday 26 July 2024 21:57:07 -0400 (0:00:00.918) 0:03:14.272 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:329 Friday 26 July 2024 21:57:07 -0400 (0:00:00.101) 0:03:14.374 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:345 Friday 26 July 2024 21:57:07 -0400 (0:00:00.071) 0:03:14.445 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:370 Friday 26 July 2024 21:57:07 -0400 (0:00:00.070) 0:03:14.516 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:385 Friday 26 July 2024 21:57:07 -0400 (0:00:00.091) 0:03:14.607 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 26 July 2024 21:57:07 -0400 (0:00:00.072) 0:03:14.679 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:410 Friday 26 July 2024 21:57:07 -0400 (0:00:00.073) 0:03:14.752 *********** 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" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Friday 26 July 2024 21:57:08 -0400 (0:00:00.571) 0:03:15.324 *********** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-07-26 21:27:56 EDT", "ActiveEnterTimestampMonotonic": "12916852", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service systemd-journald.socket system.slice basic.target systemd-sysctl.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-07-26 21:27:55 EDT", "AssertTimestampMonotonic": "12241781", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-07-26 21:27:55 EDT", "ConditionTimestampMonotonic": "12241780", "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": "853", "ExecMainStartTimestamp": "Fri 2024-07-26 21:27:55 EDT", "ExecMainStartTimestampMonotonic": "12243873", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-07-26 21:27:55 EDT", "InactiveExitTimestampMonotonic": "12243909", "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": "853", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice polkit.service basic.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-07-26 21:27:56 EDT", "WatchdogTimestampMonotonic": "12916740", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 26 July 2024 21:57:08 -0400 (0:00:00.460) 0:03:15.784 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.090659", "end": "2024-07-26 21:57:09.131826", "rc": 0, "start": "2024-07-26 21:57:09.041167" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Friday 26 July 2024 21:57:09 -0400 (0:00:00.444) 0:03:16.229 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:449 Friday 26 July 2024 21:57:09 -0400 (0:00:00.188) 0:03:16.417 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Friday 26 July 2024 21:57:09 -0400 (0:00:00.077) 0:03:16.495 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:468 Friday 26 July 2024 21:57:09 -0400 (0:00:00.081) 0:03:16.577 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:476 Friday 26 July 2024 21:57:09 -0400 (0:00:00.372) 0:03:16.949 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:485 Friday 26 July 2024 21:57:10 -0400 (0:00:00.076) 0:03:17.025 *********** 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" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:497 Friday 26 July 2024 21:57:10 -0400 (0:00:00.578) 0:03:17.604 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:501 Friday 26 July 2024 21:57:10 -0400 (0:00:00.072) 0:03:17.676 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:507 Friday 26 July 2024 21:57:10 -0400 (0:00:00.074) 0:03:17.751 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:522 Friday 26 July 2024 21:57:10 -0400 (0:00:00.070) 0:03:17.822 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 26 July 2024 21:57:10 -0400 (0:00:00.076) 0:03:17.899 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:537 Friday 26 July 2024 21:57:10 -0400 (0:00:00.076) 0:03:17.975 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:558 Friday 26 July 2024 21:57:11 -0400 (0:00:00.076) 0:03:18.052 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 26 July 2024 21:57:11 -0400 (0:00:00.069) 0:03:18.121 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:576 Friday 26 July 2024 21:57:11 -0400 (0:00:00.068) 0:03:18.189 *********** 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.005070", "end": "2024-07-26 21:57:11.451829", "rc": 0, "start": "2024-07-26 21:57:11.446759" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Friday 26 July 2024 21:57:11 -0400 (0:00:00.361) 0:03:18.551 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 26 July 2024 21:57:11 -0400 (0:00:00.205) 0:03:18.756 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 26 July 2024 21:57:12 -0400 (0:00:01.233) 0:03:19.989 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:622 Friday 26 July 2024 21:57:13 -0400 (0:00:00.082) 0:03:20.071 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 26 July 2024 21:57:13 -0400 (0:00:00.072) 0:03:20.145 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 26 July 2024 21:57:13 -0400 (0:00:00.080) 0:03:20.225 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 26 July 2024 21:57:13 -0400 (0:00:00.074) 0:03:20.299 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:57:13 -0400 (0:00:00.129) 0:03:20.429 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003056", "end": "2024-07-26 21:57:13.691285", "failed_when_result": false, "rc": 1, "start": "2024-07-26 21:57:13.688229" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:57:13 -0400 (0:00:00.362) 0:03:20.791 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.045912", "end": "2024-07-26 21:57:14.108826", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:57:14.062914" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:57:14 -0400 (0:00:00.431) 0:03:21.222 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:654 Friday 26 July 2024 21:57:14 -0400 (0:00:00.075) 0:03:21.298 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Friday 26 July 2024 21:57:14 -0400 (0:00:00.191) 0:03:21.489 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 26 July 2024 21:57:14 -0400 (0:00:00.077) 0:03:21.567 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 26 July 2024 21:57:14 -0400 (0:00:00.074) 0:03:21.642 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:697 Friday 26 July 2024 21:57:14 -0400 (0:00:00.074) 0:03:21.716 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:703 Friday 26 July 2024 21:57:14 -0400 (0:00:00.072) 0:03:21.789 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 26 July 2024 21:57:14 -0400 (0:00:00.074) 0:03:21.864 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:718 Friday 26 July 2024 21:57:14 -0400 (0:00:00.075) 0:03:21.940 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:724 Friday 26 July 2024 21:57:15 -0400 (0:00:00.069) 0:03:22.009 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Friday 26 July 2024 21:57:15 -0400 (0:00:00.071) 0:03:22.080 *********** TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Friday 26 July 2024 21:57:15 -0400 (0:00:00.157) 0:03:22.238 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Friday 26 July 2024 21:57:15 -0400 (0:00:00.137) 0:03:22.376 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Friday 26 July 2024 21:57:15 -0400 (0:00:00.108) 0:03:22.485 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Friday 26 July 2024 21:57:15 -0400 (0:00:00.366) 0:03:22.851 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Friday 26 July 2024 21:57:15 -0400 (0:00:00.088) 0:03:22.939 *********** 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.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Friday 26 July 2024 21:57:16 -0400 (0:00:00.349) 0:03:23.289 *********** changed: [managed_node1] => { "changed": true, "changes": { "installed": [ "python-pyasn1", "python-cryptography" ] }, "rc": 0, "results": [ "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\nResolving Dependencies\n--> Running transaction check\n---> Package python2-cryptography.x86_64 0:1.7.2-2.el7 will be installed\n--> Processing Dependency: python-idna >= 2.0 for package: python2-cryptography-1.7.2-2.el7.x86_64\n--> Processing Dependency: python-cffi >= 1.4.1 for package: python2-cryptography-1.7.2-2.el7.x86_64\n--> Processing Dependency: python-enum34 for package: python2-cryptography-1.7.2-2.el7.x86_64\n---> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed\n--> Running transaction check\n---> Package python-cffi.x86_64 0:1.6.0-5.el7 will be installed\n--> Processing Dependency: python-pycparser for package: python-cffi-1.6.0-5.el7.x86_64\n---> Package python-enum34.noarch 0:1.0.4-1.el7 will be installed\n---> Package python-idna.noarch 0:2.4-1.el7 will be installed\n--> Running transaction check\n---> Package python-pycparser.noarch 0:2.14-1.el7 will be installed\n--> Processing Dependency: python-ply for package: python-pycparser-2.14-1.el7.noarch\n--> Running transaction check\n---> Package python-ply.noarch 0:3.4-11.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n python2-cryptography x86_64 1.7.2-2.el7 base 502 k\n python2-pyasn1 noarch 0.1.9-7.el7 base 100 k\nInstalling for dependencies:\n python-cffi x86_64 1.6.0-5.el7 base 218 k\n python-enum34 noarch 1.0.4-1.el7 base 52 k\n python-idna noarch 2.4-1.el7 base 94 k\n python-ply noarch 3.4-11.el7 base 123 k\n python-pycparser noarch 2.14-1.el7 base 104 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+5 Dependent packages)\n\nTotal download size: 1.2 M\nInstalled size: 6.1 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 3.7 MB/s | 1.2 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python2-pyasn1-0.1.9-7.el7.noarch 1/7 \n Installing : python-enum34-1.0.4-1.el7.noarch 2/7 \n Installing : python-ply-3.4-11.el7.noarch 3/7 \n Installing : python-pycparser-2.14-1.el7.noarch 4/7 \n Installing : python-cffi-1.6.0-5.el7.x86_64 5/7 \n Installing : python-idna-2.4-1.el7.noarch 6/7 \n Installing : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \n Verifying : python-idna-2.4-1.el7.noarch 1/7 \n Verifying : python-pycparser-2.14-1.el7.noarch 2/7 \n Verifying : python-ply-3.4-11.el7.noarch 3/7 \n Verifying : python-cffi-1.6.0-5.el7.x86_64 4/7 \n Verifying : python-enum34-1.0.4-1.el7.noarch 5/7 \n Verifying : python2-pyasn1-0.1.9-7.el7.noarch 6/7 \n Verifying : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \n\nInstalled:\n python2-cryptography.x86_64 0:1.7.2-2.el7 python2-pyasn1.noarch 0:0.1.9-7.el7\n\nDependency Installed:\n python-cffi.x86_64 0:1.6.0-5.el7 python-enum34.noarch 0:1.0.4-1.el7 \n python-idna.noarch 0:2.4-1.el7 python-ply.noarch 0:3.4-11.el7 \n python-pycparser.noarch 0:2.14-1.el7 \n\nComplete!\n" ] } lsrpackages: python-cryptography python-dbus python-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Friday 26 July 2024 21:57:19 -0400 (0:00:03.340) 0:03:26.629 *********** changed: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "changes": { "installed": [ "certmonger" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\nResolving Dependencies\n--> Running transaction check\n---> Package certmonger.x86_64 0:0.78.4-17.el7_9 will be installed\n--> Processing Dependency: psmisc for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtevent.so.0(TEVENT_0.9.9)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2(TALLOC_2.0.2)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_util.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_client.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtevent.so.0()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Running transaction check\n---> Package libtalloc.x86_64 0:2.1.16-1.el7 will be installed\n---> Package libtevent.x86_64 0:0.9.39-1.el7 will be installed\n---> Package psmisc.x86_64 0:22.20-17.el7 will be installed\n---> Package xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n---> Package xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n certmonger x86_64 0.78.4-17.el7_9 updates 608 k\nInstalling for dependencies:\n libtalloc x86_64 2.1.16-1.el7 base 33 k\n libtevent x86_64 0.9.39-1.el7 base 41 k\n psmisc x86_64 22.20-17.el7 base 141 k\n xmlrpc-c x86_64 1.32.5-1905.svn2451.el7 base 130 k\n xmlrpc-c-client x86_64 1.32.5-1905.svn2451.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+5 Dependent packages)\n\nTotal download size: 984 k\nInstalled size: 3.7 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 2.7 MB/s | 984 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Installing : libtalloc-2.1.16-1.el7.x86_64 2/6 \n Installing : libtevent-0.9.39-1.el7.x86_64 3/6 \n Installing : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Installing : psmisc-22.20-17.el7.x86_64 5/6 \n Installing : certmonger-0.78.4-17.el7_9.x86_64 6/6 \n Verifying : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Verifying : libtevent-0.9.39-1.el7.x86_64 2/6 \n Verifying : libtalloc-2.1.16-1.el7.x86_64 3/6 \n Verifying : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Verifying : certmonger-0.78.4-17.el7_9.x86_64 5/6 \n Verifying : psmisc-22.20-17.el7.x86_64 6/6 \n\nInstalled:\n certmonger.x86_64 0:0.78.4-17.el7_9 \n\nDependency Installed:\n libtalloc.x86_64 0:2.1.16-1.el7 \n libtevent.x86_64 0:0.9.39-1.el7 \n psmisc.x86_64 0:22.20-17.el7 \n xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 \n xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 \n\nComplete!\n" ] } lsrpackages: certmonger TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Friday 26 July 2024 21:57:22 -0400 (0:00:03.201) 0:03:29.830 *********** changed: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Friday 26 July 2024 21:57:23 -0400 (0:00:00.406) 0:03:30.237 *********** changed: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Friday 26 July 2024 21:57:23 -0400 (0:00:00.405) 0:03:30.643 *********** changed: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "systemd-journald.socket basic.target network.target system.slice dbus.service syslog.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/certmonger.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Friday 26 July 2024 21:57:24 -0400 (0:00:00.648) 0:03:31.291 *********** changed: [managed_node1] => (item={u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.45.172', u'ca': u'self-sign', u'mode': u'0600'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "common_name": "10.31.45.172", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } } MSG: Certificate requested (new). File attributes updated. TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Friday 26 July 2024 21:57:25 -0400 (0:00:01.195) 0:03:32.487 *********** skipping: [managed_node1] => (item=[u'cert', {u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.45.172', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "common_name": "10.31.45.172", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=[u'key', {u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.45.172', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "common_name": "10.31.45.172", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=[u'ca', {u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.45.172', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "common_name": "10.31.45.172", "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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Friday 26 July 2024 21:57:25 -0400 (0:00:00.127) 0:03:32.614 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Friday 26 July 2024 21:57:25 -0400 (0:00:00.079) 0:03:32.694 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Friday 26 July 2024 21:57:25 -0400 (0:00:00.084) 0:03:32.779 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Friday 26 July 2024 21:57:25 -0400 (0:00:00.086) 0:03:32.865 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:761 Friday 26 July 2024 21:57:25 -0400 (0:00:00.085) 0:03:32.950 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:779 Friday 26 July 2024 21:57:26 -0400 (0:00:00.100) 0:03:33.051 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:57:26 -0400 (0:00:00.252) 0:03:33.303 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003624", "end": "2024-07-26 21:57:26.576819", "failed_when_result": false, "rc": 1, "start": "2024-07-26 21:57:26.573195" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:57:26 -0400 (0:00:00.374) 0:03:33.677 *********** 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.044699", "end": "2024-07-26 21:57:27.002252", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:57:26.957553" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:57:27 -0400 (0:00:00.434) 0:03:34.112 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:788 Friday 26 July 2024 21:57:27 -0400 (0:00:00.078) 0:03:34.190 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:57:27 -0400 (0:00:00.138) 0:03:34.329 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002934", "end": "2024-07-26 21:57:27.598891", "failed_when_result": false, "rc": 1, "start": "2024-07-26 21:57:27.595957" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:57:27 -0400 (0:00:00.371) 0:03:34.700 *********** 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.045687", "end": "2024-07-26 21:57:28.017472", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:57:27.971785" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:57:28 -0400 (0:00:00.423) 0:03:35.124 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:797 Friday 26 July 2024 21:57:28 -0400 (0:00:00.076) 0:03:35.201 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:57:28 -0400 (0:00:00.140) 0:03:35.342 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003074", "end": "2024-07-26 21:57:28.622802", "failed_when_result": false, "rc": 1, "start": "2024-07-26 21:57:28.619728" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:57:28 -0400 (0:00:00.384) 0:03:35.726 *********** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.047645", "end": "2024-07-26 21:57:29.062778", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:57:29.015133" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:57:29 -0400 (0:00:00.453) 0:03:36.180 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 26 July 2024 21:57:29 -0400 (0:00:00.199) 0:03:36.379 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:57:29 -0400 (0:00:00.142) 0:03:36.522 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002995", "end": "2024-07-26 21:57:29.787039", "failed_when_result": false, "rc": 1, "start": "2024-07-26 21:57:29.784044" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:57:29 -0400 (0:00:00.371) 0:03:36.893 *********** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.047004", "end": "2024-07-26 21:57:30.209225", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:57:30.162221" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:57:30 -0400 (0:00:00.423) 0:03:37.317 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:813 Friday 26 July 2024 21:57:30 -0400 (0:00:00.078) 0:03:37.396 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Friday 26 July 2024 21:57:30 -0400 (0:00:00.074) 0:03:37.470 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 26 July 2024 21:57:30 -0400 (0:00:00.069) 0:03:37.540 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 26 July 2024 21:57:30 -0400 (0:00:00.073) 0:03:37.613 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 26 July 2024 21:57:30 -0400 (0:00:00.073) 0:03:37.687 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:852 Friday 26 July 2024 21:57:30 -0400 (0:00:00.076) 0:03:37.764 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:865 Friday 26 July 2024 21:57:30 -0400 (0:00:00.070) 0:03:37.835 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:874 Friday 26 July 2024 21:57:30 -0400 (0:00:00.074) 0:03:37.909 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:886 Friday 26 July 2024 21:57:30 -0400 (0:00:00.074) 0:03:37.984 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:891 Friday 26 July 2024 21:57:31 -0400 (0:00:00.070) 0:03:38.055 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Friday 26 July 2024 21:57:31 -0400 (0:00:00.070) 0:03:38.126 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:913 Friday 26 July 2024 21:57:31 -0400 (0:00:00.070) 0:03:38.196 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:918 Friday 26 July 2024 21:57:31 -0400 (0:00:00.205) 0:03:38.402 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:924 Friday 26 July 2024 21:57:31 -0400 (0:00:00.075) 0:03:38.478 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:950 Friday 26 July 2024 21:57:31 -0400 (0:00:00.074) 0:03:38.552 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:971 Friday 26 July 2024 21:57:31 -0400 (0:00:00.078) 0:03:38.631 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:979 Friday 26 July 2024 21:57:31 -0400 (0:00:00.074) 0:03:38.705 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:989 Friday 26 July 2024 21:57:31 -0400 (0:00:00.077) 0:03:38.783 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:995 Friday 26 July 2024 21:57:31 -0400 (0:00:00.071) 0:03:38.855 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1013 Friday 26 July 2024 21:57:31 -0400 (0:00:00.075) 0:03:38.931 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Friday 26 July 2024 21:57:32 -0400 (0:00:00.074) 0:03:39.006 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1044 Friday 26 July 2024 21:57:32 -0400 (0:00:00.070) 0:03:39.076 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1097 Friday 26 July 2024 21:57:32 -0400 (0:00:00.075) 0:03:39.152 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 26 July 2024 21:57:32 -0400 (0:00:00.075) 0:03:39.228 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 26 July 2024 21:57:32 -0400 (0:00:00.074) 0:03:39.302 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Friday 26 July 2024 21:57:32 -0400 (0:00:00.073) 0:03:39.376 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1127 Friday 26 July 2024 21:57:32 -0400 (0:00:00.071) 0:03:39.447 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1135 Friday 26 July 2024 21:57:32 -0400 (0:00:00.090) 0:03:39.538 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1144 Friday 26 July 2024 21:57:32 -0400 (0:00:00.069) 0:03:39.607 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1152 Friday 26 July 2024 21:57:32 -0400 (0:00:00.074) 0:03:39.682 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1166 Friday 26 July 2024 21:57:32 -0400 (0:00:00.096) 0:03:39.778 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 26 July 2024 21:57:32 -0400 (0:00:00.194) 0:03:39.972 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1198 Friday 26 July 2024 21:57:33 -0400 (0:00:00.074) 0:03:40.047 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1207 Friday 26 July 2024 21:57:33 -0400 (0:00:00.069) 0:03:40.117 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1216 Friday 26 July 2024 21:57:33 -0400 (0:00:00.077) 0:03:40.194 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1227 Friday 26 July 2024 21:57:33 -0400 (0:00:00.072) 0:03:40.267 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 26 July 2024 21:57:33 -0400 (0:00:00.076) 0:03:40.344 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1249 Friday 26 July 2024 21:57:33 -0400 (0:00:00.075) 0:03:40.419 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 26 July 2024 21:57:33 -0400 (0:00:00.067) 0:03:40.486 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1263 Friday 26 July 2024 21:57:33 -0400 (0:00:00.074) 0:03:40.561 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1271 Friday 26 July 2024 21:57:33 -0400 (0:00:00.072) 0:03:40.634 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1278 Friday 26 July 2024 21:57:33 -0400 (0:00:00.074) 0:03:40.708 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1290 Friday 26 July 2024 21:57:33 -0400 (0:00:00.089) 0:03:40.798 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1299 Friday 26 July 2024 21:57:33 -0400 (0:00:00.068) 0:03:40.866 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1306 Friday 26 July 2024 21:57:33 -0400 (0:00:00.072) 0:03:40.939 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 26 July 2024 21:57:34 -0400 (0:00:00.068) 0:03:41.007 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1320 Friday 26 July 2024 21:57:34 -0400 (0:00:00.075) 0:03:41.083 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 26 July 2024 21:57:34 -0400 (0:00:00.083) 0:03:41.167 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1345 Friday 26 July 2024 21:57:34 -0400 (0:00:00.071) 0:03:41.238 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1350 Friday 26 July 2024 21:57:34 -0400 (0:00:00.194) 0:03:41.433 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1356 Friday 26 July 2024 21:57:34 -0400 (0:00:00.073) 0:03:41.507 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1365 Friday 26 July 2024 21:57:34 -0400 (0:00:00.080) 0:03:41.587 *********** changed: [managed_node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 26 July 2024 21:57:35 -0400 (0:00:00.473) 0:03:42.061 *********** changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-07-26 21:56:49 EDT", "ActiveEnterTimestampMonotonic": "1745672766", "ActiveExitTimestamp": "Fri 2024-07-26 21:56:49 EDT", "ActiveExitTimestampMonotonic": "1745437235", "ActiveState": "active", "After": "system.slice network.target -.mount auditd.service systemd-journald.socket basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-07-26 21:56:49 EDT", "AssertTimestampMonotonic": "1745671968", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-07-26 21:56:49 EDT", "ConditionTimestampMonotonic": "1745671966", "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": "17273", "ExecMainStartTimestamp": "Fri 2024-07-26 21:56:49 EDT", "ExecMainStartTimestampMonotonic": "1745672702", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-07-26 21:56:49 EDT", "InactiveEnterTimestampMonotonic": "1745669747", "InactiveExitTimestamp": "Fri 2024-07-26 21:56:49 EDT", "InactiveExitTimestampMonotonic": "1745672766", "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": "17273", "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": "Fri 2024-07-26 21:56:49 EDT", "WatchdogTimestampMonotonic": "1745672743", "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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 26 July 2024 21:57:35 -0400 (0:00:00.790) 0:03:42.851 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1385 Friday 26 July 2024 21:57:35 -0400 (0:00:00.073) 0:03:42.924 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Verify connectivity and settings] **************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:168 Friday 26 July 2024 21:57:35 -0400 (0:00:00.073) 0:03:42.998 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 26 July 2024 21:57:36 -0400 (0:00:00.626) 0:03:43.624 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 26 July 2024 21:57:36 -0400 (0:00:00.209) 0:03:43.834 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 26 July 2024 21:57:36 -0400 (0:00:00.074) 0:03:43.908 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 26 July 2024 21:57:36 -0400 (0:00:00.076) 0:03:43.985 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 26 July 2024 21:57:37 -0400 (0:00:00.082) 0:03:44.067 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 26 July 2024 21:57:37 -0400 (0:00:00.071) 0:03:44.139 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 26 July 2024 21:57:37 -0400 (0:00:00.074) 0:03:44.213 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 26 July 2024 21:57:37 -0400 (0:00:00.068) 0:03:44.282 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 26 July 2024 21:57:37 -0400 (0:00:00.076) 0:03:44.359 *********** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 26 July 2024 21:57:37 -0400 (0:00:00.128) 0:03:44.488 *********** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-07-26 21:57:35 EDT", "ActiveEnterTimestampMonotonic": "1792072953", "ActiveExitTimestamp": "Fri 2024-07-26 21:57:35 EDT", "ActiveExitTimestampMonotonic": "1791834690", "ActiveState": "active", "After": "system.slice network.target -.mount auditd.service systemd-journald.socket basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-07-26 21:57:35 EDT", "AssertTimestampMonotonic": "1792072280", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-07-26 21:57:35 EDT", "ConditionTimestampMonotonic": "1792072278", "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": "19809", "ExecMainStartTimestamp": "Fri 2024-07-26 21:57:35 EDT", "ExecMainStartTimestampMonotonic": "1792072892", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-07-26 21:57:35 EDT] ; stop_time=[n/a] ; pid=19809 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-07-26 21:57:35 EDT", "InactiveEnterTimestampMonotonic": "1792070196", "InactiveExitTimestamp": "Fri 2024-07-26 21:57:35 EDT", "InactiveExitTimestampMonotonic": "1792072953", "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": "19809", "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": "Fri 2024-07-26 21:57:35 EDT", "WatchdogTimestampMonotonic": "1792072931", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 26 July 2024 21:57:38 -0400 (0:00:00.681) 0:03:45.169 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004079", "end": "2024-07-26 21:57:38.857345", "failed_when_result": false, "rc": 1, "start": "2024-07-26 21:57:38.853266" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 26 July 2024 21:57:38 -0400 (0:00:00.797) 0:03:45.967 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003891", "end": "2024-07-26 21:57:39.332924", "failed_when_result": false, "rc": 1, "start": "2024-07-26 21:57:39.329033" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 26 July 2024 21:57:39 -0400 (0:00:00.472) 0:03:46.440 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 26 July 2024 21:57:39 -0400 (0:00:00.088) 0:03:46.528 *********** 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": 6365, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 26 July 2024 21:57:40 -0400 (0:00:01.384) 0:03:47.912 *********** 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.032196", "end": "2024-07-26 21:57:41.208544", "rc": 0, "start": "2024-07-26 21:57:41.176348" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 26 July 2024 21:57:41 -0400 (0:00:00.553) 0:03:48.466 *********** ok: [managed_node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 26 July 2024 21:57:41 -0400 (0:00:00.081) 0:03:48.548 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 26 July 2024 21:57:41 -0400 (0:00:00.075) 0:03:48.623 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 26 July 2024 21:57:41 -0400 (0:00:00.071) 0:03:48.695 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 26 July 2024 21:57:41 -0400 (0:00:00.075) 0:03:48.770 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 26 July 2024 21:57:41 -0400 (0:00:00.077) 0:03:48.848 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 26 July 2024 21:57:41 -0400 (0:00:00.070) 0:03:48.918 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 26 July 2024 21:57:41 -0400 (0:00:00.074) 0:03:48.993 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 26 July 2024 21:57:42 -0400 (0:00:00.071) 0:03:49.064 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 26 July 2024 21:57:42 -0400 (0:00:00.134) 0:03:49.199 *********** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004166", "end": "2024-07-26 21:57:42.479250", "rc": 0, "start": "2024-07-26 21:57:42.475084" } STDOUT: tlscert = /etc/pki/tls/certs/mssql_2019_cert.crt TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 26 July 2024 21:57:42 -0400 (0:00:00.381) 0:03:49.580 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 26 July 2024 21:57:42 -0400 (0:00:00.094) 0:03:49.675 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 26 July 2024 21:57:42 -0400 (0:00:00.081) 0:03:49.756 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 26 July 2024 21:57:42 -0400 (0:00:00.074) 0:03:49.831 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 26 July 2024 21:57:42 -0400 (0:00:00.129) 0:03:49.960 *********** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004172", "end": "2024-07-26 21:57:43.234554", "rc": 0, "start": "2024-07-26 21:57:43.230382" } STDOUT: tlskey = /etc/pki/tls/private/mssql_2019_cert.key TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 26 July 2024 21:57:43 -0400 (0:00:00.507) 0:03:50.468 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 26 July 2024 21:57:43 -0400 (0:00:00.098) 0:03:50.566 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 26 July 2024 21:57:43 -0400 (0:00:00.080) 0:03:50.646 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 26 July 2024 21:57:43 -0400 (0:00:00.081) 0:03:50.728 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 26 July 2024 21:57:43 -0400 (0:00:00.135) 0:03:50.863 *********** ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004122", "end": "2024-07-26 21:57:44.124730", "rc": 0, "start": "2024-07-26 21:57:44.120608" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 26 July 2024 21:57:44 -0400 (0:00:00.366) 0:03:51.230 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 26 July 2024 21:57:44 -0400 (0:00:00.090) 0:03:51.321 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 26 July 2024 21:57:44 -0400 (0:00:00.075) 0:03:51.396 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 26 July 2024 21:57:44 -0400 (0:00:00.075) 0:03:51.472 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 26 July 2024 21:57:44 -0400 (0:00:00.143) 0:03:51.615 *********** ok: [managed_node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003963", "end": "2024-07-26 21:57:44.873924", "rc": 0, "start": "2024-07-26 21:57:44.869961" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 26 July 2024 21:57:44 -0400 (0:00:00.356) 0:03:51.971 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 26 July 2024 21:57:45 -0400 (0:00:00.076) 0:03:52.048 *********** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 26 July 2024 21:57:45 -0400 (0:00:00.095) 0:03:52.143 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 26 July 2024 21:57:45 -0400 (0:00:00.072) 0:03:52.216 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:175 Friday 26 July 2024 21:57:45 -0400 (0:00:00.203) 0:03:52.419 *********** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 26 July 2024 21:57:46 -0400 (0:00:01.190) 0:03:53.609 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 26 July 2024 21:57:46 -0400 (0:00:00.118) 0:03:53.728 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 26 July 2024 21:57:46 -0400 (0:00:00.261) 0:03:53.989 *********** 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.cPXx8LCCu6/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.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 26 July 2024 21:57:47 -0400 (0:00:00.124) 0:03:54.114 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 26 July 2024 21:57:47 -0400 (0:00:00.071) 0:03:54.185 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 26 July 2024 21:57:47 -0400 (0:00:00.078) 0:03:54.264 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 26 July 2024 21:57:47 -0400 (0:00:00.071) 0:03:54.336 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 26 July 2024 21:57:47 -0400 (0:00:00.071) 0:03:54.408 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 26 July 2024 21:57:47 -0400 (0:00:00.071) 0:03:54.480 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 26 July 2024 21:57:47 -0400 (0:00:00.075) 0:03:54.556 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 26 July 2024 21:57:47 -0400 (0:00:00.074) 0:03:54.631 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 26 July 2024 21:57:47 -0400 (0:00:00.071) 0:03:54.702 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 26 July 2024 21:57:47 -0400 (0:00:00.073) 0:03:54.776 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:81 Friday 26 July 2024 21:57:47 -0400 (0:00:00.084) 0:03:54.860 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:89 Friday 26 July 2024 21:57:47 -0400 (0:00:00.071) 0:03:54.932 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:98 Friday 26 July 2024 21:57:48 -0400 (0:00:00.074) 0:03:55.006 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:107 Friday 26 July 2024 21:57:48 -0400 (0:00:00.069) 0:03:55.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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:117 Friday 26 July 2024 21:57:48 -0400 (0:00:00.075) 0:03:55.152 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:126 Friday 26 July 2024 21:57:48 -0400 (0:00:00.072) 0:03:55.224 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Friday 26 July 2024 21:57:48 -0400 (0:00:00.070) 0:03:55.295 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:141 Friday 26 July 2024 21:57:49 -0400 (0:00:01.395) 0:03:56.690 *********** ok: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed_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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:149 Friday 26 July 2024 21:57:49 -0400 (0:00:00.214) 0:03:56.904 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 26 July 2024 21:57:49 -0400 (0:00:00.078) 0:03:56.983 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 26 July 2024 21:57:50 -0400 (0:00:00.083) 0:03:57.066 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:177 Friday 26 July 2024 21:57:50 -0400 (0:00:00.140) 0:03:57.207 *********** ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:191 Friday 26 July 2024 21:57:50 -0400 (0:00:00.570) 0:03:57.777 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:201 Friday 26 July 2024 21:57:50 -0400 (0:00:00.075) 0:03:57.853 *********** 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 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:212 Friday 26 July 2024 21:57:50 -0400 (0:00:00.079) 0:03:57.932 *********** 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 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 26 July 2024 21:57:51 -0400 (0:00:00.073) 0:03:58.006 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:235 Friday 26 July 2024 21:57:51 -0400 (0:00:00.074) 0:03:58.081 *********** 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 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:247 Friday 26 July 2024 21:57:51 -0400 (0:00:00.076) 0:03:58.158 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 26 July 2024 21:57:51 -0400 (0:00:00.076) 0:03:58.235 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:266 Friday 26 July 2024 21:57:51 -0400 (0:00:00.106) 0:03:58.341 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 26 July 2024 21:57:51 -0400 (0:00:00.222) 0:03:58.563 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:284 Friday 26 July 2024 21:57:52 -0400 (0:00:00.630) 0:03:59.194 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:292 Friday 26 July 2024 21:57:52 -0400 (0:00:00.577) 0:03:59.772 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:300 Friday 26 July 2024 21:57:52 -0400 (0:00:00.074) 0:03:59.846 *********** 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.004797", "end": "2024-07-26 21:57:53.121689", "rc": 0, "start": "2024-07-26 21:57:53.116892" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:316 Friday 26 July 2024 21:57:53 -0400 (0:00:00.372) 0:04:00.219 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:320 Friday 26 July 2024 21:57:54 -0400 (0:00:00.917) 0:04:01.136 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:329 Friday 26 July 2024 21:57:54 -0400 (0:00:00.107) 0:04:01.244 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:345 Friday 26 July 2024 21:57:54 -0400 (0:00:00.068) 0:04:01.313 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:370 Friday 26 July 2024 21:57:54 -0400 (0:00:00.071) 0:04:01.384 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:385 Friday 26 July 2024 21:57:54 -0400 (0:00:00.091) 0:04:01.476 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 26 July 2024 21:57:54 -0400 (0:00:00.074) 0:04:01.550 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:410 Friday 26 July 2024 21:57:54 -0400 (0:00:00.073) 0:04:01.623 *********** 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" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:416 Friday 26 July 2024 21:57:55 -0400 (0:00:00.584) 0:04:02.207 *********** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-07-26 21:27:56 EDT", "ActiveEnterTimestampMonotonic": "12916852", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service system.slice systemd-sysctl.service network.target systemd-journald.socket basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-07-26 21:27:55 EDT", "AssertTimestampMonotonic": "12241781", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-07-26 21:27:55 EDT", "ConditionTimestampMonotonic": "12241780", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "853", "ExecMainStartTimestamp": "Fri 2024-07-26 21:27:55 EDT", "ExecMainStartTimestampMonotonic": "12243873", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-07-26 21:27:55 EDT", "InactiveExitTimestampMonotonic": "12243909", "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": "853", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target dbus.service polkit.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-07-26 21:27:56 EDT", "WatchdogTimestampMonotonic": "12916740", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 26 July 2024 21:57:55 -0400 (0:00:00.480) 0:04:02.687 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.086145", "end": "2024-07-26 21:57:56.047312", "rc": 0, "start": "2024-07-26 21:57:55.961167" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:436 Friday 26 July 2024 21:57:56 -0400 (0:00:00.464) 0:04:03.152 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:449 Friday 26 July 2024 21:57:56 -0400 (0:00:00.236) 0:04:03.388 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:458 Friday 26 July 2024 21:57:56 -0400 (0:00:00.085) 0:04:03.473 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:468 Friday 26 July 2024 21:57:56 -0400 (0:00:00.077) 0:04:03.551 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:476 Friday 26 July 2024 21:57:56 -0400 (0:00:00.367) 0:04:03.918 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:485 Friday 26 July 2024 21:57:56 -0400 (0:00:00.075) 0:04:03.994 *********** 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" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:497 Friday 26 July 2024 21:57:57 -0400 (0:00:00.587) 0:04:04.582 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:501 Friday 26 July 2024 21:57:57 -0400 (0:00:00.076) 0:04:04.659 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:507 Friday 26 July 2024 21:57:57 -0400 (0:00:00.080) 0:04:04.739 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:522 Friday 26 July 2024 21:57:57 -0400 (0:00:00.076) 0:04:04.815 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 26 July 2024 21:57:57 -0400 (0:00:00.077) 0:04:04.893 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:537 Friday 26 July 2024 21:57:57 -0400 (0:00:00.078) 0:04:04.972 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:558 Friday 26 July 2024 21:57:58 -0400 (0:00:00.073) 0:04:05.045 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 26 July 2024 21:57:58 -0400 (0:00:00.076) 0:04:05.122 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:576 Friday 26 July 2024 21:57:58 -0400 (0:00:00.071) 0:04:05.193 *********** 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.004786", "end": "2024-07-26 21:57:58.474847", "rc": 0, "start": "2024-07-26 21:57:58.470061" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:590 Friday 26 July 2024 21:57:58 -0400 (0:00:00.384) 0:04:05.578 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 26 July 2024 21:57:58 -0400 (0:00:00.219) 0:04:05.798 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 26 July 2024 21:58:00 -0400 (0:00:01.234) 0:04:07.032 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:622 Friday 26 July 2024 21:58:00 -0400 (0:00:00.083) 0:04:07.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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 26 July 2024 21:58:00 -0400 (0:00:00.076) 0:04:07.192 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 26 July 2024 21:58:00 -0400 (0:00:00.075) 0:04:07.267 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 26 July 2024 21:58:00 -0400 (0:00:00.076) 0:04:07.344 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:58:00 -0400 (0:00:00.124) 0:04:07.469 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003101", "end": "2024-07-26 21:58:00.751814", "failed_when_result": false, "rc": 1, "start": "2024-07-26 21:58:00.748713" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:58:00 -0400 (0:00:00.384) 0:04:07.853 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.047891", "end": "2024-07-26 21:58:01.179299", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:58:01.131408" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:58:01 -0400 (0:00:00.442) 0:04:08.296 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:654 Friday 26 July 2024 21:58:01 -0400 (0:00:00.076) 0:04:08.372 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:674 Friday 26 July 2024 21:58:01 -0400 (0:00:00.075) 0:04:08.448 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 26 July 2024 21:58:01 -0400 (0:00:00.075) 0:04:08.524 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 26 July 2024 21:58:01 -0400 (0:00:00.078) 0:04:08.603 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:697 Friday 26 July 2024 21:58:01 -0400 (0:00:00.071) 0:04:08.675 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:703 Friday 26 July 2024 21:58:01 -0400 (0:00:00.241) 0:04:08.916 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 26 July 2024 21:58:01 -0400 (0:00:00.079) 0:04:08.995 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:718 Friday 26 July 2024 21:58:02 -0400 (0:00:00.078) 0:04:09.074 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:724 Friday 26 July 2024 21:58:02 -0400 (0:00:00.080) 0:04:09.154 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:742 Friday 26 July 2024 21:58:02 -0400 (0:00:00.075) 0:04:09.230 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:756 Friday 26 July 2024 21:58:02 -0400 (0:00:00.079) 0:04:09.310 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:761 Friday 26 July 2024 21:58:02 -0400 (0:00:00.075) 0:04:09.385 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:779 Friday 26 July 2024 21:58:02 -0400 (0:00:00.107) 0:04:09.493 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:58:02 -0400 (0:00:00.135) 0:04:09.628 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003111", "end": "2024-07-26 21:58:02.896621", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:58:02.893510" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:58:02 -0400 (0:00:00.370) 0:04:09.999 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:58:03 -0400 (0:00:00.087) 0:04:10.086 *********** 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.047160", "end": "2024-07-26 21:58:03.406226", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:58:03.359066" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:788 Friday 26 July 2024 21:58:03 -0400 (0:00:00.422) 0:04:10.509 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:58:03 -0400 (0:00:00.137) 0:04:10.647 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003071", "end": "2024-07-26 21:58:03.926486", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:58:03.923415" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:58:04 -0400 (0:00:00.384) 0:04:11.031 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:58:04 -0400 (0:00:00.086) 0:04:11.118 *********** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.047826", "end": "2024-07-26 21:58:04.477368", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:58:04.429542" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:797 Friday 26 July 2024 21:58:04 -0400 (0:00:00.649) 0:04:11.767 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:58:04 -0400 (0:00:00.141) 0:04:11.909 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002975", "end": "2024-07-26 21:58:05.175591", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:58:05.172616" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:58:05 -0400 (0:00:00.372) 0:04:12.282 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:58:05 -0400 (0:00:00.082) 0:04:12.364 *********** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.045834", "end": "2024-07-26 21:58:05.676519", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:58:05.630685" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 26 July 2024 21:58:05 -0400 (0:00:00.420) 0:04:12.785 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 26 July 2024 21:58:05 -0400 (0:00:00.145) 0:04:12.930 *********** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002961", "end": "2024-07-26 21:58:06.207958", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:58:06.204997" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 26 July 2024 21:58:06 -0400 (0:00:00.379) 0:04:13.310 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 26 July 2024 21:58:06 -0400 (0:00:00.084) 0:04:13.395 *********** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.045447", "end": "2024-07-26 21:58:06.714172", "failed_when_result": false, "rc": 0, "start": "2024-07-26 21:58:06.668725" } 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:813 Friday 26 July 2024 21:58:06 -0400 (0:00:00.424) 0:04:13.820 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:821 Friday 26 July 2024 21:58:06 -0400 (0:00:00.073) 0:04:13.893 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 26 July 2024 21:58:06 -0400 (0:00:00.072) 0:04:13.966 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 26 July 2024 21:58:07 -0400 (0:00:00.072) 0:04:14.038 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 26 July 2024 21:58:07 -0400 (0:00:00.074) 0:04:14.113 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:852 Friday 26 July 2024 21:58:07 -0400 (0:00:00.075) 0:04:14.188 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:865 Friday 26 July 2024 21:58:07 -0400 (0:00:00.072) 0:04:14.261 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:874 Friday 26 July 2024 21:58:07 -0400 (0:00:00.221) 0:04:14.482 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:886 Friday 26 July 2024 21:58:07 -0400 (0:00:00.079) 0:04:14.561 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:891 Friday 26 July 2024 21:58:07 -0400 (0:00:00.080) 0:04:14.642 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:908 Friday 26 July 2024 21:58:07 -0400 (0:00:00.078) 0:04:14.720 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:913 Friday 26 July 2024 21:58:07 -0400 (0:00:00.071) 0:04:14.792 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:918 Friday 26 July 2024 21:58:07 -0400 (0:00:00.076) 0:04:14.868 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:924 Friday 26 July 2024 21:58:07 -0400 (0:00:00.073) 0:04:14.941 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:950 Friday 26 July 2024 21:58:08 -0400 (0:00:00.074) 0:04:15.016 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:971 Friday 26 July 2024 21:58:08 -0400 (0:00:00.073) 0:04:15.090 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:979 Friday 26 July 2024 21:58:08 -0400 (0:00:00.073) 0:04:15.163 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:989 Friday 26 July 2024 21:58:08 -0400 (0:00:00.072) 0:04:15.236 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:995 Friday 26 July 2024 21:58:08 -0400 (0:00:00.070) 0:04:15.306 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1013 Friday 26 July 2024 21:58:08 -0400 (0:00:00.073) 0:04:15.380 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1024 Friday 26 July 2024 21:58:08 -0400 (0:00:00.075) 0:04:15.456 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1044 Friday 26 July 2024 21:58:08 -0400 (0:00:00.075) 0:04:15.531 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1097 Friday 26 July 2024 21:58:08 -0400 (0:00:00.078) 0:04:15.609 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 26 July 2024 21:58:08 -0400 (0:00:00.074) 0:04:15.684 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 26 July 2024 21:58:08 -0400 (0:00:00.074) 0:04:15.758 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1121 Friday 26 July 2024 21:58:08 -0400 (0:00:00.072) 0:04:15.830 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1127 Friday 26 July 2024 21:58:09 -0400 (0:00:00.232) 0:04:16.063 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1135 Friday 26 July 2024 21:58:09 -0400 (0:00:00.089) 0:04:16.153 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1144 Friday 26 July 2024 21:58:09 -0400 (0:00:00.075) 0:04:16.228 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1152 Friday 26 July 2024 21:58:09 -0400 (0:00:00.076) 0:04:16.305 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1166 Friday 26 July 2024 21:58:09 -0400 (0:00:00.090) 0:04:16.395 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 26 July 2024 21:58:09 -0400 (0:00:00.075) 0:04:16.470 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1198 Friday 26 July 2024 21:58:09 -0400 (0:00:00.073) 0:04:16.544 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1207 Friday 26 July 2024 21:58:09 -0400 (0:00:00.072) 0:04:16.617 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1216 Friday 26 July 2024 21:58:09 -0400 (0:00:00.076) 0:04:16.694 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1227 Friday 26 July 2024 21:58:09 -0400 (0:00:00.073) 0:04:16.767 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 26 July 2024 21:58:09 -0400 (0:00:00.074) 0:04:16.841 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1249 Friday 26 July 2024 21:58:09 -0400 (0:00:00.074) 0:04:16.915 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 26 July 2024 21:58:09 -0400 (0:00:00.076) 0:04:16.991 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1263 Friday 26 July 2024 21:58:10 -0400 (0:00:00.079) 0:04:17.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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1271 Friday 26 July 2024 21:58:10 -0400 (0:00:00.068) 0:04:17.140 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1278 Friday 26 July 2024 21:58:10 -0400 (0:00:00.073) 0:04:17.213 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1290 Friday 26 July 2024 21:58:10 -0400 (0:00:00.088) 0:04:17.302 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1299 Friday 26 July 2024 21:58:10 -0400 (0:00:00.073) 0:04:17.376 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1306 Friday 26 July 2024 21:58:10 -0400 (0:00:00.075) 0:04:17.452 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 26 July 2024 21:58:10 -0400 (0:00:00.218) 0:04:17.670 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1320 Friday 26 July 2024 21:58:10 -0400 (0:00:00.081) 0:04:17.751 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 26 July 2024 21:58:10 -0400 (0:00:00.083) 0:04:17.835 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1345 Friday 26 July 2024 21:58:10 -0400 (0:00:00.078) 0:04:17.913 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1350 Friday 26 July 2024 21:58:10 -0400 (0:00:00.078) 0:04:17.991 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1356 Friday 26 July 2024 21:58:11 -0400 (0:00:00.078) 0:04:18.070 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1365 Friday 26 July 2024 21:58:11 -0400 (0:00:00.074) 0:04:18.145 *********** changed: [managed_node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 26 July 2024 21:58:11 -0400 (0:00:00.485) 0:04:18.630 *********** changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-07-26 21:57:35 EDT", "ActiveEnterTimestampMonotonic": "1792072953", "ActiveExitTimestamp": "Fri 2024-07-26 21:57:35 EDT", "ActiveExitTimestampMonotonic": "1791834690", "ActiveState": "active", "After": "system.slice network.target -.mount auditd.service systemd-journald.socket basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-07-26 21:57:35 EDT", "AssertTimestampMonotonic": "1792072280", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-07-26 21:57:35 EDT", "ConditionTimestampMonotonic": "1792072278", "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": "19809", "ExecMainStartTimestamp": "Fri 2024-07-26 21:57:35 EDT", "ExecMainStartTimestampMonotonic": "1792072892", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-07-26 21:57:35 EDT] ; stop_time=[n/a] ; pid=19809 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-07-26 21:57:35 EDT", "InactiveEnterTimestampMonotonic": "1792070196", "InactiveExitTimestamp": "Fri 2024-07-26 21:57:35 EDT", "InactiveExitTimestampMonotonic": "1792072953", "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": "19809", "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": "Fri 2024-07-26 21:57:35 EDT", "WatchdogTimestampMonotonic": "1792072931", "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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 26 July 2024 21:58:13 -0400 (0:00:01.475) 0:04:20.106 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1385 Friday 26 July 2024 21:58:13 -0400 (0:00:00.072) 0:04:20.178 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up after the role invocation] ************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2017.yml:20 Friday 26 July 2024 21:58:13 -0400 (0:00:00.074) 0:04:20.253 *********** included: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml for managed_node1 TASK [Gather package facts] **************************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Friday 26 July 2024 21:58:13 -0400 (0:00:00.134) 0:04:20.388 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:6 Friday 26 July 2024 21:58:15 -0400 (0:00:02.122) 0:04:22.510 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:14 Friday 26 July 2024 21:58:15 -0400 (0:00:00.101) 0:04:22.612 *********** ok: [managed_node1] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:18 Friday 26 July 2024 21:58:15 -0400 (0:00:00.078) 0:04:22.690 *********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 26 July 2024 21:58:15 -0400 (0:00:00.198) 0:04:22.889 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 26 July 2024 21:58:16 -0400 (0:00:00.187) 0:04:23.076 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 26 July 2024 21:58:16 -0400 (0:00:00.114) 0:04:23.190 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 26 July 2024 21:58:16 -0400 (0:00:00.548) 0:04:23.739 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 26 July 2024 21:58:16 -0400 (0:00:00.078) 0:04:23.818 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 26 July 2024 21:58:17 -0400 (0:00:00.405) 0:04:24.223 *********** ok: [managed_node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 26 July 2024 21:58:17 -0400 (0:00:00.083) 0:04:24.307 *********** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 26 July 2024 21:58:17 -0400 (0:00:00.586) 0:04:24.894 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 26 July 2024 21:58:17 -0400 (0:00:00.073) 0:04:24.967 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 26 July 2024 21:58:18 -0400 (0:00:00.212) 0:04:25.180 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 26 July 2024 21:58:18 -0400 (0:00:00.073) 0:04:25.253 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 26 July 2024 21:58:18 -0400 (0:00:00.077) 0:04:25.331 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 26 July 2024 21:58:18 -0400 (0:00:00.094) 0:04:25.426 *********** ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2024-07-26 21:32:58 EDT", "ActiveEnterTimestampMonotonic": "314692533", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-07-26 21:32:58 EDT", "AssertTimestampMonotonic": "314438438", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-07-26 21:32:58 EDT", "ConditionTimestampMonotonic": "314438436", "Conflicts": "shutdown.target ipset.service ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8432", "ExecMainStartTimestamp": "Fri 2024-07-26 21:32:58 EDT", "ExecMainStartTimestampMonotonic": "314440517", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-07-26 21:32:58 EDT", "InactiveExitTimestampMonotonic": "314440547", "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": "8432", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-07-26 21:32:58 EDT", "WatchdogTimestampMonotonic": "314692480", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 26 July 2024 21:58:18 -0400 (0:00:00.478) 0:04:25.905 *********** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-07-26 21:32:58 EDT", "ActiveEnterTimestampMonotonic": "314692533", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-07-26 21:32:58 EDT", "AssertTimestampMonotonic": "314438438", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-07-26 21:32:58 EDT", "ConditionTimestampMonotonic": "314438436", "Conflicts": "shutdown.target ipset.service ebtables.service ip6tables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8432", "ExecMainStartTimestamp": "Fri 2024-07-26 21:32:58 EDT", "ExecMainStartTimestampMonotonic": "314440517", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-07-26 21:32:58 EDT", "InactiveExitTimestampMonotonic": "314440547", "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": "8432", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-07-26 21:32:58 EDT", "WatchdogTimestampMonotonic": "314692480", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 26 July 2024 21:58:19 -0400 (0:00:00.463) 0:04:26.368 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 26 July 2024 21:58:19 -0400 (0:00:00.080) 0:04:26.449 *********** ok: [managed_node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.45.172 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 26 July 2024 21:58:19 -0400 (0:00:00.361) 0:04:26.811 *********** ok: [managed_node1] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 26 July 2024 21:58:19 -0400 (0:00:00.082) 0:04:26.893 *********** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Friday 26 July 2024 21:58:19 -0400 (0:00:00.072) 0:04:26.966 *********** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Friday 26 July 2024 21:58:20 -0400 (0:00:00.077) 0:04:27.043 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Friday 26 July 2024 21:58:20 -0400 (0:00:00.078) 0:04:27.122 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Friday 26 July 2024 21:58:20 -0400 (0:00:00.075) 0:04:27.197 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Friday 26 July 2024 21:58:20 -0400 (0:00:00.073) 0:04:27.271 *********** ok: [managed_node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.45.172 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Friday 26 July 2024 21:58:20 -0400 (0:00:00.368) 0:04:27.639 *********** ok: [managed_node1] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Friday 26 July 2024 21:58:20 -0400 (0:00:00.086) 0:04:27.726 *********** skipping: [managed_node1] => {} TASK [Purge selinux configuration] ********************************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:26 Friday 26 July 2024 21:58:20 -0400 (0:00:00.224) 0:04:27.950 *********** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 26 July 2024 21:58:21 -0400 (0:00:00.183) 0:04:28.133 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 26 July 2024 21:58:21 -0400 (0:00:00.131) 0:04:28.265 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 26 July 2024 21:58:21 -0400 (0:00:00.107) 0:04:28.372 *********** included: /tmp/tmp.cPXx8LCCu6/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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Friday 26 July 2024 21:58:21 -0400 (0:00:00.136) 0:04:28.509 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Friday 26 July 2024 21:58:21 -0400 (0:00:00.369) 0:04:28.878 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Friday 26 July 2024 21:58:21 -0400 (0:00:00.080) 0:04:28.959 *********** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Friday 26 July 2024 21:58:22 -0400 (0:00:00.362) 0:04:29.322 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Friday 26 July 2024 21:58:22 -0400 (0:00:00.080) 0:04:29.402 *********** 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" ] } lsrpackages: libselinux-python policycoreutils-python TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Friday 26 July 2024 21:58:22 -0400 (0:00:00.594) 0:04:29.997 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Friday 26 July 2024 21:58:23 -0400 (0:00:00.208) 0:04:30.205 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Friday 26 July 2024 21:58:23 -0400 (0:00:00.075) 0:04:30.280 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Friday 26 July 2024 21:58:23 -0400 (0:00:00.078) 0:04:30.359 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Friday 26 July 2024 21:58:23 -0400 (0:00:00.077) 0:04:30.437 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Friday 26 July 2024 21:58:23 -0400 (0:00:00.072) 0:04:30.509 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Friday 26 July 2024 21:58:23 -0400 (0:00:00.074) 0:04:30.584 *********** ok: [managed_node1] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 26 July 2024 21:58:24 -0400 (0:00:00.596) 0:04:31.180 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Friday 26 July 2024 21:58:24 -0400 (0:00:00.073) 0:04:31.253 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Friday 26 July 2024 21:58:24 -0400 (0:00:00.076) 0:04:31.330 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Friday 26 July 2024 21:58:24 -0400 (0:00:00.075) 0:04:31.405 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Friday 26 July 2024 21:58:24 -0400 (0:00:00.067) 0:04:31.473 *********** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Friday 26 July 2024 21:58:24 -0400 (0:00:00.071) 0:04:31.545 *********** 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.342872", "end": "2024-07-26 21:58:25.153741", "rc": 0, "start": "2024-07-26 21:58:24.810869" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Friday 26 July 2024 21:58:25 -0400 (0:00:00.704) 0:04:32.249 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 26 July 2024 21:58:25 -0400 (0:00:00.074) 0:04:32.324 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Friday 26 July 2024 21:58:25 -0400 (0:00:00.069) 0:04:32.393 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Friday 26 July 2024 21:58:25 -0400 (0:00:00.072) 0:04:32.466 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 26 July 2024 21:58:25 -0400 (0:00:00.222) 0:04:32.689 *********** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Friday 26 July 2024 21:58:25 -0400 (0:00:00.073) 0:04:32.763 *********** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Friday 26 July 2024 21:58:25 -0400 (0:00:00.077) 0:04:32.840 *********** TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Friday 26 July 2024 21:58:25 -0400 (0:00:00.074) 0:04:32.914 *********** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Friday 26 July 2024 21:58:25 -0400 (0:00:00.076) 0:04:32.991 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Friday 26 July 2024 21:58:28 -0400 (0:00:02.774) 0:04:35.765 *********** 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.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Friday 26 July 2024 21:58:28 -0400 (0:00:00.099) 0:04:35.865 *********** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Friday 26 July 2024 21:58:28 -0400 (0:00:00.095) 0:04:35.961 *********** TASK [Leave realm] ************************************************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:32 Friday 26 July 2024 21:58:29 -0400 (0:00:00.096) 0:04:36.057 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:40 Friday 26 July 2024 21:58:29 -0400 (0:00:00.340) 0:04:36.397 *********** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:44 Friday 26 July 2024 21:58:29 -0400 (0:00:00.131) 0:04:36.529 *********** ok: [managed_node1] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:50 Friday 26 July 2024 21:58:30 -0400 (0:00:00.497) 0:04:37.027 *********** 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:14.0.3465.1-1 will be erased\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be erased\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n--> Finding unneeded leftover dependencies\n---> Marking msodbcsql17 to be removed - no longer needed by mssql-tools\n---> Marking unixODBC to be removed - no longer needed by unixODBC-devel\n---> Marking cyrus-sasl to be removed - no longer needed by mssql-server\n---> Marking gdb to be removed - no longer needed by mssql-server\n---> Marking libatomic to be removed - no longer needed by mssql-server\n---> Marking libsss_nss_idmap to be removed - no longer needed by mssql-server\n---> Marking bzip2 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl-gssapi to be removed - no longer needed by mssql-server\n---> Marking libtool-ltdl to be removed - no longer needed by unixODBC\nFound and removing 9 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package msodbcsql17.x86_64 0:17.10.6.1-1 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 14.0.3465.1-1 @packages-microsoft-com-mssql-server-2017\n 1.0 G\n mssql-tools x86_64 17.10.1.1-1 @packages-microsoft-com-prod 714 k\n unixODBC-devel x86_64 2.3.11-1.rh @packages-microsoft-com-prod 223 k\nRemoving for dependencies:\n bzip2 x86_64 1.0.6-13.el7 @base 82 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 @updates 141 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 @updates 36 k\n gdb x86_64 7.6.1-120.el7 @base 7.0 M\n libatomic x86_64 4.8.5-44.el7 @base 26 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 @updates 82 k\n libtool-ltdl x86_64 2.4.2-22.el7_3 @base 66 k\n msodbcsql17 x86_64 17.10.6.1-1 @packages-microsoft-com-prod 2.2 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+9 Dependent packages)\n\nInstalled size: 1.0 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-14.0.3465.1-1.x86_64 1/12 \n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 2/12 \n Erasing : mssql-tools-17.10.1.1-1.x86_64 3/12 \n Erasing : msodbcsql17-17.10.6.1-1.x86_64 4/12 \nODBC Driver 17 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-2.3.11-1.rh.x86_64 5/12 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 6/12 \n Erasing : libatomic-4.8.5-44.el7.x86_64 7/12 \n Erasing : bzip2-1.0.6-13.el7.x86_64 8/12 \n Erasing : gdb-7.6.1-120.el7.x86_64 9/12 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 10/12 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 12/12 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/12 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 2/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 3/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 4/12 \n Verifying : msodbcsql17-17.10.6.1-1.x86_64 5/12 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 6/12 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 7/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 8/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 9/12 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 10/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 12/12 \n\nRemoved:\n mssql-server.x86_64 0:14.0.3465.1-1 mssql-tools.x86_64 0:17.10.1.1-1 \n unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Removed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 \n msodbcsql17.x86_64 0:17.10.6.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:63 Friday 26 July 2024 21:58:33 -0400 (0:00:03.013) 0:04:40.040 *********** [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.009445", "end": "2024-07-26 21:58:33.307380", "rc": 0, "start": "2024-07-26 21:58:33.297935" } STDOUT: removed ‘/var/opt/mssql/mssql.conf’ removed ‘/var/opt/mssql/data/model.mdf’ removed ‘/var/opt/mssql/data/templog.ldf’ removed ‘/var/opt/mssql/data/tempdb.mdf’ removed ‘/var/opt/mssql/data/msdbdata.mdf’ removed ‘/var/opt/mssql/data/modellog.ldf’ removed ‘/var/opt/mssql/data/msdblog.ldf’ removed ‘/var/opt/mssql/data/mastlog.ldf’ removed ‘/var/opt/mssql/data/master.mdf’ removed directory: ‘/var/opt/mssql/data’ removed ‘/var/opt/mssql/secrets/machine-key’ removed directory: ‘/var/opt/mssql/secrets’ removed ‘/var/opt/mssql/.system/system/lsa.hiv’ removed directory: ‘/var/opt/mssql/.system/system/Temp’ removed ‘/var/opt/mssql/.system/system/licensing.hiv’ removed ‘/var/opt/mssql/.system/system/lsasetup.log’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/97fbf79c-1c5c-470a-b99d-9fcf3508e2ef’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles/Scm’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles’ removed directory: ‘/var/opt/mssql/.system/system/system32’ removed ‘/var/opt/mssql/.system/system/security.hiv’ removed ‘/var/opt/mssql/.system/system/debug/PASSWD.LOG’ removed directory: ‘/var/opt/mssql/.system/system/debug’ removed directory: ‘/var/opt/mssql/.system/system’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Temp’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/LocalLow’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-3310893021-3941845561-3472633578-500/42e7704ae40b0d75de00736cc66b813a_1288e3b8-295c-4c32-b95a-312140c68fca’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-3310893021-3941845561-3472633578-500’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-3310893021-3941845561-3472633578-500/e1997ff7-b284-4643-bfe3-df647ce35b90’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-3310893021-3941845561-3472633578-500/Preferred’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-3310893021-3941845561-3472633578-500’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/CREDHIST’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Desktop’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Documents’ removed directory: ‘/var/opt/mssql/.system/profiles/Client’ removed directory: ‘/var/opt/mssql/.system/profiles’ removed ‘/var/opt/mssql/.system/instance_id’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft’ removed directory: ‘/var/opt/mssql/.system/programdata’ removed directory: ‘/var/opt/mssql/.system’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133665190957170000.xel’ removed ‘/var/opt/mssql/log/errorlog.8’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133665189074670000.xel’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/log_4.trc’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/system_health_0_133665190120140000.xel’ removed ‘/var/opt/mssql/log/log_6.trc’ removed ‘/var/opt/mssql/log/system_health_0_133665190583850000.xel’ removed ‘/var/opt/mssql/log/errorlog’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133665189764410000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133665189414130000.xel’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133665188821500000.xel’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/system_health_0_133665189079210000.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_133665189767850000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133665190960570000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133665188862820000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133665188867760000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133665190580420000.xel’ removed ‘/var/opt/mssql/log/errorlog.7’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133665189410770000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133665190116540000.xel’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/log_7.trc’ removed ‘/var/opt/mssql/log/system_health_0_133665188827310000.xel’ removed directory: ‘/var/opt/mssql/log’ removed directory: ‘/var/opt/mssql’ removed directory: ‘/opt/mssql’ removed directory: ‘/opt/mssql-tools’ removed ‘/etc/yum.repos.d/packages-microsoft-com-mssql-server-2017.repo’ removed ‘/etc/yum.repos.d/packages-microsoft-com-prod.repo’ removed ‘/etc/systemd/system/multi-user.target.wants/mssql-server.service’ TASK [Stop the mssql-server service] ******************************************* task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:77 Friday 26 July 2024 21:58:33 -0400 (0:00:00.399) 0:04:40.439 *********** ok: [managed_node1] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.655417", "end": "2024-07-26 21:58:34.351722", "rc": 0, "start": "2024-07-26 21:58:33.696305" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Friday 26 July 2024 21:58:34 -0400 (0:00:00.962) 0:04:41.402 *********** changed: [managed_node1] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.834172", "end": "2024-07-26 21:58:36.585766", "rc": 0, "start": "2024-07-26 21:58:34.751594" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=388 changed=62 unreachable=0 failed=0 skipped=868 rescued=0 ignored=0 Friday 26 July 2024 21:58:36 -0400 (0:00:02.244) 0:04:43.647 *********** =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 35.37s /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:284 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 4.62s /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:345 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 4.24s /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:485 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 3.34s /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 3.20s /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Remove related packages ------------------------------------------------- 3.01s /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:50 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 2.77s /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.24s /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Gather package facts ---------------------------------------------------- 2.12s /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 fedora.linux_system_roles.mssql : Restart the mssql-server service ------ 1.55s /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Wait for mssql-server to prepare for client connections ----------------- 1.52s /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 fedora.linux_system_roles.mssql : Restart the mssql-server service ------ 1.48s /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.44s /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 Wait for mssql-server to prepare for client connections ----------------- 1.42s /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.40s /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.39s /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Wait for mssql-server to prepare for client connections ----------------- 1.38s /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Wait for mssql-server to prepare for client connections ----------------- 1.36s /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Wait for mssql-server to prepare for client connections ----------------- 1.35s /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.31s /tmp/tmp.cPXx8LCCu6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:137