ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_tls_2017.yml *************************************************** 2 plays in /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2017.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2017.yml:5 Friday 25 October 2024 21:18:36 -0400 (0:00:00.029) 0:00:00.029 ******** ok: [managed-node2] => { "ansible_facts": { "mssql_password": { "__ansible_vault": "$ANSIBLE_VAULT;1.1;AES256\n66336361663164656232326461653662643537386337346563613939356466313835383235313234\n3634333565616161316639666662613564353237653663610a616639306439653033386664303839\n30663030636161326137656235636230356162373234386461363632353863393161353035316162\n3664353366373231360a343334326337353861366233656330363634353164316434616561333161\n3234\n" } }, "ansible_included_var_files": [ "/tmp/mssql-edR/tests/vars/vault-variables.yml" ], "changed": false } META: ran handlers META: ran handlers PLAY [Ensure that tls encryption configuration works] ************************** TASK [Gathering Facts] ********************************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2017.yml:9 Friday 25 October 2024 21:18:36 -0400 (0:00:00.025) 0:00:00.055 ******** ok: [managed-node2] META: ran handlers TASK [Run tests_tls with SQL Server 2017] ************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2017.yml:23 Friday 25 October 2024 21:18:37 -0400 (0:00:01.039) 0:00:01.095 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml for managed-node2 TASK [Assert fail on EL 7 with version = 2022 and EL 9 with version != 2022] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:2 Friday 25 October 2024 21:18:38 -0400 (0:00:00.121) 0:00:01.216 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml for managed-node2 TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:2 Friday 25 October 2024 21:18:38 -0400 (0:00:00.045) 0:00:01.261 ******** ok: [managed-node2] TASK [Run the role] ************************************************************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:15 Friday 25 October 2024 21:18:38 -0400 (0:00:00.476) 0:00:01.738 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:22 Friday 25 October 2024 21:18:38 -0400 (0:00:00.028) 0:00:01.767 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure the openssl package] ********************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:5 Friday 25 October 2024 21:18:38 -0400 (0:00:00.029) 0:00:01.796 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "1:openssl-1.0.2k-26.el7_9.x86_64 providing openssl is already installed" ] } lsrpackages: openssl TASK [Create a tempfile for a certificate on hosts] **************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:11 Friday 25 October 2024 21:18:39 -0400 (0:00:00.798) 0:00:02.595 ******** changed: [managed-node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.1hUFUd", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Create a tempfile for a private key on hosts] **************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:17 Friday 25 October 2024 21:18:39 -0400 (0:00:00.480) 0:00:03.075 ******** changed: [managed-node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.w1fZ8P", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Generate a self-signed certificate and public key] *********************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:23 Friday 25 October 2024 21:18:40 -0400 (0:00:00.301) 0:00:03.377 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "openssl", "req", "-x509", "-nodes", "-newkey", "rsa:2048", "-subj", "/CN=10.31.44.119", "-out", "/tmp/ansible.1hUFUd", "-keyout", "/tmp/ansible.w1fZ8P", "-days", "365" ], "delta": "0:00:00.074221", "end": "2024-10-25 21:18:40.645142", "rc": 0, "start": "2024-10-25 21:18:40.570921" } STDERR: Generating a 2048 bit RSA private key .....................................................+++ ....+++ writing new private key to '/tmp/ansible.w1fZ8P' ----- TASK [Copy certificate files to local tmp] ************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:32 Friday 25 October 2024 21:18:40 -0400 (0:00:00.496) 0:00:03.874 ******** changed: [managed-node2] => (item=/tmp/ansible.1hUFUd) => { "ansible_loop_var": "item", "changed": true, "checksum": "0830c6852cae802a30d1863e9c136595a4216bbd", "dest": "/tmp/ansible.1hUFUd", "item": "/tmp/ansible.1hUFUd", "md5sum": "efe7b9ea80007f29b50a9e85c54a7a5f", "remote_checksum": "0830c6852cae802a30d1863e9c136595a4216bbd", "remote_md5sum": null } changed: [managed-node2] => (item=/tmp/ansible.w1fZ8P) => { "ansible_loop_var": "item", "changed": true, "checksum": "3729d59faaefcec494a22c8eef80e5846ec18a38", "dest": "/tmp/ansible.w1fZ8P", "item": "/tmp/ansible.w1fZ8P", "md5sum": "974752158db0ff36ad9e753932c0dc25", "remote_checksum": "3729d59faaefcec494a22c8eef80e5846ec18a38", "remote_md5sum": null } TASK [Copy a private key to the playbook directory to test a relative path] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:44 Friday 25 October 2024 21:18:41 -0400 (0:00:00.985) 0:00:04.859 ******** changed: [managed-node2 -> localhost] => { "changed": true, "checksum": "3729d59faaefcec494a22c8eef80e5846ec18a38", "dest": "./ansible.w1fZ8P", "gid": 0, "group": "root", "md5sum": "974752158db0ff36ad9e753932c0dc25", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1729905521.72-22961-130796617001756/source", "state": "file", "uid": 0 } TASK [Set mssql_tls_cert and mssql_tls_private_key for the following test] ***** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:52 Friday 25 October 2024 21:18:42 -0400 (0:00:00.658) 0:00:05.518 ******** ok: [managed-node2] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.1hUFUd", "mssql_tls_private_key": "ansible.w1fZ8P" }, "changed": false } TASK [Run role] **************************************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:59 Friday 25 October 2024 21:18:42 -0400 (0:00:00.044) 0:00:05.563 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 25 October 2024 21:18:42 -0400 (0:00:00.554) 0:00:06.117 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 25 October 2024 21:18:42 -0400 (0:00:00.042) 0:00:06.159 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 25 October 2024 21:18:43 -0400 (0:00:00.037) 0:00:06.197 ******** ok: [managed-node2] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 25 October 2024 21:18:43 -0400 (0:00:00.086) 0:00:06.283 ******** ok: [managed-node2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 25 October 2024 21:18:43 -0400 (0:00:00.035) 0:00:06.319 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 25 October 2024 21:18:43 -0400 (0:00:00.027) 0:00:06.346 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 25 October 2024 21:18:43 -0400 (0:00:00.026) 0:00:06.372 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 25 October 2024 21:18:43 -0400 (0:00:00.028) 0:00:06.401 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 25 October 2024 21:18:43 -0400 (0:00:00.026) 0:00:06.427 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 25 October 2024 21:18:43 -0400 (0:00:00.035) 0:00:06.462 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 25 October 2024 21:18:43 -0400 (0:00:00.034) 0:00:06.496 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 25 October 2024 21:18:43 -0400 (0:00:00.042) 0:00:06.539 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 25 October 2024 21:18:43 -0400 (0:00:00.037) 0:00:06.577 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Friday 25 October 2024 21:18:43 -0400 (0:00:00.071) 0:00:06.648 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Friday 25 October 2024 21:18:43 -0400 (0:00:00.046) 0:00:06.695 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Friday 25 October 2024 21:18:43 -0400 (0:00:00.029) 0:00:06.725 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Friday 25 October 2024 21:18:43 -0400 (0:00:00.036) 0:00:06.761 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 25 October 2024 21:18:43 -0400 (0:00:00.044) 0:00:06.805 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 25 October 2024 21:18:43 -0400 (0:00:00.030) 0:00:06.835 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Friday 25 October 2024 21:18:43 -0400 (0:00:00.031) 0:00:06.867 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Friday 25 October 2024 21:18:43 -0400 (0:00:00.026) 0:00:06.894 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Friday 25 October 2024 21:18:45 -0400 (0:00:01.788) 0:00:08.683 ******** skipping: [managed-node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 25 October 2024 21:18:45 -0400 (0:00:00.232) 0:00:08.915 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 25 October 2024 21:18:45 -0400 (0:00:00.101) 0:00:09.016 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Friday 25 October 2024 21:18:45 -0400 (0:00:00.107) 0:00:09.124 ******** skipping: [managed-node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Friday 25 October 2024 21:18:46 -0400 (0:00:00.159) 0:00:09.284 ******** ok: [managed-node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Friday 25 October 2024 21:18:47 -0400 (0:00:00.894) 0:00:10.178 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Friday 25 October 2024 21:18:47 -0400 (0:00:00.105) 0:00:10.284 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 25 October 2024 21:18:47 -0400 (0:00:00.102) 0:00:10.386 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Friday 25 October 2024 21:18:47 -0400 (0:00:00.106) 0:00:10.492 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 25 October 2024 21:18:47 -0400 (0:00:00.100) 0:00:10.593 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 25 October 2024 21:18:47 -0400 (0:00:00.103) 0:00:10.697 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Friday 25 October 2024 21:18:47 -0400 (0:00:00.102) 0:00:10.799 ******** changed: [managed-node2] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2017", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 25 October 2024 21:18:48 -0400 (0:00:00.751) 0:00:11.551 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 25 October 2024 21:18:48 -0400 (0:00:00.104) 0:00:11.656 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 25 October 2024 21:18:49 -0400 (0:00:00.856) 0:00:12.512 ******** changed: [managed-node2] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3465.1-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-14.0.3465.1-1.x86_64\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be installed\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 14.0.3465.1-1 packages-microsoft-com-mssql-server-2017\n 200 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 base 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 updates 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 updates 41 k\n gdb x86_64 7.6.1-120.el7 base 2.4 M\n libatomic x86_64 4.8.5-44.el7 base 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 updates 170 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+6 Dependent packages)\n\nTotal size: 203 M\nTotal download size: 200 M\nInstalled size: 1.0 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libatomic-4.8.5-44.el7.x86_64 1/7 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 2/7 \n Installing : gdb-7.6.1-120.el7.x86_64 3/7 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Installing : bzip2-1.0.6-13.el7.x86_64 5/7 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 6/7 \n Installing : mssql-server-14.0.3465.1-1.x86_64 7/7 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\nSQL Server needs to be restarted in order to apply this setting. Please run\n'systemctl restart mssql-server.service'.\n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 1/7 \n Verifying : bzip2-1.0.6-13.el7.x86_64 2/7 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 3/7 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Verifying : gdb-7.6.1-120.el7.x86_64 5/7 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/7 \n Verifying : libatomic-4.8.5-44.el7.x86_64 7/7 \n\nInstalled:\n mssql-server.x86_64 0:14.0.3465.1-1 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n\nComplete!\n" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Friday 25 October 2024 21:19:44 -0400 (0:00:55.257) 0:01:07.769 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Friday 25 October 2024 21:19:44 -0400 (0:00:00.100) 0:01:07.870 ******** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005750", "end": "2024-10-25 21:19:45.076680", "rc": 0, "start": "2024-10-25 21:19:45.070930" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Friday 25 October 2024 21:19:45 -0400 (0:00:00.583) 0:01:08.453 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Friday 25 October 2024 21:19:46 -0400 (0:00:01.632) 0:01:10.086 ******** ok: [managed-node2] => { "ansible_facts": { "__mssql_is_setup": false }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Friday 25 October 2024 21:19:47 -0400 (0:00:00.212) 0:01:10.298 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Friday 25 October 2024 21:19:47 -0400 (0:00:00.090) 0:01:10.389 ******** changed: [managed-node2] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Friday 25 October 2024 21:19:52 -0400 (0:00:05.228) 0:01:15.618 ******** skipping: [managed-node2] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Friday 25 October 2024 21:19:52 -0400 (0:00:00.142) 0:01:15.760 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Friday 25 October 2024 21:19:52 -0400 (0:00:00.117) 0:01:15.878 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Friday 25 October 2024 21:19:52 -0400 (0:00:00.115) 0:01:15.993 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 25 October 2024 21:19:53 -0400 (0:00:00.910) 0:01:16.904 ******** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-25 21:07:53 EDT", "ActiveEnterTimestampMonotonic": "8699554", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket network.target dbus.service basic.target systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-25 21:07:52 EDT", "AssertTimestampMonotonic": "7976802", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-10-25 21:07:52 EDT", "ConditionTimestampMonotonic": "7976800", "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": "849", "ExecMainStartTimestamp": "Fri 2024-10-25 21:07:52 EDT", "ExecMainStartTimestampMonotonic": "7978826", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-10-25 21:07:52 EDT", "InactiveExitTimestampMonotonic": "7978862", "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": "849", "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 dbus.service polkit.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-10-25 21:07:53 EDT", "WatchdogTimestampMonotonic": "8699479", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 25 October 2024 21:19:54 -0400 (0:00:01.195) 0:01:18.099 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.248485", "end": "2024-10-25 21:19:55.753458", "rc": 0, "start": "2024-10-25 21:19:55.504973" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Friday 25 October 2024 21:19:55 -0400 (0:00:01.052) 0:01:19.152 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 25 October 2024 21:19:56 -0400 (0:00:00.085) 0:01:19.238 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Friday 25 October 2024 21:19:56 -0400 (0:00:00.102) 0:01:19.340 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Friday 25 October 2024 21:19:56 -0400 (0:00:00.122) 0:01:19.462 ******** changed: [managed-node2] => { "changed": true, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Friday 25 October 2024 21:19:56 -0400 (0:00:00.501) 0:01:19.964 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Friday 25 October 2024 21:19:56 -0400 (0:00:00.114) 0:01:20.079 ******** changed: [managed-node2] => { "changed": true, "changes": { "installed": [ "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be installed\n--> Processing Dependency: msodbcsql17 >= 17.3.0.0 for package: mssql-tools-17.10.1.1-1.x86_64\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: unixODBC = 2.3.11 for package: unixODBC-devel-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package msodbcsql17.x86_64 0:17.10.6.1-1 will be installed\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-tools x86_64 17.10.1.1-1 packages-microsoft-com-prod 291 k\n unixODBC-devel x86_64 2.3.11-1.rh packages-microsoft-com-prod 53 k\nInstalling for dependencies:\n libtool-ltdl x86_64 2.4.2-22.el7_3 base 49 k\n msodbcsql17 x86_64 17.10.6.1-1 packages-microsoft-com-prod 911 k\n unixODBC x86_64 2.3.11-1.rh packages-microsoft-com-prod 274 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+3 Dependent packages)\n\nTotal size: 1.5 M\nInstalled size: 3.8 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libtool-ltdl-2.4.2-22.el7_3.x86_64 1/5 \n Installing : unixODBC-2.3.11-1.rh.x86_64 2/5 \n Installing : msodbcsql17-17.10.6.1-1.x86_64 3/5 \nodbcinst: Driver installed. Usage count increased to 1. \n Target directory is /etc\n Installing : mssql-tools-17.10.1.1-1.x86_64 4/5 \n Installing : unixODBC-devel-2.3.11-1.rh.x86_64 5/5 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/5 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 2/5 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 3/5 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 4/5 \n Verifying : msodbcsql17-17.10.6.1-1.x86_64 5/5 \n\nInstalled:\n mssql-tools.x86_64 0:17.10.1.1-1 unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Installed:\n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 msodbcsql17.x86_64 0:17.10.6.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Friday 25 October 2024 21:20:02 -0400 (0:00:05.941) 0:01:26.021 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 25 October 2024 21:20:02 -0400 (0:00:00.080) 0:01:26.101 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Friday 25 October 2024 21:20:03 -0400 (0:00:00.137) 0:01:26.238 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 25 October 2024 21:20:03 -0400 (0:00:00.096) 0:01:26.334 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Friday 25 October 2024 21:20:03 -0400 (0:00:00.117) 0:01:26.451 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 25 October 2024 21:20:03 -0400 (0:00:00.103) 0:01:26.554 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 25 October 2024 21:20:03 -0400 (0:00:00.102) 0:01:26.657 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 25 October 2024 21:20:03 -0400 (0:00:00.096) 0:01:26.754 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Friday 25 October 2024 21:20:03 -0400 (0:00:00.113) 0:01:26.867 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 25 October 2024 21:20:03 -0400 (0:00:00.120) 0:01:26.988 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Friday 25 October 2024 21:20:03 -0400 (0:00:00.105) 0:01:27.093 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Friday 25 October 2024 21:20:04 -0400 (0:00:00.103) 0:01:27.197 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 25 October 2024 21:20:04 -0400 (0:00:00.081) 0:01:27.278 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 25 October 2024 21:20:04 -0400 (0:00:00.082) 0:01:27.361 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Friday 25 October 2024 21:20:04 -0400 (0:00:00.086) 0:01:27.447 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Friday 25 October 2024 21:20:04 -0400 (0:00:00.083) 0:01:27.531 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:20:04 -0400 (0:00:00.153) 0:01:27.684 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003298", "end": "2024-10-25 21:20:04.781597", "failed_when_result": false, "rc": 1, "start": "2024-10-25 21:20:04.778299" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:20:04 -0400 (0:00:00.404) 0:01:28.088 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.050920", "end": "2024-10-25 21:20:05.248224", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:20:05.197304" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [fedora.linux_system_roles.mssql : Unset the setting network tcpport] ***** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:20:05 -0400 (0:00:00.454) 0:01:28.543 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Friday 25 October 2024 21:20:05 -0400 (0:00:00.148) 0:01:28.692 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 25 October 2024 21:20:05 -0400 (0:00:00.087) 0:01:28.779 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 25 October 2024 21:20:05 -0400 (0:00:00.090) 0:01:28.870 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 25 October 2024 21:20:05 -0400 (0:00:00.085) 0:01:28.956 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 25 October 2024 21:20:05 -0400 (0:00:00.108) 0:01:29.064 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 25 October 2024 21:20:06 -0400 (0:00:00.112) 0:01:29.176 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Friday 25 October 2024 21:20:06 -0400 (0:00:00.108) 0:01:29.285 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Friday 25 October 2024 21:20:06 -0400 (0:00:00.123) 0:01:29.409 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 25 October 2024 21:20:06 -0400 (0:00:00.101) 0:01:29.510 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Friday 25 October 2024 21:20:06 -0400 (0:00:00.099) 0:01:29.610 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Friday 25 October 2024 21:20:06 -0400 (0:00:00.088) 0:01:29.698 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Friday 25 October 2024 21:20:06 -0400 (0:00:00.089) 0:01:29.788 ******** changed: [managed-node2] => (item=/tmp/ansible.1hUFUd) => { "ansible_loop_var": "item", "changed": true, "checksum": "0830c6852cae802a30d1863e9c136595a4216bbd", "dest": "/etc/pki/tls/certs/ansible.1hUFUd", "gid": 994, "group": "mssql", "item": "/tmp/ansible.1hUFUd", "md5sum": "efe7b9ea80007f29b50a9e85c54a7a5f", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1103, "src": "/root/.ansible/tmp/ansible-tmp-1729905606.69-25348-146330523237092/source", "state": "file", "uid": 996 } changed: [managed-node2] => (item=ansible.w1fZ8P) => { "ansible_loop_var": "item", "changed": true, "checksum": "3729d59faaefcec494a22c8eef80e5846ec18a38", "dest": "/etc/pki/tls/private/ansible.w1fZ8P", "gid": 994, "group": "mssql", "item": "ansible.w1fZ8P", "md5sum": "974752158db0ff36ad9e753932c0dc25", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1729905607.27-25348-206745425547167/source", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Friday 25 October 2024 21:20:07 -0400 (0:00:01.250) 0:01:31.038 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:20:08 -0400 (0:00:00.156) 0:01:31.195 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003012", "end": "2024-10-25 21:20:08.293897", "failed_when_result": false, "rc": 1, "start": "2024-10-25 21:20:08.290885" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:20:08 -0400 (0:00:00.387) 0:01:31.582 ******** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node2 changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/ansible.1hUFUd" ], "delta": "0:00:00.049845", "end": "2024-10-25 21:20:08.741806", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:20:08.691961" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network tlscert] ***** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:20:08 -0400 (0:00:00.448) 0:01:32.031 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Friday 25 October 2024 21:20:08 -0400 (0:00:00.089) 0:01:32.120 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:20:09 -0400 (0:00:00.164) 0:01:32.284 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002978", "end": "2024-10-25 21:20:09.382789", "failed_when_result": false, "rc": 1, "start": "2024-10-25 21:20:09.379811" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:20:09 -0400 (0:00:00.377) 0:01:32.661 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.w1fZ8P" ], "delta": "0:00:00.049637", "end": "2024-10-25 21:20:09.842464", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:20:09.792827" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:20:09 -0400 (0:00:00.468) 0:01:33.130 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 25 October 2024 21:20:10 -0400 (0:00:00.112) 0:01:33.243 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:20:10 -0400 (0:00:00.242) 0:01:33.485 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003457", "end": "2024-10-25 21:20:10.630805", "failed_when_result": false, "rc": 1, "start": "2024-10-25 21:20:10.627348" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:20:10 -0400 (0:00:00.487) 0:01:33.973 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.050033", "end": "2024-10-25 21:20:11.181440", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:20:11.131407" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network tlsprotocols] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:20:11 -0400 (0:00:00.542) 0:01:34.515 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Friday 25 October 2024 21:20:11 -0400 (0:00:00.110) 0:01:34.626 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:20:11 -0400 (0:00:00.268) 0:01:34.894 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003192", "end": "2024-10-25 21:20:12.038073", "failed_when_result": false, "rc": 1, "start": "2024-10-25 21:20:12.034881" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:20:12 -0400 (0:00:00.428) 0:01:35.323 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.049508", "end": "2024-10-25 21:20:12.520545", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:20:12.471037" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network forceencryption] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:20:12 -0400 (0:00:00.530) 0:01:35.853 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Friday 25 October 2024 21:20:12 -0400 (0:00:00.120) 0:01:35.974 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Friday 25 October 2024 21:20:12 -0400 (0:00:00.134) 0:01:36.108 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 25 October 2024 21:20:13 -0400 (0:00:00.117) 0:01:36.226 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 25 October 2024 21:20:13 -0400 (0:00:00.119) 0:01:36.346 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Friday 25 October 2024 21:20:13 -0400 (0:00:00.117) 0:01:36.463 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Friday 25 October 2024 21:20:13 -0400 (0:00:00.127) 0:01:36.591 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Friday 25 October 2024 21:20:13 -0400 (0:00:00.126) 0:01:36.717 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Friday 25 October 2024 21:20:13 -0400 (0:00:00.114) 0:01:36.832 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Friday 25 October 2024 21:20:13 -0400 (0:00:00.122) 0:01:36.954 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Friday 25 October 2024 21:20:13 -0400 (0:00:00.117) 0:01:37.072 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Friday 25 October 2024 21:20:14 -0400 (0:00:00.122) 0:01:37.194 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Friday 25 October 2024 21:20:14 -0400 (0:00:00.118) 0:01:37.313 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Friday 25 October 2024 21:20:14 -0400 (0:00:00.116) 0:01:37.430 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Friday 25 October 2024 21:20:14 -0400 (0:00:00.116) 0:01:37.546 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Friday 25 October 2024 21:20:14 -0400 (0:00:00.204) 0:01:37.750 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Friday 25 October 2024 21:20:14 -0400 (0:00:00.114) 0:01:37.865 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Friday 25 October 2024 21:20:14 -0400 (0:00:00.117) 0:01:37.982 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Friday 25 October 2024 21:20:14 -0400 (0:00:00.118) 0:01:38.101 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 25 October 2024 21:20:15 -0400 (0:00:00.111) 0:01:38.212 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Friday 25 October 2024 21:20:15 -0400 (0:00:00.122) 0:01:38.335 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 25 October 2024 21:20:15 -0400 (0:00:00.123) 0:01:38.459 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Friday 25 October 2024 21:20:15 -0400 (0:00:00.127) 0:01:38.586 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 25 October 2024 21:20:15 -0400 (0:00:00.116) 0:01:38.703 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 25 October 2024 21:20:15 -0400 (0:00:00.113) 0:01:38.817 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Friday 25 October 2024 21:20:15 -0400 (0:00:00.113) 0:01:38.931 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Friday 25 October 2024 21:20:15 -0400 (0:00:00.120) 0:01:39.051 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Friday 25 October 2024 21:20:15 -0400 (0:00:00.117) 0:01:39.169 ******** skipping: [managed-node2] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Friday 25 October 2024 21:20:16 -0400 (0:00:00.142) 0:01:39.312 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Friday 25 October 2024 21:20:16 -0400 (0:00:00.140) 0:01:39.453 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 25 October 2024 21:20:16 -0400 (0:00:00.122) 0:01:39.575 ******** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 25 October 2024 21:20:16 -0400 (0:00:00.143) 0:01:39.719 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 25 October 2024 21:20:16 -0400 (0:00:00.118) 0:01:39.838 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1201 Friday 25 October 2024 21:20:16 -0400 (0:00:00.120) 0:01:39.959 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1211 Friday 25 October 2024 21:20:16 -0400 (0:00:00.122) 0:01:40.081 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Friday 25 October 2024 21:20:17 -0400 (0:00:00.116) 0:01:40.198 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1229 Friday 25 October 2024 21:20:17 -0400 (0:00:00.206) 0:01:40.405 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 25 October 2024 21:20:17 -0400 (0:00:00.130) 0:01:40.536 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1253 Friday 25 October 2024 21:20:17 -0400 (0:00:00.117) 0:01:40.653 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1262 Friday 25 October 2024 21:20:17 -0400 (0:00:00.118) 0:01:40.772 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1269 Friday 25 October 2024 21:20:17 -0400 (0:00:00.117) 0:01:40.890 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1276 Friday 25 October 2024 21:20:17 -0400 (0:00:00.122) 0:01:41.012 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1284 Friday 25 October 2024 21:20:17 -0400 (0:00:00.119) 0:01:41.132 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1291 Friday 25 October 2024 21:20:18 -0400 (0:00:00.124) 0:01:41.256 ******** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Friday 25 October 2024 21:20:18 -0400 (0:00:00.139) 0:01:41.396 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 25 October 2024 21:20:18 -0400 (0:00:00.122) 0:01:41.518 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Friday 25 October 2024 21:20:18 -0400 (0:00:00.142) 0:01:41.660 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1325 Friday 25 October 2024 21:20:18 -0400 (0:00:00.123) 0:01:41.784 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 25 October 2024 21:20:18 -0400 (0:00:00.122) 0:01:41.906 ******** skipping: [managed-node2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1346 Friday 25 October 2024 21:20:18 -0400 (0:00:00.140) 0:01:42.047 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Friday 25 October 2024 21:20:18 -0400 (0:00:00.119) 0:01:42.167 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Friday 25 October 2024 21:20:19 -0400 (0:00:00.120) 0:01:42.288 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1371 Friday 25 October 2024 21:20:19 -0400 (0:00:00.125) 0:01:42.414 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1380 Friday 25 October 2024 21:20:19 -0400 (0:00:00.121) 0:01:42.535 ******** changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 25 October 2024 21:20:20 -0400 (0:00:00.905) 0:01:43.441 ******** changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-25 21:19:52 EDT", "ActiveEnterTimestampMonotonic": "727506819", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice auditd.service systemd-journald.socket network.target -.mount basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-25 21:19:52 EDT", "AssertTimestampMonotonic": "727505552", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-10-25 21:19:52 EDT", "ConditionTimestampMonotonic": "727505551", "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": "22182", "ExecMainStartTimestamp": "Fri 2024-10-25 21:19:52 EDT", "ExecMainStartTimestampMonotonic": "727506325", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-10-25 21:19:52 EDT", "InactiveExitTimestampMonotonic": "727506819", "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": "22182", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-10-25 21:19:52 EDT", "WatchdogTimestampMonotonic": "727506795", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1393 Friday 25 October 2024 21:20:21 -0400 (0:00:01.576) 0:01:45.018 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1400 Friday 25 October 2024 21:20:21 -0400 (0:00:00.100) 0:01:45.118 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove a private key from the playbook directory] ************************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:68 Friday 25 October 2024 21:20:22 -0400 (0:00:00.088) 0:01:45.207 ******** changed: [managed-node2 -> localhost] => { "changed": true, "path": "ansible.w1fZ8P", "state": "absent" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:75 Friday 25 October 2024 21:20:22 -0400 (0:00:00.482) 0:01:45.690 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml for managed-node2 TASK [Modify the mssql-server service start limit interval] ******************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:3 Friday 25 October 2024 21:20:22 -0400 (0:00:00.254) 0:01:45.944 ******** changed: [managed-node2] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:10 Friday 25 October 2024 21:20:23 -0400 (0:00:01.044) 0:01:46.988 ******** changed: [managed-node2] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:17 Friday 25 October 2024 21:20:24 -0400 (0:00:00.701) 0:01:47.690 ******** ok: [managed-node2] => { "changed": false, "name": null, "status": {} } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:78 Friday 25 October 2024 21:20:25 -0400 (0:00:01.010) 0:01:48.701 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node2 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 25 October 2024 21:20:25 -0400 (0:00:00.295) 0:01:48.996 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 25 October 2024 21:20:25 -0400 (0:00:00.126) 0:01:49.122 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 25 October 2024 21:20:26 -0400 (0:00:00.097) 0:01:49.220 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 25 October 2024 21:20:26 -0400 (0:00:00.090) 0:01:49.310 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 25 October 2024 21:20:26 -0400 (0:00:00.095) 0:01:49.406 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 25 October 2024 21:20:26 -0400 (0:00:00.118) 0:01:49.525 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 25 October 2024 21:20:26 -0400 (0:00:00.115) 0:01:49.641 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 25 October 2024 21:20:26 -0400 (0:00:00.106) 0:01:49.747 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 25 October 2024 21:20:26 -0400 (0:00:00.104) 0:01:49.851 ******** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 25 October 2024 21:20:26 -0400 (0:00:00.172) 0:01:50.024 ******** ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-25 21:20:21 EDT", "ActiveEnterTimestampMonotonic": "757015702", "ActiveExitTimestamp": "Fri 2024-10-25 21:20:20 EDT", "ActiveExitTimestampMonotonic": "756121483", "ActiveState": "active", "After": "network.target basic.target systemd-journald.socket system.slice -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-25 21:20:21 EDT", "AssertTimestampMonotonic": "757015016", "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-10-25 21:20:21 EDT", "ConditionTimestampMonotonic": "757015015", "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": "23451", "ExecMainStartTimestamp": "Fri 2024-10-25 21:20:21 EDT", "ExecMainStartTimestampMonotonic": "757015642", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-10-25 21:20:21 EDT", "InactiveEnterTimestampMonotonic": "757014098", "InactiveExitTimestamp": "Fri 2024-10-25 21:20:21 EDT", "InactiveExitTimestampMonotonic": "757015702", "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": "23451", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-10-25 21:20:21 EDT", "WatchdogTimestampMonotonic": "757015683", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 25 October 2024 21:20:27 -0400 (0:00:00.510) 0:01:50.535 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003272", "end": "2024-10-25 21:20:27.643373", "failed_when_result": false, "rc": 1, "start": "2024-10-25 21:20:27.640101" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 25 October 2024 21:20:27 -0400 (0:00:00.386) 0:01:50.923 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003082", "end": "2024-10-25 21:20:28.051550", "failed_when_result": false, "rc": 1, "start": "2024-10-25 21:20:28.048468" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 25 October 2024 21:20:28 -0400 (0:00:00.409) 0:01:51.332 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 25 October 2024 21:20:28 -0400 (0:00:00.111) 0:01:51.444 ******** ok: [managed-node2] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 6353, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 25 October 2024 21:20:30 -0400 (0:00:01.747) 0:01:53.192 ******** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.024786", "end": "2024-10-25 21:20:30.373408", "rc": 0, "start": "2024-10-25 21:20:30.348622" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 25 October 2024 21:20:30 -0400 (0:00:00.515) 0:01:53.707 ******** ok: [managed-node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 25 October 2024 21:20:30 -0400 (0:00:00.133) 0:01:53.841 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 25 October 2024 21:20:30 -0400 (0:00:00.121) 0:01:53.963 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 25 October 2024 21:20:30 -0400 (0:00:00.124) 0:01:54.088 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 25 October 2024 21:20:31 -0400 (0:00:00.117) 0:01:54.205 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 25 October 2024 21:20:31 -0400 (0:00:00.131) 0:01:54.336 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 25 October 2024 21:20:31 -0400 (0:00:00.123) 0:01:54.460 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 25 October 2024 21:20:31 -0400 (0:00:00.113) 0:01:54.573 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 25 October 2024 21:20:31 -0400 (0:00:00.116) 0:01:54.689 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 25 October 2024 21:20:31 -0400 (0:00:00.215) 0:01:54.904 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004735", "end": "2024-10-25 21:20:32.058936", "rc": 0, "start": "2024-10-25 21:20:32.054201" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.1hUFUd TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 25 October 2024 21:20:32 -0400 (0:00:00.475) 0:01:55.379 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 25 October 2024 21:20:32 -0400 (0:00:00.165) 0:01:55.545 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.1hUFUd] ***************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 25 October 2024 21:20:32 -0400 (0:00:00.137) 0:01:55.683 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 25 October 2024 21:20:32 -0400 (0:00:00.199) 0:01:55.882 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 25 October 2024 21:20:32 -0400 (0:00:00.218) 0:01:56.101 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004299", "end": "2024-10-25 21:20:33.253696", "rc": 0, "start": "2024-10-25 21:20:33.249397" } STDOUT: tlskey = /etc/pki/tls/private/ansible.w1fZ8P TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 25 October 2024 21:20:33 -0400 (0:00:00.477) 0:01:56.579 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 25 October 2024 21:20:33 -0400 (0:00:00.146) 0:01:56.726 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.w1fZ8P] *************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 25 October 2024 21:20:33 -0400 (0:00:00.132) 0:01:56.858 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 25 October 2024 21:20:33 -0400 (0:00:00.119) 0:01:56.978 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 25 October 2024 21:20:33 -0400 (0:00:00.193) 0:01:57.171 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004722", "end": "2024-10-25 21:20:34.271222", "rc": 0, "start": "2024-10-25 21:20:34.266500" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 25 October 2024 21:20:34 -0400 (0:00:00.382) 0:01:57.554 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 25 October 2024 21:20:34 -0400 (0:00:00.115) 0:01:57.670 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 25 October 2024 21:20:34 -0400 (0:00:00.089) 0:01:57.759 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 25 October 2024 21:20:34 -0400 (0:00:00.085) 0:01:57.845 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 25 October 2024 21:20:34 -0400 (0:00:00.196) 0:01:58.041 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004852", "end": "2024-10-25 21:20:35.196262", "rc": 0, "start": "2024-10-25 21:20:35.191410" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 25 October 2024 21:20:35 -0400 (0:00:00.485) 0:01:58.527 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 25 October 2024 21:20:35 -0400 (0:00:00.254) 0:01:58.782 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 25 October 2024 21:20:35 -0400 (0:00:00.152) 0:01:58.934 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 25 October 2024 21:20:35 -0400 (0:00:00.127) 0:01:59.062 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:85 Friday 25 October 2024 21:20:36 -0400 (0:00:00.119) 0:01:59.181 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 25 October 2024 21:20:36 -0400 (0:00:00.546) 0:01:59.728 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 25 October 2024 21:20:36 -0400 (0:00:00.151) 0:01:59.880 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 25 October 2024 21:20:36 -0400 (0:00:00.156) 0:02:00.036 ******** ok: [managed-node2] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 25 October 2024 21:20:37 -0400 (0:00:00.178) 0:02:00.215 ******** ok: [managed-node2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 25 October 2024 21:20:37 -0400 (0:00:00.115) 0:02:00.330 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 25 October 2024 21:20:37 -0400 (0:00:00.112) 0:02:00.443 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 25 October 2024 21:20:37 -0400 (0:00:00.118) 0:02:00.562 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 25 October 2024 21:20:37 -0400 (0:00:00.119) 0:02:00.682 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 25 October 2024 21:20:37 -0400 (0:00:00.132) 0:02:00.815 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 25 October 2024 21:20:37 -0400 (0:00:00.119) 0:02:00.935 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 25 October 2024 21:20:37 -0400 (0:00:00.207) 0:02:01.142 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 25 October 2024 21:20:38 -0400 (0:00:00.109) 0:02:01.252 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 25 October 2024 21:20:38 -0400 (0:00:00.102) 0:02:01.354 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Friday 25 October 2024 21:20:38 -0400 (0:00:00.101) 0:02:01.456 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Friday 25 October 2024 21:20:38 -0400 (0:00:00.094) 0:02:01.550 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Friday 25 October 2024 21:20:38 -0400 (0:00:00.087) 0:02:01.637 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Friday 25 October 2024 21:20:38 -0400 (0:00:00.083) 0:02:01.721 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 25 October 2024 21:20:38 -0400 (0:00:00.106) 0:02:01.828 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 25 October 2024 21:20:38 -0400 (0:00:00.135) 0:02:01.963 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Friday 25 October 2024 21:20:38 -0400 (0:00:00.107) 0:02:02.070 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Friday 25 October 2024 21:20:38 -0400 (0:00:00.097) 0:02:02.167 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Friday 25 October 2024 21:20:40 -0400 (0:00:01.299) 0:02:03.467 ******** ok: [managed-node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 25 October 2024 21:20:40 -0400 (0:00:00.361) 0:02:03.828 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 25 October 2024 21:20:40 -0400 (0:00:00.104) 0:02:03.932 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Friday 25 October 2024 21:20:40 -0400 (0:00:00.151) 0:02:04.084 ******** skipping: [managed-node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Friday 25 October 2024 21:20:41 -0400 (0:00:00.226) 0:02:04.311 ******** ok: [managed-node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Friday 25 October 2024 21:20:41 -0400 (0:00:00.627) 0:02:04.938 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Friday 25 October 2024 21:20:41 -0400 (0:00:00.109) 0:02:05.048 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 25 October 2024 21:20:41 -0400 (0:00:00.090) 0:02:05.138 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Friday 25 October 2024 21:20:42 -0400 (0:00:00.091) 0:02:05.230 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 25 October 2024 21:20:42 -0400 (0:00:00.097) 0:02:05.327 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 25 October 2024 21:20:42 -0400 (0:00:00.115) 0:02:05.442 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Friday 25 October 2024 21:20:42 -0400 (0:00:00.122) 0:02:05.565 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 25 October 2024 21:20:42 -0400 (0:00:00.139) 0:02:05.704 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 25 October 2024 21:20:42 -0400 (0:00:00.094) 0:02:05.799 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 25 October 2024 21:20:43 -0400 (0:00:00.674) 0:02:06.473 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Friday 25 October 2024 21:20:44 -0400 (0:00:00.810) 0:02:07.284 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Friday 25 October 2024 21:20:44 -0400 (0:00:00.212) 0:02:07.497 ******** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005043", "end": "2024-10-25 21:20:44.708485", "rc": 0, "start": "2024-10-25 21:20:44.703442" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Friday 25 October 2024 21:20:44 -0400 (0:00:00.519) 0:02:08.016 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Friday 25 October 2024 21:20:45 -0400 (0:00:01.146) 0:02:09.163 ******** ok: [managed-node2] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Friday 25 October 2024 21:20:46 -0400 (0:00:00.190) 0:02:09.354 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Friday 25 October 2024 21:20:46 -0400 (0:00:00.145) 0:02:09.499 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Friday 25 October 2024 21:20:46 -0400 (0:00:00.142) 0:02:09.642 ******** skipping: [managed-node2] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Friday 25 October 2024 21:20:46 -0400 (0:00:00.163) 0:02:09.805 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Friday 25 October 2024 21:20:46 -0400 (0:00:00.222) 0:02:10.027 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Friday 25 October 2024 21:20:47 -0400 (0:00:00.158) 0:02:10.186 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 25 October 2024 21:20:47 -0400 (0:00:00.714) 0:02:10.901 ******** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-25 21:07:53 EDT", "ActiveEnterTimestampMonotonic": "8699554", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service basic.target dbus.service systemd-journald.socket system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-25 21:07:52 EDT", "AssertTimestampMonotonic": "7976802", "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-10-25 21:07:52 EDT", "ConditionTimestampMonotonic": "7976800", "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": "849", "ExecMainStartTimestamp": "Fri 2024-10-25 21:07:52 EDT", "ExecMainStartTimestampMonotonic": "7978826", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-10-25 21:07:52 EDT", "InactiveExitTimestampMonotonic": "7978862", "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": "849", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-10-25 21:07:53 EDT", "WatchdogTimestampMonotonic": "8699479", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 25 October 2024 21:20:48 -0400 (0:00:00.547) 0:02:11.448 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.096454", "end": "2024-10-25 21:20:48.688426", "rc": 0, "start": "2024-10-25 21:20:48.591972" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Friday 25 October 2024 21:20:48 -0400 (0:00:00.615) 0:02:12.063 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 25 October 2024 21:20:49 -0400 (0:00:00.118) 0:02:12.182 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Friday 25 October 2024 21:20:49 -0400 (0:00:00.135) 0:02:12.317 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Friday 25 October 2024 21:20:49 -0400 (0:00:00.127) 0:02:12.445 ******** ok: [managed-node2] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Friday 25 October 2024 21:20:49 -0400 (0:00:00.469) 0:02:12.915 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Friday 25 October 2024 21:20:49 -0400 (0:00:00.121) 0:02:13.036 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Friday 25 October 2024 21:20:50 -0400 (0:00:00.712) 0:02:13.749 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 25 October 2024 21:20:50 -0400 (0:00:00.132) 0:02:13.882 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Friday 25 October 2024 21:20:50 -0400 (0:00:00.119) 0:02:14.002 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 25 October 2024 21:20:50 -0400 (0:00:00.123) 0:02:14.126 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Friday 25 October 2024 21:20:51 -0400 (0:00:00.122) 0:02:14.248 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 25 October 2024 21:20:51 -0400 (0:00:00.134) 0:02:14.382 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 25 October 2024 21:20:51 -0400 (0:00:00.129) 0:02:14.512 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 25 October 2024 21:20:51 -0400 (0:00:00.130) 0:02:14.643 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Friday 25 October 2024 21:20:51 -0400 (0:00:00.122) 0:02:14.765 ******** ok: [managed-node2] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005803", "end": "2024-10-25 21:20:51.926727", "rc": 0, "start": "2024-10-25 21:20:51.920924" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 25 October 2024 21:20:52 -0400 (0:00:00.491) 0:02:15.257 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Friday 25 October 2024 21:20:52 -0400 (0:00:00.127) 0:02:15.384 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Friday 25 October 2024 21:20:53 -0400 (0:00:01.622) 0:02:17.006 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 25 October 2024 21:20:53 -0400 (0:00:00.130) 0:02:17.137 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 25 October 2024 21:20:54 -0400 (0:00:00.126) 0:02:17.263 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Friday 25 October 2024 21:20:54 -0400 (0:00:00.137) 0:02:17.401 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Friday 25 October 2024 21:20:54 -0400 (0:00:00.135) 0:02:17.536 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:20:54 -0400 (0:00:00.298) 0:02:17.835 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003229", "end": "2024-10-25 21:20:55.193809", "failed_when_result": false, "rc": 1, "start": "2024-10-25 21:20:55.190580" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:20:55 -0400 (0:00:00.778) 0:02:18.614 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.049608", "end": "2024-10-25 21:20:55.874621", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:20:55.825013" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [fedora.linux_system_roles.mssql : Unset the setting network tcpport] ***** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:20:56 -0400 (0:00:00.602) 0:02:19.216 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Friday 25 October 2024 21:20:56 -0400 (0:00:00.118) 0:02:19.335 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 25 October 2024 21:20:56 -0400 (0:00:00.134) 0:02:19.469 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 25 October 2024 21:20:56 -0400 (0:00:00.143) 0:02:19.613 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 25 October 2024 21:20:56 -0400 (0:00:00.140) 0:02:19.753 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 25 October 2024 21:20:56 -0400 (0:00:00.272) 0:02:20.026 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 25 October 2024 21:20:57 -0400 (0:00:00.157) 0:02:20.184 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Friday 25 October 2024 21:20:57 -0400 (0:00:00.125) 0:02:20.309 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Friday 25 October 2024 21:20:57 -0400 (0:00:00.146) 0:02:20.456 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 25 October 2024 21:20:57 -0400 (0:00:00.185) 0:02:20.641 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Friday 25 October 2024 21:20:57 -0400 (0:00:00.219) 0:02:20.861 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Friday 25 October 2024 21:20:57 -0400 (0:00:00.236) 0:02:21.098 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Friday 25 October 2024 21:20:58 -0400 (0:00:00.150) 0:02:21.249 ******** skipping: [managed-node2] => (item=/tmp/ansible.1hUFUd) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.1hUFUd", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ansible.w1fZ8P) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.w1fZ8P", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Friday 25 October 2024 21:20:58 -0400 (0:00:00.166) 0:02:21.415 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:20:58 -0400 (0:00:00.244) 0:02:21.659 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003365", "end": "2024-10-25 21:20:59.020830", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:20:59.017465" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.1hUFUd TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:20:59 -0400 (0:00:00.701) 0:02:22.361 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlscert] ***** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:20:59 -0400 (0:00:00.126) 0:02:22.487 ******** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node2 changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.048408", "end": "2024-10-25 21:20:59.664156", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:20:59.615748" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Friday 25 October 2024 21:20:59 -0400 (0:00:00.485) 0:02:22.973 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:20:59 -0400 (0:00:00.183) 0:02:23.156 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003638", "end": "2024-10-25 21:21:00.259888", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:21:00.256250" } STDOUT: tlskey = /etc/pki/tls/private/ansible.w1fZ8P TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:21:00 -0400 (0:00:00.388) 0:02:23.545 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:21:00 -0400 (0:00:00.177) 0:02:23.722 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.049887", "end": "2024-10-25 21:21:00.918279", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:21:00.868392" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 25 October 2024 21:21:01 -0400 (0:00:00.538) 0:02:24.261 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:21:01 -0400 (0:00:00.250) 0:02:24.512 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003175", "end": "2024-10-25 21:21:01.659581", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:21:01.656406" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:21:01 -0400 (0:00:00.477) 0:02:24.989 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlsprotocols] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:21:01 -0400 (0:00:00.142) 0:02:25.132 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.049307", "end": "2024-10-25 21:21:02.338535", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:21:02.289228" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Friday 25 October 2024 21:21:02 -0400 (0:00:00.618) 0:02:25.750 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:21:02 -0400 (0:00:00.246) 0:02:25.997 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003197", "end": "2024-10-25 21:21:03.155175", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:21:03.151978" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:21:03 -0400 (0:00:00.483) 0:02:26.481 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network forceencryption] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:21:03 -0400 (0:00:00.136) 0:02:26.618 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.050182", "end": "2024-10-25 21:21:03.825983", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:21:03.775801" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Friday 25 October 2024 21:21:03 -0400 (0:00:00.541) 0:02:27.159 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Friday 25 October 2024 21:21:04 -0400 (0:00:00.126) 0:02:27.285 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 25 October 2024 21:21:04 -0400 (0:00:00.128) 0:02:27.414 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 25 October 2024 21:21:04 -0400 (0:00:00.215) 0:02:27.630 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Friday 25 October 2024 21:21:04 -0400 (0:00:00.130) 0:02:27.760 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Friday 25 October 2024 21:21:04 -0400 (0:00:00.134) 0:02:27.894 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Friday 25 October 2024 21:21:04 -0400 (0:00:00.121) 0:02:28.016 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Friday 25 October 2024 21:21:04 -0400 (0:00:00.123) 0:02:28.140 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Friday 25 October 2024 21:21:05 -0400 (0:00:00.119) 0:02:28.259 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Friday 25 October 2024 21:21:05 -0400 (0:00:00.129) 0:02:28.389 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Friday 25 October 2024 21:21:05 -0400 (0:00:00.137) 0:02:28.527 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Friday 25 October 2024 21:21:05 -0400 (0:00:00.136) 0:02:28.664 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Friday 25 October 2024 21:21:05 -0400 (0:00:00.156) 0:02:28.820 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Friday 25 October 2024 21:21:05 -0400 (0:00:00.148) 0:02:28.969 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Friday 25 October 2024 21:21:05 -0400 (0:00:00.125) 0:02:29.094 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Friday 25 October 2024 21:21:06 -0400 (0:00:00.121) 0:02:29.216 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Friday 25 October 2024 21:21:06 -0400 (0:00:00.123) 0:02:29.340 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Friday 25 October 2024 21:21:06 -0400 (0:00:00.120) 0:02:29.460 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 25 October 2024 21:21:06 -0400 (0:00:00.119) 0:02:29.580 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Friday 25 October 2024 21:21:06 -0400 (0:00:00.134) 0:02:29.715 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 25 October 2024 21:21:06 -0400 (0:00:00.121) 0:02:29.837 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Friday 25 October 2024 21:21:06 -0400 (0:00:00.123) 0:02:29.961 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 25 October 2024 21:21:06 -0400 (0:00:00.199) 0:02:30.160 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 25 October 2024 21:21:07 -0400 (0:00:00.380) 0:02:30.541 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Friday 25 October 2024 21:21:07 -0400 (0:00:00.124) 0:02:30.666 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Friday 25 October 2024 21:21:07 -0400 (0:00:00.134) 0:02:30.800 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Friday 25 October 2024 21:21:07 -0400 (0:00:00.144) 0:02:30.945 ******** skipping: [managed-node2] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Friday 25 October 2024 21:21:07 -0400 (0:00:00.224) 0:02:31.170 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Friday 25 October 2024 21:21:08 -0400 (0:00:00.169) 0:02:31.339 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 25 October 2024 21:21:08 -0400 (0:00:00.141) 0:02:31.480 ******** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 25 October 2024 21:21:08 -0400 (0:00:00.331) 0:02:31.812 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 25 October 2024 21:21:08 -0400 (0:00:00.145) 0:02:31.958 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1201 Friday 25 October 2024 21:21:08 -0400 (0:00:00.140) 0:02:32.098 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1211 Friday 25 October 2024 21:21:09 -0400 (0:00:00.160) 0:02:32.259 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Friday 25 October 2024 21:21:09 -0400 (0:00:00.186) 0:02:32.445 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1229 Friday 25 October 2024 21:21:09 -0400 (0:00:00.135) 0:02:32.581 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 25 October 2024 21:21:09 -0400 (0:00:00.110) 0:02:32.692 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1253 Friday 25 October 2024 21:21:09 -0400 (0:00:00.125) 0:02:32.817 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1262 Friday 25 October 2024 21:21:09 -0400 (0:00:00.111) 0:02:32.929 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1269 Friday 25 October 2024 21:21:09 -0400 (0:00:00.088) 0:02:33.017 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1276 Friday 25 October 2024 21:21:09 -0400 (0:00:00.106) 0:02:33.123 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1284 Friday 25 October 2024 21:21:10 -0400 (0:00:00.150) 0:02:33.274 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1291 Friday 25 October 2024 21:21:10 -0400 (0:00:00.286) 0:02:33.560 ******** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Friday 25 October 2024 21:21:10 -0400 (0:00:00.150) 0:02:33.711 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 25 October 2024 21:21:10 -0400 (0:00:00.252) 0:02:33.963 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Friday 25 October 2024 21:21:10 -0400 (0:00:00.195) 0:02:34.159 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1325 Friday 25 October 2024 21:21:11 -0400 (0:00:00.248) 0:02:34.408 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 25 October 2024 21:21:11 -0400 (0:00:00.197) 0:02:34.605 ******** skipping: [managed-node2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1346 Friday 25 October 2024 21:21:11 -0400 (0:00:00.155) 0:02:34.761 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Friday 25 October 2024 21:21:11 -0400 (0:00:00.237) 0:02:34.998 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Friday 25 October 2024 21:21:12 -0400 (0:00:00.234) 0:02:35.233 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1371 Friday 25 October 2024 21:21:12 -0400 (0:00:00.188) 0:02:35.421 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1380 Friday 25 October 2024 21:21:12 -0400 (0:00:00.127) 0:02:35.549 ******** changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 25 October 2024 21:21:13 -0400 (0:00:00.735) 0:02:36.285 ******** changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-25 21:20:21 EDT", "ActiveEnterTimestampMonotonic": "757015702", "ActiveExitTimestamp": "Fri 2024-10-25 21:20:20 EDT", "ActiveExitTimestampMonotonic": "756121483", "ActiveState": "active", "After": "network.target basic.target systemd-journald.socket system.slice -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-25 21:20:21 EDT", "AssertTimestampMonotonic": "757015016", "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-10-25 21:20:21 EDT", "ConditionTimestampMonotonic": "757015015", "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": "23451", "ExecMainStartTimestamp": "Fri 2024-10-25 21:20:21 EDT", "ExecMainStartTimestampMonotonic": "757015642", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-10-25 21:20:21 EDT", "InactiveEnterTimestampMonotonic": "757014098", "InactiveExitTimestamp": "Fri 2024-10-25 21:20:21 EDT", "InactiveExitTimestampMonotonic": "757015702", "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": "23451", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-10-25 21:20:21 EDT", "WatchdogTimestampMonotonic": "757015683", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1393 Friday 25 October 2024 21:21:14 -0400 (0:00:01.191) 0:02:37.476 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1400 Friday 25 October 2024 21:21:14 -0400 (0:00:00.148) 0:02:37.625 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:92 Friday 25 October 2024 21:21:14 -0400 (0:00:00.139) 0:02:37.765 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node2 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 25 October 2024 21:21:15 -0400 (0:00:00.728) 0:02:38.493 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 25 October 2024 21:21:15 -0400 (0:00:00.145) 0:02:38.639 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 25 October 2024 21:21:15 -0400 (0:00:00.145) 0:02:38.785 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 25 October 2024 21:21:15 -0400 (0:00:00.131) 0:02:38.917 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 25 October 2024 21:21:15 -0400 (0:00:00.126) 0:02:39.044 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 25 October 2024 21:21:16 -0400 (0:00:00.136) 0:02:39.181 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 25 October 2024 21:21:16 -0400 (0:00:00.122) 0:02:39.303 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 25 October 2024 21:21:16 -0400 (0:00:00.228) 0:02:39.532 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 25 October 2024 21:21:16 -0400 (0:00:00.255) 0:02:39.788 ******** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 25 October 2024 21:21:16 -0400 (0:00:00.279) 0:02:40.067 ******** ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-25 21:21:13 EDT", "ActiveEnterTimestampMonotonic": "809305298", "ActiveExitTimestamp": "Fri 2024-10-25 21:21:13 EDT", "ActiveExitTimestampMonotonic": "809050564", "ActiveState": "active", "After": "network.target basic.target systemd-journald.socket system.slice -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-25 21:21:13 EDT", "AssertTimestampMonotonic": "809303528", "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-10-25 21:21:13 EDT", "ConditionTimestampMonotonic": "809303526", "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": "25635", "ExecMainStartTimestamp": "Fri 2024-10-25 21:21:13 EDT", "ExecMainStartTimestampMonotonic": "809304198", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-10-25 21:21:13 EDT] ; stop_time=[n/a] ; pid=25635 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-10-25 21:21:13 EDT", "InactiveEnterTimestampMonotonic": "809302106", "InactiveExitTimestamp": "Fri 2024-10-25 21:21:13 EDT", "InactiveExitTimestampMonotonic": "809305298", "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": "25635", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-10-25 21:21:13 EDT", "WatchdogTimestampMonotonic": "809305148", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 25 October 2024 21:21:17 -0400 (0:00:01.001) 0:02:41.068 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003193", "end": "2024-10-25 21:21:18.316346", "failed_when_result": false, "rc": 1, "start": "2024-10-25 21:21:18.313153" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 25 October 2024 21:21:18 -0400 (0:00:00.632) 0:02:41.701 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003157", "end": "2024-10-25 21:21:18.990203", "failed_when_result": false, "rc": 1, "start": "2024-10-25 21:21:18.987046" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 25 October 2024 21:21:19 -0400 (0:00:00.636) 0:02:42.337 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 25 October 2024 21:21:19 -0400 (0:00:00.185) 0:02:42.523 ******** ok: [managed-node2] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 6263, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 25 October 2024 21:21:20 -0400 (0:00:01.614) 0:02:44.137 ******** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.023192", "end": "2024-10-25 21:21:21.346627", "rc": 0, "start": "2024-10-25 21:21:21.323435" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 25 October 2024 21:21:21 -0400 (0:00:00.551) 0:02:44.688 ******** ok: [managed-node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 25 October 2024 21:21:21 -0400 (0:00:00.200) 0:02:44.889 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 25 October 2024 21:21:21 -0400 (0:00:00.164) 0:02:45.053 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 25 October 2024 21:21:22 -0400 (0:00:00.223) 0:02:45.277 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 25 October 2024 21:21:22 -0400 (0:00:00.207) 0:02:45.485 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 25 October 2024 21:21:22 -0400 (0:00:00.131) 0:02:45.616 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 25 October 2024 21:21:22 -0400 (0:00:00.174) 0:02:45.790 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 25 October 2024 21:21:22 -0400 (0:00:00.147) 0:02:45.938 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 25 October 2024 21:21:22 -0400 (0:00:00.149) 0:02:46.087 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 25 October 2024 21:21:23 -0400 (0:00:00.246) 0:02:46.333 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004248", "end": "2024-10-25 21:21:23.566311", "rc": 0, "start": "2024-10-25 21:21:23.562063" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 25 October 2024 21:21:23 -0400 (0:00:00.566) 0:02:46.900 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 25 October 2024 21:21:23 -0400 (0:00:00.187) 0:02:47.088 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 25 October 2024 21:21:24 -0400 (0:00:00.208) 0:02:47.296 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 25 October 2024 21:21:24 -0400 (0:00:00.150) 0:02:47.446 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 25 October 2024 21:21:24 -0400 (0:00:00.246) 0:02:47.692 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004797", "end": "2024-10-25 21:21:24.995129", "rc": 0, "start": "2024-10-25 21:21:24.990332" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 25 October 2024 21:21:25 -0400 (0:00:00.672) 0:02:48.365 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 25 October 2024 21:21:25 -0400 (0:00:00.268) 0:02:48.633 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 25 October 2024 21:21:25 -0400 (0:00:00.126) 0:02:48.760 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 25 October 2024 21:21:25 -0400 (0:00:00.105) 0:02:48.866 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 25 October 2024 21:21:25 -0400 (0:00:00.175) 0:02:49.042 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004268", "end": "2024-10-25 21:21:26.145020", "rc": 0, "start": "2024-10-25 21:21:26.140752" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 25 October 2024 21:21:26 -0400 (0:00:00.389) 0:02:49.431 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 25 October 2024 21:21:26 -0400 (0:00:00.135) 0:02:49.567 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 25 October 2024 21:21:26 -0400 (0:00:00.127) 0:02:49.694 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 25 October 2024 21:21:26 -0400 (0:00:00.132) 0:02:49.827 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 25 October 2024 21:21:26 -0400 (0:00:00.302) 0:02:50.130 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004828", "end": "2024-10-25 21:21:27.441116", "rc": 0, "start": "2024-10-25 21:21:27.436288" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 25 October 2024 21:21:27 -0400 (0:00:00.669) 0:02:50.799 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 25 October 2024 21:21:27 -0400 (0:00:00.135) 0:02:50.935 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 25 October 2024 21:21:27 -0400 (0:00:00.179) 0:02:51.115 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 25 October 2024 21:21:28 -0400 (0:00:00.143) 0:02:51.258 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove certificates from hosts] ****************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:99 Friday 25 October 2024 21:21:28 -0400 (0:00:00.166) 0:02:51.424 ******** changed: [managed-node2] => (item=/etc/pki/tls/certs/ansible.1hUFUd) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/certs/ansible.1hUFUd", "path": "/etc/pki/tls/certs/ansible.1hUFUd", "state": "absent" } changed: [managed-node2] => (item=/etc/pki/tls/private/ansible.w1fZ8P) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/private/ansible.w1fZ8P", "path": "/etc/pki/tls/private/ansible.w1fZ8P", "state": "absent" } TASK [Copy certificates to hosts] ********************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:107 Friday 25 October 2024 21:21:29 -0400 (0:00:00.791) 0:02:52.215 ******** ok: [managed-node2] => (item=/tmp/ansible.1hUFUd) => { "ansible_loop_var": "item", "changed": false, "checksum": "0830c6852cae802a30d1863e9c136595a4216bbd", "dest": "/tmp/ansible.1hUFUd", "gid": 0, "group": "root", "item": "/tmp/ansible.1hUFUd", "mode": "0600", "owner": "root", "path": "/tmp/ansible.1hUFUd", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1103, "state": "file", "uid": 0 } ok: [managed-node2] => (item=/tmp/ansible.w1fZ8P) => { "ansible_loop_var": "item", "changed": false, "checksum": "3729d59faaefcec494a22c8eef80e5846ec18a38", "dest": "/tmp/ansible.w1fZ8P", "gid": 0, "group": "root", "item": "/tmp/ansible.w1fZ8P", "mode": "0600", "owner": "root", "path": "/tmp/ansible.w1fZ8P", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1704, "state": "file", "uid": 0 } TASK [Set mssql_tls_cert and mssql_tls_private_key for the following test] ***** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:116 Friday 25 October 2024 21:21:30 -0400 (0:00:01.645) 0:02:53.861 ******** ok: [managed-node2] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.1hUFUd", "mssql_tls_private_key": "ansible.w1fZ8P" }, "changed": false } TASK [Test with certs on managed nodes] **************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:121 Friday 25 October 2024 21:21:30 -0400 (0:00:00.131) 0:02:53.992 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 25 October 2024 21:21:31 -0400 (0:00:01.052) 0:02:55.045 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 25 October 2024 21:21:32 -0400 (0:00:00.183) 0:02:55.228 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 25 October 2024 21:21:32 -0400 (0:00:00.119) 0:02:55.348 ******** ok: [managed-node2] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 25 October 2024 21:21:32 -0400 (0:00:00.166) 0:02:55.514 ******** ok: [managed-node2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 25 October 2024 21:21:32 -0400 (0:00:00.271) 0:02:55.786 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 25 October 2024 21:21:32 -0400 (0:00:00.106) 0:02:55.892 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 25 October 2024 21:21:32 -0400 (0:00:00.098) 0:02:55.990 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 25 October 2024 21:21:32 -0400 (0:00:00.086) 0:02:56.077 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 25 October 2024 21:21:32 -0400 (0:00:00.090) 0:02:56.168 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 25 October 2024 21:21:33 -0400 (0:00:00.093) 0:02:56.262 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 25 October 2024 21:21:33 -0400 (0:00:00.123) 0:02:56.386 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 25 October 2024 21:21:33 -0400 (0:00:00.127) 0:02:56.513 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 25 October 2024 21:21:33 -0400 (0:00:00.119) 0:02:56.632 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Friday 25 October 2024 21:21:33 -0400 (0:00:00.138) 0:02:56.771 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Friday 25 October 2024 21:21:33 -0400 (0:00:00.152) 0:02:56.923 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Friday 25 October 2024 21:21:33 -0400 (0:00:00.128) 0:02:57.052 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Friday 25 October 2024 21:21:34 -0400 (0:00:00.121) 0:02:57.173 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 25 October 2024 21:21:34 -0400 (0:00:00.127) 0:02:57.301 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 25 October 2024 21:21:34 -0400 (0:00:00.135) 0:02:57.437 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Friday 25 October 2024 21:21:34 -0400 (0:00:00.137) 0:02:57.574 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Friday 25 October 2024 21:21:34 -0400 (0:00:00.126) 0:02:57.701 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Friday 25 October 2024 21:21:36 -0400 (0:00:02.172) 0:02:59.874 ******** ok: [managed-node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 25 October 2024 21:21:37 -0400 (0:00:00.401) 0:03:00.275 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 25 October 2024 21:21:37 -0400 (0:00:00.214) 0:03:00.490 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Friday 25 October 2024 21:21:37 -0400 (0:00:00.176) 0:03:00.666 ******** skipping: [managed-node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Friday 25 October 2024 21:21:37 -0400 (0:00:00.277) 0:03:00.944 ******** ok: [managed-node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Friday 25 October 2024 21:21:38 -0400 (0:00:00.983) 0:03:01.927 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Friday 25 October 2024 21:21:38 -0400 (0:00:00.181) 0:03:02.109 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 25 October 2024 21:21:39 -0400 (0:00:00.276) 0:03:02.385 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Friday 25 October 2024 21:21:39 -0400 (0:00:00.286) 0:03:02.671 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 25 October 2024 21:21:39 -0400 (0:00:00.183) 0:03:02.855 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 25 October 2024 21:21:39 -0400 (0:00:00.143) 0:03:02.998 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Friday 25 October 2024 21:21:39 -0400 (0:00:00.168) 0:03:03.167 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 25 October 2024 21:21:40 -0400 (0:00:00.227) 0:03:03.394 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 25 October 2024 21:21:40 -0400 (0:00:00.236) 0:03:03.631 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 25 October 2024 21:21:41 -0400 (0:00:00.904) 0:03:04.535 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Friday 25 October 2024 21:21:42 -0400 (0:00:00.888) 0:03:05.423 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Friday 25 October 2024 21:21:42 -0400 (0:00:00.240) 0:03:05.664 ******** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.004717", "end": "2024-10-25 21:21:43.030973", "rc": 0, "start": "2024-10-25 21:21:43.026256" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Friday 25 October 2024 21:21:43 -0400 (0:00:00.817) 0:03:06.481 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Friday 25 October 2024 21:21:44 -0400 (0:00:01.307) 0:03:07.789 ******** ok: [managed-node2] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Friday 25 October 2024 21:21:44 -0400 (0:00:00.317) 0:03:08.106 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Friday 25 October 2024 21:21:45 -0400 (0:00:00.148) 0:03:08.255 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Friday 25 October 2024 21:21:45 -0400 (0:00:00.124) 0:03:08.379 ******** skipping: [managed-node2] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Friday 25 October 2024 21:21:45 -0400 (0:00:00.188) 0:03:08.568 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Friday 25 October 2024 21:21:45 -0400 (0:00:00.138) 0:03:08.707 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Friday 25 October 2024 21:21:45 -0400 (0:00:00.119) 0:03:08.826 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 25 October 2024 21:21:46 -0400 (0:00:00.853) 0:03:09.680 ******** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-25 21:07:53 EDT", "ActiveEnterTimestampMonotonic": "8699554", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service basic.target dbus.service systemd-journald.socket system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-25 21:07:52 EDT", "AssertTimestampMonotonic": "7976802", "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-10-25 21:07:52 EDT", "ConditionTimestampMonotonic": "7976800", "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": "849", "ExecMainStartTimestamp": "Fri 2024-10-25 21:07:52 EDT", "ExecMainStartTimestampMonotonic": "7978826", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-10-25 21:07:52 EDT", "InactiveExitTimestampMonotonic": "7978862", "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": "849", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-10-25 21:07:53 EDT", "WatchdogTimestampMonotonic": "8699479", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 25 October 2024 21:21:47 -0400 (0:00:00.898) 0:03:10.578 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.091736", "end": "2024-10-25 21:21:48.062248", "rc": 0, "start": "2024-10-25 21:21:47.970512" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Friday 25 October 2024 21:21:48 -0400 (0:00:00.782) 0:03:11.361 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 25 October 2024 21:21:48 -0400 (0:00:00.211) 0:03:11.573 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Friday 25 October 2024 21:21:48 -0400 (0:00:00.126) 0:03:11.699 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Friday 25 October 2024 21:21:48 -0400 (0:00:00.123) 0:03:11.823 ******** ok: [managed-node2] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Friday 25 October 2024 21:21:49 -0400 (0:00:00.440) 0:03:12.263 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Friday 25 October 2024 21:21:49 -0400 (0:00:00.123) 0:03:12.387 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Friday 25 October 2024 21:21:49 -0400 (0:00:00.715) 0:03:13.102 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 25 October 2024 21:21:50 -0400 (0:00:00.162) 0:03:13.265 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Friday 25 October 2024 21:21:50 -0400 (0:00:00.133) 0:03:13.399 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 25 October 2024 21:21:50 -0400 (0:00:00.138) 0:03:13.537 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Friday 25 October 2024 21:21:50 -0400 (0:00:00.129) 0:03:13.667 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 25 October 2024 21:21:50 -0400 (0:00:00.213) 0:03:13.880 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 25 October 2024 21:21:50 -0400 (0:00:00.271) 0:03:14.152 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 25 October 2024 21:21:51 -0400 (0:00:00.204) 0:03:14.357 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Friday 25 October 2024 21:21:51 -0400 (0:00:00.253) 0:03:14.610 ******** ok: [managed-node2] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005348", "end": "2024-10-25 21:21:51.986346", "rc": 0, "start": "2024-10-25 21:21:51.980998" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 25 October 2024 21:21:52 -0400 (0:00:00.837) 0:03:15.448 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Friday 25 October 2024 21:21:52 -0400 (0:00:00.277) 0:03:15.726 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Friday 25 October 2024 21:21:54 -0400 (0:00:01.615) 0:03:17.341 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 25 October 2024 21:21:54 -0400 (0:00:00.147) 0:03:17.488 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 25 October 2024 21:21:54 -0400 (0:00:00.128) 0:03:17.617 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Friday 25 October 2024 21:21:54 -0400 (0:00:00.116) 0:03:17.734 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Friday 25 October 2024 21:21:54 -0400 (0:00:00.094) 0:03:17.829 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:21:54 -0400 (0:00:00.167) 0:03:17.996 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003576", "end": "2024-10-25 21:21:55.099762", "failed_when_result": false, "rc": 1, "start": "2024-10-25 21:21:55.096186" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:21:55 -0400 (0:00:00.390) 0:03:18.387 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.049467", "end": "2024-10-25 21:21:55.553998", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:21:55.504531" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [fedora.linux_system_roles.mssql : Unset the setting network tcpport] ***** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:21:55 -0400 (0:00:00.468) 0:03:18.855 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Friday 25 October 2024 21:21:55 -0400 (0:00:00.111) 0:03:18.967 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 25 October 2024 21:21:55 -0400 (0:00:00.118) 0:03:19.085 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 25 October 2024 21:21:56 -0400 (0:00:00.214) 0:03:19.300 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 25 October 2024 21:21:56 -0400 (0:00:00.095) 0:03:19.396 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 25 October 2024 21:21:56 -0400 (0:00:00.124) 0:03:19.520 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 25 October 2024 21:21:56 -0400 (0:00:00.158) 0:03:19.678 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Friday 25 October 2024 21:21:56 -0400 (0:00:00.133) 0:03:19.811 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Friday 25 October 2024 21:21:56 -0400 (0:00:00.128) 0:03:19.940 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 25 October 2024 21:21:56 -0400 (0:00:00.133) 0:03:20.073 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Friday 25 October 2024 21:21:57 -0400 (0:00:00.134) 0:03:20.208 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Friday 25 October 2024 21:21:57 -0400 (0:00:00.143) 0:03:20.351 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Friday 25 October 2024 21:21:57 -0400 (0:00:00.224) 0:03:20.576 ******** changed: [managed-node2] => (item=/tmp/ansible.1hUFUd) => { "ansible_loop_var": "item", "changed": true, "checksum": "0830c6852cae802a30d1863e9c136595a4216bbd", "dest": "/etc/pki/tls/certs/ansible.1hUFUd", "gid": 994, "group": "mssql", "item": "/tmp/ansible.1hUFUd", "md5sum": "efe7b9ea80007f29b50a9e85c54a7a5f", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1103, "src": "/tmp/ansible.1hUFUd", "state": "file", "uid": 996 } changed: [managed-node2] => (item=/tmp/ansible.w1fZ8P) => { "ansible_loop_var": "item", "changed": true, "checksum": "3729d59faaefcec494a22c8eef80e5846ec18a38", "dest": "/etc/pki/tls/private/ansible.w1fZ8P", "gid": 994, "group": "mssql", "item": "/tmp/ansible.w1fZ8P", "md5sum": "974752158db0ff36ad9e753932c0dc25", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/tmp/ansible.w1fZ8P", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Friday 25 October 2024 21:21:58 -0400 (0:00:01.165) 0:03:21.741 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:21:58 -0400 (0:00:00.254) 0:03:21.996 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003481", "end": "2024-10-25 21:21:59.150613", "failed_when_result": false, "rc": 1, "start": "2024-10-25 21:21:59.147132" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:21:59 -0400 (0:00:00.629) 0:03:22.633 ******** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node2 changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/ansible.1hUFUd" ], "delta": "0:00:00.049289", "end": "2024-10-25 21:21:59.946187", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:21:59.896898" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network tlscert] ***** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:22:00 -0400 (0:00:00.657) 0:03:23.290 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Friday 25 October 2024 21:22:00 -0400 (0:00:00.138) 0:03:23.429 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:22:00 -0400 (0:00:00.370) 0:03:23.800 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003025", "end": "2024-10-25 21:22:00.966777", "failed_when_result": false, "rc": 1, "start": "2024-10-25 21:22:00.963752" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:22:01 -0400 (0:00:00.498) 0:03:24.299 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.w1fZ8P" ], "delta": "0:00:00.049819", "end": "2024-10-25 21:22:01.534167", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:22:01.484348" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:22:01 -0400 (0:00:00.578) 0:03:24.877 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 25 October 2024 21:22:01 -0400 (0:00:00.162) 0:03:25.040 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:22:02 -0400 (0:00:00.421) 0:03:25.461 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002908", "end": "2024-10-25 21:22:02.648360", "failed_when_result": false, "rc": 1, "start": "2024-10-25 21:22:02.645452" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:22:02 -0400 (0:00:00.516) 0:03:25.977 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.049741", "end": "2024-10-25 21:22:03.350847", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:22:03.301106" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network tlsprotocols] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:22:03 -0400 (0:00:00.825) 0:03:26.803 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Friday 25 October 2024 21:22:03 -0400 (0:00:00.276) 0:03:27.080 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:22:04 -0400 (0:00:00.336) 0:03:27.416 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003804", "end": "2024-10-25 21:22:04.625757", "failed_when_result": false, "rc": 1, "start": "2024-10-25 21:22:04.621953" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:22:04 -0400 (0:00:00.510) 0:03:27.927 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.049430", "end": "2024-10-25 21:22:05.106558", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:22:05.057128" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network forceencryption] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:22:05 -0400 (0:00:00.507) 0:03:28.434 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Friday 25 October 2024 21:22:05 -0400 (0:00:00.138) 0:03:28.572 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Friday 25 October 2024 21:22:05 -0400 (0:00:00.315) 0:03:28.888 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 25 October 2024 21:22:05 -0400 (0:00:00.156) 0:03:29.044 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 25 October 2024 21:22:06 -0400 (0:00:00.167) 0:03:29.211 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Friday 25 October 2024 21:22:06 -0400 (0:00:00.124) 0:03:29.336 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Friday 25 October 2024 21:22:06 -0400 (0:00:00.177) 0:03:29.514 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Friday 25 October 2024 21:22:06 -0400 (0:00:00.168) 0:03:29.682 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Friday 25 October 2024 21:22:06 -0400 (0:00:00.246) 0:03:29.929 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Friday 25 October 2024 21:22:06 -0400 (0:00:00.217) 0:03:30.146 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Friday 25 October 2024 21:22:07 -0400 (0:00:00.175) 0:03:30.322 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Friday 25 October 2024 21:22:07 -0400 (0:00:00.153) 0:03:30.475 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Friday 25 October 2024 21:22:07 -0400 (0:00:00.139) 0:03:30.615 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Friday 25 October 2024 21:22:07 -0400 (0:00:00.128) 0:03:30.744 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Friday 25 October 2024 21:22:07 -0400 (0:00:00.120) 0:03:30.865 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Friday 25 October 2024 21:22:07 -0400 (0:00:00.158) 0:03:31.024 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Friday 25 October 2024 21:22:08 -0400 (0:00:00.199) 0:03:31.224 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Friday 25 October 2024 21:22:08 -0400 (0:00:00.133) 0:03:31.357 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Friday 25 October 2024 21:22:08 -0400 (0:00:00.189) 0:03:31.547 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 25 October 2024 21:22:08 -0400 (0:00:00.151) 0:03:31.698 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Friday 25 October 2024 21:22:08 -0400 (0:00:00.141) 0:03:31.839 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 25 October 2024 21:22:08 -0400 (0:00:00.132) 0:03:31.972 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Friday 25 October 2024 21:22:09 -0400 (0:00:00.510) 0:03:32.482 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 25 October 2024 21:22:09 -0400 (0:00:00.279) 0:03:32.762 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 25 October 2024 21:22:09 -0400 (0:00:00.122) 0:03:32.884 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Friday 25 October 2024 21:22:09 -0400 (0:00:00.127) 0:03:33.012 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Friday 25 October 2024 21:22:09 -0400 (0:00:00.106) 0:03:33.119 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Friday 25 October 2024 21:22:10 -0400 (0:00:00.098) 0:03:33.218 ******** skipping: [managed-node2] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Friday 25 October 2024 21:22:10 -0400 (0:00:00.108) 0:03:33.327 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Friday 25 October 2024 21:22:10 -0400 (0:00:00.087) 0:03:33.414 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 25 October 2024 21:22:10 -0400 (0:00:00.099) 0:03:33.514 ******** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 25 October 2024 21:22:10 -0400 (0:00:00.186) 0:03:33.700 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 25 October 2024 21:22:10 -0400 (0:00:00.146) 0:03:33.847 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1201 Friday 25 October 2024 21:22:10 -0400 (0:00:00.166) 0:03:34.014 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1211 Friday 25 October 2024 21:22:10 -0400 (0:00:00.146) 0:03:34.160 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Friday 25 October 2024 21:22:11 -0400 (0:00:00.132) 0:03:34.292 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1229 Friday 25 October 2024 21:22:11 -0400 (0:00:00.120) 0:03:34.413 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 25 October 2024 21:22:11 -0400 (0:00:00.192) 0:03:34.605 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1253 Friday 25 October 2024 21:22:11 -0400 (0:00:00.210) 0:03:34.816 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1262 Friday 25 October 2024 21:22:11 -0400 (0:00:00.183) 0:03:34.999 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1269 Friday 25 October 2024 21:22:11 -0400 (0:00:00.140) 0:03:35.140 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1276 Friday 25 October 2024 21:22:12 -0400 (0:00:00.244) 0:03:35.384 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1284 Friday 25 October 2024 21:22:12 -0400 (0:00:00.125) 0:03:35.509 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1291 Friday 25 October 2024 21:22:12 -0400 (0:00:00.120) 0:03:35.630 ******** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Friday 25 October 2024 21:22:12 -0400 (0:00:00.206) 0:03:35.836 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 25 October 2024 21:22:12 -0400 (0:00:00.135) 0:03:35.972 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Friday 25 October 2024 21:22:12 -0400 (0:00:00.137) 0:03:36.110 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1325 Friday 25 October 2024 21:22:13 -0400 (0:00:00.128) 0:03:36.239 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 25 October 2024 21:22:13 -0400 (0:00:00.130) 0:03:36.369 ******** skipping: [managed-node2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1346 Friday 25 October 2024 21:22:13 -0400 (0:00:00.144) 0:03:36.514 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Friday 25 October 2024 21:22:13 -0400 (0:00:00.197) 0:03:36.711 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Friday 25 October 2024 21:22:13 -0400 (0:00:00.136) 0:03:36.848 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1371 Friday 25 October 2024 21:22:13 -0400 (0:00:00.169) 0:03:37.017 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1380 Friday 25 October 2024 21:22:13 -0400 (0:00:00.140) 0:03:37.157 ******** changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 25 October 2024 21:22:14 -0400 (0:00:00.979) 0:03:38.136 ******** changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-25 21:21:13 EDT", "ActiveEnterTimestampMonotonic": "809305298", "ActiveExitTimestamp": "Fri 2024-10-25 21:21:13 EDT", "ActiveExitTimestampMonotonic": "809050564", "ActiveState": "active", "After": "network.target basic.target systemd-journald.socket system.slice -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-25 21:21:13 EDT", "AssertTimestampMonotonic": "809303528", "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-10-25 21:21:13 EDT", "ConditionTimestampMonotonic": "809303526", "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": "25635", "ExecMainStartTimestamp": "Fri 2024-10-25 21:21:13 EDT", "ExecMainStartTimestampMonotonic": "809304198", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-10-25 21:21:13 EDT] ; stop_time=[n/a] ; pid=25635 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-10-25 21:21:13 EDT", "InactiveEnterTimestampMonotonic": "809302106", "InactiveExitTimestamp": "Fri 2024-10-25 21:21:13 EDT", "InactiveExitTimestampMonotonic": "809305298", "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": "25635", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-10-25 21:21:13 EDT", "WatchdogTimestampMonotonic": "809305148", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1393 Friday 25 October 2024 21:22:15 -0400 (0:00:01.023) 0:03:39.160 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1400 Friday 25 October 2024 21:22:16 -0400 (0:00:00.094) 0:03:39.255 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:131 Friday 25 October 2024 21:22:16 -0400 (0:00:00.086) 0:03:39.341 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node2 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 25 October 2024 21:22:16 -0400 (0:00:00.708) 0:03:40.050 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 25 October 2024 21:22:17 -0400 (0:00:00.147) 0:03:40.198 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 25 October 2024 21:22:17 -0400 (0:00:00.127) 0:03:40.326 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 25 October 2024 21:22:17 -0400 (0:00:00.128) 0:03:40.454 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 25 October 2024 21:22:17 -0400 (0:00:00.125) 0:03:40.580 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 25 October 2024 21:22:17 -0400 (0:00:00.107) 0:03:40.687 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 25 October 2024 21:22:17 -0400 (0:00:00.107) 0:03:40.795 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 25 October 2024 21:22:17 -0400 (0:00:00.090) 0:03:40.885 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 25 October 2024 21:22:17 -0400 (0:00:00.108) 0:03:40.994 ******** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 25 October 2024 21:22:18 -0400 (0:00:00.232) 0:03:41.227 ******** ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-25 21:22:15 EDT", "ActiveEnterTimestampMonotonic": "871145460", "ActiveExitTimestamp": "Fri 2024-10-25 21:22:15 EDT", "ActiveExitTimestampMonotonic": "870845402", "ActiveState": "active", "After": "network.target basic.target systemd-journald.socket system.slice -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-25 21:22:15 EDT", "AssertTimestampMonotonic": "871144550", "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-10-25 21:22:15 EDT", "ConditionTimestampMonotonic": "871144549", "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": "27993", "ExecMainStartTimestamp": "Fri 2024-10-25 21:22:15 EDT", "ExecMainStartTimestampMonotonic": "871145389", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-10-25 21:22:15 EDT] ; stop_time=[n/a] ; pid=27993 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-10-25 21:22:15 EDT", "InactiveEnterTimestampMonotonic": "871144035", "InactiveExitTimestamp": "Fri 2024-10-25 21:22:15 EDT", "InactiveExitTimestampMonotonic": "871145460", "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": "27993", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-10-25 21:22:15 EDT", "WatchdogTimestampMonotonic": "871145439", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 25 October 2024 21:22:19 -0400 (0:00:01.031) 0:03:42.259 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002990", "end": "2024-10-25 21:22:19.591613", "failed_when_result": false, "rc": 1, "start": "2024-10-25 21:22:19.588623" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 25 October 2024 21:22:19 -0400 (0:00:00.654) 0:03:42.913 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003174", "end": "2024-10-25 21:22:20.078587", "failed_when_result": false, "rc": 1, "start": "2024-10-25 21:22:20.075413" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 25 October 2024 21:22:20 -0400 (0:00:00.503) 0:03:43.417 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 25 October 2024 21:22:20 -0400 (0:00:00.156) 0:03:43.574 ******** ok: [managed-node2] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 6353, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 25 October 2024 21:22:21 -0400 (0:00:01.482) 0:03:45.056 ******** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.023902", "end": "2024-10-25 21:22:22.223855", "rc": 0, "start": "2024-10-25 21:22:22.199953" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 25 October 2024 21:22:22 -0400 (0:00:00.516) 0:03:45.572 ******** ok: [managed-node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 25 October 2024 21:22:22 -0400 (0:00:00.139) 0:03:45.712 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 25 October 2024 21:22:22 -0400 (0:00:00.127) 0:03:45.839 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 25 October 2024 21:22:22 -0400 (0:00:00.136) 0:03:45.975 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 25 October 2024 21:22:22 -0400 (0:00:00.124) 0:03:46.100 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 25 October 2024 21:22:23 -0400 (0:00:00.132) 0:03:46.232 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 25 October 2024 21:22:23 -0400 (0:00:00.120) 0:03:46.353 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 25 October 2024 21:22:23 -0400 (0:00:00.157) 0:03:46.511 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 25 October 2024 21:22:23 -0400 (0:00:00.266) 0:03:46.777 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 25 October 2024 21:22:23 -0400 (0:00:00.236) 0:03:47.014 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004531", "end": "2024-10-25 21:22:24.177715", "rc": 0, "start": "2024-10-25 21:22:24.173184" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.1hUFUd TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 25 October 2024 21:22:24 -0400 (0:00:00.493) 0:03:47.507 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 25 October 2024 21:22:24 -0400 (0:00:00.179) 0:03:47.687 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.1hUFUd] ***************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 25 October 2024 21:22:24 -0400 (0:00:00.143) 0:03:47.830 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 25 October 2024 21:22:24 -0400 (0:00:00.119) 0:03:47.949 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 25 October 2024 21:22:25 -0400 (0:00:00.235) 0:03:48.185 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004707", "end": "2024-10-25 21:22:25.334464", "rc": 0, "start": "2024-10-25 21:22:25.329757" } STDOUT: tlskey = /etc/pki/tls/private/ansible.w1fZ8P TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 25 October 2024 21:22:25 -0400 (0:00:00.491) 0:03:48.676 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 25 October 2024 21:22:25 -0400 (0:00:00.165) 0:03:48.842 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.w1fZ8P] *************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 25 October 2024 21:22:25 -0400 (0:00:00.147) 0:03:48.989 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 25 October 2024 21:22:25 -0400 (0:00:00.128) 0:03:49.118 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 25 October 2024 21:22:26 -0400 (0:00:00.247) 0:03:49.366 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004806", "end": "2024-10-25 21:22:26.525669", "rc": 0, "start": "2024-10-25 21:22:26.520863" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 25 October 2024 21:22:26 -0400 (0:00:00.501) 0:03:49.868 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 25 October 2024 21:22:26 -0400 (0:00:00.150) 0:03:50.018 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 25 October 2024 21:22:27 -0400 (0:00:00.266) 0:03:50.285 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 25 October 2024 21:22:27 -0400 (0:00:00.135) 0:03:50.421 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 25 October 2024 21:22:27 -0400 (0:00:00.244) 0:03:50.666 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004341", "end": "2024-10-25 21:22:27.848202", "rc": 0, "start": "2024-10-25 21:22:27.843861" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 25 October 2024 21:22:28 -0400 (0:00:00.509) 0:03:51.176 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 25 October 2024 21:22:28 -0400 (0:00:00.140) 0:03:51.316 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 25 October 2024 21:22:28 -0400 (0:00:00.163) 0:03:51.479 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 25 October 2024 21:22:28 -0400 (0:00:00.126) 0:03:51.605 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:137 Friday 25 October 2024 21:22:28 -0400 (0:00:00.132) 0:03:51.738 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/check_header.yml for managed-node2 TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/check_header.yml:4 Friday 25 October 2024 21:22:29 -0400 (0:00:00.720) 0:03:52.458 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003740", "end": "2024-10-25 21:22:29.868286", "rc": 0, "start": "2024-10-25 21:22:29.864546" } 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.1hUFUd tlskey = /etc/pki/tls/private/ansible.w1fZ8P tlsprotocols = 1.2 forceencryption = 1 TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:141 Friday 25 October 2024 21:22:30 -0400 (0:00:00.735) 0:03:53.193 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 25 October 2024 21:22:31 -0400 (0:00:01.486) 0:03:54.680 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 25 October 2024 21:22:31 -0400 (0:00:00.206) 0:03:54.887 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 25 October 2024 21:22:31 -0400 (0:00:00.139) 0:03:55.026 ******** ok: [managed-node2] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 25 October 2024 21:22:32 -0400 (0:00:00.153) 0:03:55.179 ******** ok: [managed-node2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 25 October 2024 21:22:32 -0400 (0:00:00.123) 0:03:55.302 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 25 October 2024 21:22:32 -0400 (0:00:00.118) 0:03:55.421 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 25 October 2024 21:22:32 -0400 (0:00:00.107) 0:03:55.528 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 25 October 2024 21:22:32 -0400 (0:00:00.104) 0:03:55.633 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 25 October 2024 21:22:32 -0400 (0:00:00.089) 0:03:55.722 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 25 October 2024 21:22:32 -0400 (0:00:00.088) 0:03:55.811 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 25 October 2024 21:22:32 -0400 (0:00:00.087) 0:03:55.899 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 25 October 2024 21:22:32 -0400 (0:00:00.260) 0:03:56.159 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 25 October 2024 21:22:33 -0400 (0:00:00.137) 0:03:56.297 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Friday 25 October 2024 21:22:33 -0400 (0:00:00.132) 0:03:56.430 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Friday 25 October 2024 21:22:33 -0400 (0:00:00.138) 0:03:56.568 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Friday 25 October 2024 21:22:33 -0400 (0:00:00.133) 0:03:56.702 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Friday 25 October 2024 21:22:33 -0400 (0:00:00.130) 0:03:56.833 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 25 October 2024 21:22:33 -0400 (0:00:00.130) 0:03:56.963 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 25 October 2024 21:22:33 -0400 (0:00:00.127) 0:03:57.091 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Friday 25 October 2024 21:22:34 -0400 (0:00:00.137) 0:03:57.228 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Friday 25 October 2024 21:22:34 -0400 (0:00:00.144) 0:03:57.373 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Friday 25 October 2024 21:22:35 -0400 (0:00:01.456) 0:03:58.830 ******** ok: [managed-node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 25 October 2024 21:22:35 -0400 (0:00:00.332) 0:03:59.163 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 25 October 2024 21:22:36 -0400 (0:00:00.135) 0:03:59.299 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Friday 25 October 2024 21:22:36 -0400 (0:00:00.309) 0:03:59.609 ******** skipping: [managed-node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Friday 25 October 2024 21:22:36 -0400 (0:00:00.233) 0:03:59.843 ******** ok: [managed-node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Friday 25 October 2024 21:22:37 -0400 (0:00:00.738) 0:04:00.582 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Friday 25 October 2024 21:22:37 -0400 (0:00:00.127) 0:04:00.709 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 25 October 2024 21:22:37 -0400 (0:00:00.137) 0:04:00.846 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Friday 25 October 2024 21:22:37 -0400 (0:00:00.141) 0:04:00.988 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 25 October 2024 21:22:37 -0400 (0:00:00.133) 0:04:01.122 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 25 October 2024 21:22:38 -0400 (0:00:00.140) 0:04:01.262 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Friday 25 October 2024 21:22:38 -0400 (0:00:00.131) 0:04:01.393 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 25 October 2024 21:22:38 -0400 (0:00:00.192) 0:04:01.586 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 25 October 2024 21:22:38 -0400 (0:00:00.139) 0:04:01.725 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 25 October 2024 21:22:39 -0400 (0:00:00.713) 0:04:02.439 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Friday 25 October 2024 21:22:39 -0400 (0:00:00.692) 0:04:03.131 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Friday 25 October 2024 21:22:40 -0400 (0:00:00.121) 0:04:03.253 ******** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005862", "end": "2024-10-25 21:22:40.417521", "rc": 0, "start": "2024-10-25 21:22:40.411659" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Friday 25 October 2024 21:22:40 -0400 (0:00:00.608) 0:04:03.861 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Friday 25 October 2024 21:22:41 -0400 (0:00:01.059) 0:04:04.921 ******** ok: [managed-node2] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Friday 25 October 2024 21:22:41 -0400 (0:00:00.123) 0:04:05.044 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Friday 25 October 2024 21:22:41 -0400 (0:00:00.093) 0:04:05.137 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Friday 25 October 2024 21:22:42 -0400 (0:00:00.104) 0:04:05.241 ******** skipping: [managed-node2] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Friday 25 October 2024 21:22:42 -0400 (0:00:00.164) 0:04:05.406 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Friday 25 October 2024 21:22:42 -0400 (0:00:00.131) 0:04:05.538 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Friday 25 October 2024 21:22:42 -0400 (0:00:00.148) 0:04:05.687 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 25 October 2024 21:22:43 -0400 (0:00:00.728) 0:04:06.415 ******** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-25 21:07:53 EDT", "ActiveEnterTimestampMonotonic": "8699554", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service basic.target dbus.service systemd-journald.socket system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-25 21:07:52 EDT", "AssertTimestampMonotonic": "7976802", "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-10-25 21:07:52 EDT", "ConditionTimestampMonotonic": "7976800", "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": "849", "ExecMainStartTimestamp": "Fri 2024-10-25 21:07:52 EDT", "ExecMainStartTimestampMonotonic": "7978826", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-10-25 21:07:52 EDT", "InactiveExitTimestampMonotonic": "7978862", "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": "849", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-10-25 21:07:53 EDT", "WatchdogTimestampMonotonic": "8699479", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 25 October 2024 21:22:43 -0400 (0:00:00.538) 0:04:06.953 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.093053", "end": "2024-10-25 21:22:44.189875", "rc": 0, "start": "2024-10-25 21:22:44.096822" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Friday 25 October 2024 21:22:44 -0400 (0:00:00.525) 0:04:07.478 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 25 October 2024 21:22:44 -0400 (0:00:00.241) 0:04:07.720 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Friday 25 October 2024 21:22:44 -0400 (0:00:00.159) 0:04:07.879 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Friday 25 October 2024 21:22:44 -0400 (0:00:00.123) 0:04:08.003 ******** ok: [managed-node2] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Friday 25 October 2024 21:22:45 -0400 (0:00:00.456) 0:04:08.460 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Friday 25 October 2024 21:22:45 -0400 (0:00:00.105) 0:04:08.566 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Friday 25 October 2024 21:22:46 -0400 (0:00:00.644) 0:04:09.210 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 25 October 2024 21:22:46 -0400 (0:00:00.141) 0:04:09.352 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Friday 25 October 2024 21:22:46 -0400 (0:00:00.132) 0:04:09.484 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 25 October 2024 21:22:46 -0400 (0:00:00.132) 0:04:09.617 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Friday 25 October 2024 21:22:46 -0400 (0:00:00.120) 0:04:09.737 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 25 October 2024 21:22:46 -0400 (0:00:00.144) 0:04:09.882 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 25 October 2024 21:22:46 -0400 (0:00:00.136) 0:04:10.018 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 25 October 2024 21:22:46 -0400 (0:00:00.126) 0:04:10.145 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Friday 25 October 2024 21:22:47 -0400 (0:00:00.128) 0:04:10.273 ******** ok: [managed-node2] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.004923", "end": "2024-10-25 21:22:47.443216", "rc": 0, "start": "2024-10-25 21:22:47.438293" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 25 October 2024 21:22:47 -0400 (0:00:00.471) 0:04:10.745 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Friday 25 October 2024 21:22:47 -0400 (0:00:00.094) 0:04:10.839 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Friday 25 October 2024 21:22:49 -0400 (0:00:01.533) 0:04:12.373 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 25 October 2024 21:22:49 -0400 (0:00:00.142) 0:04:12.515 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 25 October 2024 21:22:49 -0400 (0:00:00.138) 0:04:12.654 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Friday 25 October 2024 21:22:49 -0400 (0:00:00.114) 0:04:12.769 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Friday 25 October 2024 21:22:49 -0400 (0:00:00.106) 0:04:12.875 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:22:49 -0400 (0:00:00.193) 0:04:13.068 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004436", "end": "2024-10-25 21:22:50.244422", "failed_when_result": false, "rc": 1, "start": "2024-10-25 21:22:50.239986" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:22:50 -0400 (0:00:00.478) 0:04:13.547 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.052058", "end": "2024-10-25 21:22:50.716512", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:22:50.664454" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [fedora.linux_system_roles.mssql : Unset the setting network tcpport] ***** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:22:50 -0400 (0:00:00.522) 0:04:14.070 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Friday 25 October 2024 21:22:51 -0400 (0:00:00.139) 0:04:14.209 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 25 October 2024 21:22:51 -0400 (0:00:00.255) 0:04:14.464 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 25 October 2024 21:22:51 -0400 (0:00:00.094) 0:04:14.559 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 25 October 2024 21:22:51 -0400 (0:00:00.102) 0:04:14.662 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 25 October 2024 21:22:51 -0400 (0:00:00.139) 0:04:14.801 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 25 October 2024 21:22:51 -0400 (0:00:00.117) 0:04:14.919 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Friday 25 October 2024 21:22:51 -0400 (0:00:00.137) 0:04:15.057 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Friday 25 October 2024 21:22:52 -0400 (0:00:00.160) 0:04:15.217 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 25 October 2024 21:22:52 -0400 (0:00:00.124) 0:04:15.342 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Friday 25 October 2024 21:22:52 -0400 (0:00:00.132) 0:04:15.474 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Friday 25 October 2024 21:22:52 -0400 (0:00:00.117) 0:04:15.591 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Friday 25 October 2024 21:22:52 -0400 (0:00:00.109) 0:04:15.701 ******** skipping: [managed-node2] => (item=/tmp/ansible.1hUFUd) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.1hUFUd", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ansible.w1fZ8P) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.w1fZ8P", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Friday 25 October 2024 21:22:52 -0400 (0:00:00.118) 0:04:15.819 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:22:52 -0400 (0:00:00.233) 0:04:16.053 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003121", "end": "2024-10-25 21:22:53.228000", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:22:53.224879" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.1hUFUd TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:22:53 -0400 (0:00:00.464) 0:04:16.518 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlscert] ***** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:22:53 -0400 (0:00:00.105) 0:04:16.623 ******** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node2 changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.049139", "end": "2024-10-25 21:22:53.787399", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:22:53.738260" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Friday 25 October 2024 21:22:53 -0400 (0:00:00.457) 0:04:17.080 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:22:54 -0400 (0:00:00.305) 0:04:17.385 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003194", "end": "2024-10-25 21:22:54.532863", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:22:54.529669" } STDOUT: tlskey = /etc/pki/tls/private/ansible.w1fZ8P TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:22:54 -0400 (0:00:00.457) 0:04:17.843 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:22:54 -0400 (0:00:00.110) 0:04:17.954 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.049745", "end": "2024-10-25 21:22:55.160942", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:22:55.111197" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 25 October 2024 21:22:55 -0400 (0:00:00.505) 0:04:18.459 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:22:55 -0400 (0:00:00.184) 0:04:18.643 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003233", "end": "2024-10-25 21:22:55.771433", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:22:55.768200" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:22:55 -0400 (0:00:00.457) 0:04:19.100 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlsprotocols] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:22:56 -0400 (0:00:00.109) 0:04:19.210 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.048637", "end": "2024-10-25 21:22:56.381025", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:22:56.332388" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Friday 25 October 2024 21:22:56 -0400 (0:00:00.464) 0:04:19.674 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:22:56 -0400 (0:00:00.183) 0:04:19.858 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003444", "end": "2024-10-25 21:22:57.005905", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:22:57.002461" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:22:57 -0400 (0:00:00.481) 0:04:20.340 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network forceencryption] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:22:57 -0400 (0:00:00.135) 0:04:20.475 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.048836", "end": "2024-10-25 21:22:57.689168", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:22:57.640332" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Friday 25 October 2024 21:22:57 -0400 (0:00:00.636) 0:04:21.112 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Friday 25 October 2024 21:22:58 -0400 (0:00:00.094) 0:04:21.207 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 25 October 2024 21:22:58 -0400 (0:00:00.095) 0:04:21.302 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 25 October 2024 21:22:58 -0400 (0:00:00.112) 0:04:21.415 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Friday 25 October 2024 21:22:58 -0400 (0:00:00.114) 0:04:21.530 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Friday 25 October 2024 21:22:58 -0400 (0:00:00.097) 0:04:21.627 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Friday 25 October 2024 21:22:58 -0400 (0:00:00.091) 0:04:21.719 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Friday 25 October 2024 21:22:58 -0400 (0:00:00.095) 0:04:21.814 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Friday 25 October 2024 21:22:58 -0400 (0:00:00.095) 0:04:21.909 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Friday 25 October 2024 21:22:58 -0400 (0:00:00.091) 0:04:22.001 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Friday 25 October 2024 21:22:58 -0400 (0:00:00.092) 0:04:22.093 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Friday 25 October 2024 21:22:59 -0400 (0:00:00.091) 0:04:22.185 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Friday 25 October 2024 21:22:59 -0400 (0:00:00.090) 0:04:22.275 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Friday 25 October 2024 21:22:59 -0400 (0:00:00.088) 0:04:22.364 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Friday 25 October 2024 21:22:59 -0400 (0:00:00.094) 0:04:22.458 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Friday 25 October 2024 21:22:59 -0400 (0:00:00.097) 0:04:22.556 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Friday 25 October 2024 21:22:59 -0400 (0:00:00.089) 0:04:22.645 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Friday 25 October 2024 21:22:59 -0400 (0:00:00.212) 0:04:22.858 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 25 October 2024 21:22:59 -0400 (0:00:00.094) 0:04:22.953 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Friday 25 October 2024 21:22:59 -0400 (0:00:00.095) 0:04:23.049 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 25 October 2024 21:22:59 -0400 (0:00:00.092) 0:04:23.142 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Friday 25 October 2024 21:23:00 -0400 (0:00:00.094) 0:04:23.236 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 25 October 2024 21:23:00 -0400 (0:00:00.095) 0:04:23.331 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 25 October 2024 21:23:00 -0400 (0:00:00.089) 0:04:23.420 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Friday 25 October 2024 21:23:00 -0400 (0:00:00.105) 0:04:23.526 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Friday 25 October 2024 21:23:00 -0400 (0:00:00.090) 0:04:23.617 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Friday 25 October 2024 21:23:00 -0400 (0:00:00.093) 0:04:23.710 ******** skipping: [managed-node2] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Friday 25 October 2024 21:23:00 -0400 (0:00:00.111) 0:04:23.822 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Friday 25 October 2024 21:23:00 -0400 (0:00:00.090) 0:04:23.913 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 25 October 2024 21:23:00 -0400 (0:00:00.093) 0:04:24.007 ******** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 25 October 2024 21:23:00 -0400 (0:00:00.118) 0:04:24.125 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 25 October 2024 21:23:01 -0400 (0:00:00.133) 0:04:24.259 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1201 Friday 25 October 2024 21:23:01 -0400 (0:00:00.125) 0:04:24.385 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1211 Friday 25 October 2024 21:23:01 -0400 (0:00:00.134) 0:04:24.519 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Friday 25 October 2024 21:23:01 -0400 (0:00:00.152) 0:04:24.672 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1229 Friday 25 October 2024 21:23:01 -0400 (0:00:00.131) 0:04:24.804 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 25 October 2024 21:23:01 -0400 (0:00:00.292) 0:04:25.097 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1253 Friday 25 October 2024 21:23:02 -0400 (0:00:00.137) 0:04:25.235 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1262 Friday 25 October 2024 21:23:02 -0400 (0:00:00.133) 0:04:25.368 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1269 Friday 25 October 2024 21:23:02 -0400 (0:00:00.135) 0:04:25.503 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1276 Friday 25 October 2024 21:23:02 -0400 (0:00:00.135) 0:04:25.639 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1284 Friday 25 October 2024 21:23:02 -0400 (0:00:00.134) 0:04:25.774 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1291 Friday 25 October 2024 21:23:02 -0400 (0:00:00.137) 0:04:25.912 ******** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Friday 25 October 2024 21:23:02 -0400 (0:00:00.146) 0:04:26.059 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 25 October 2024 21:23:03 -0400 (0:00:00.114) 0:04:26.173 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Friday 25 October 2024 21:23:03 -0400 (0:00:00.105) 0:04:26.278 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1325 Friday 25 October 2024 21:23:03 -0400 (0:00:00.095) 0:04:26.374 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 25 October 2024 21:23:03 -0400 (0:00:00.132) 0:04:26.506 ******** skipping: [managed-node2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1346 Friday 25 October 2024 21:23:03 -0400 (0:00:00.131) 0:04:26.638 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Friday 25 October 2024 21:23:03 -0400 (0:00:00.108) 0:04:26.747 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Friday 25 October 2024 21:23:03 -0400 (0:00:00.111) 0:04:26.859 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1371 Friday 25 October 2024 21:23:03 -0400 (0:00:00.102) 0:04:26.962 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1380 Friday 25 October 2024 21:23:03 -0400 (0:00:00.122) 0:04:27.084 ******** changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 25 October 2024 21:23:04 -0400 (0:00:00.825) 0:04:27.909 ******** changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-25 21:22:15 EDT", "ActiveEnterTimestampMonotonic": "871145460", "ActiveExitTimestamp": "Fri 2024-10-25 21:22:15 EDT", "ActiveExitTimestampMonotonic": "870845402", "ActiveState": "active", "After": "network.target basic.target systemd-journald.socket system.slice -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-25 21:22:15 EDT", "AssertTimestampMonotonic": "871144550", "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-10-25 21:22:15 EDT", "ConditionTimestampMonotonic": "871144549", "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": "27993", "ExecMainStartTimestamp": "Fri 2024-10-25 21:22:15 EDT", "ExecMainStartTimestampMonotonic": "871145389", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-10-25 21:22:15 EDT] ; stop_time=[n/a] ; pid=27993 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-10-25 21:22:15 EDT", "InactiveEnterTimestampMonotonic": "871144035", "InactiveExitTimestamp": "Fri 2024-10-25 21:22:15 EDT", "InactiveExitTimestampMonotonic": "871145460", "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": "27993", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-10-25 21:22:15 EDT", "WatchdogTimestampMonotonic": "871145439", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1393 Friday 25 October 2024 21:23:05 -0400 (0:00:01.161) 0:04:29.070 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1400 Friday 25 October 2024 21:23:06 -0400 (0:00:00.138) 0:04:29.209 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:147 Friday 25 October 2024 21:23:06 -0400 (0:00:00.131) 0:04:29.341 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node2 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 25 October 2024 21:23:07 -0400 (0:00:00.981) 0:04:30.322 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 25 October 2024 21:23:07 -0400 (0:00:00.123) 0:04:30.446 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 25 October 2024 21:23:07 -0400 (0:00:00.131) 0:04:30.578 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 25 October 2024 21:23:07 -0400 (0:00:00.127) 0:04:30.705 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 25 October 2024 21:23:07 -0400 (0:00:00.128) 0:04:30.834 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 25 October 2024 21:23:07 -0400 (0:00:00.127) 0:04:30.962 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 25 October 2024 21:23:07 -0400 (0:00:00.137) 0:04:31.099 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 25 October 2024 21:23:08 -0400 (0:00:00.135) 0:04:31.235 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 25 October 2024 21:23:08 -0400 (0:00:00.126) 0:04:31.361 ******** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 25 October 2024 21:23:08 -0400 (0:00:00.399) 0:04:31.760 ******** ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-25 21:23:05 EDT", "ActiveEnterTimestampMonotonic": "920869228", "ActiveExitTimestamp": "Fri 2024-10-25 21:23:05 EDT", "ActiveExitTimestampMonotonic": "920635368", "ActiveState": "active", "After": "network.target basic.target systemd-journald.socket system.slice -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-25 21:23:05 EDT", "AssertTimestampMonotonic": "920867803", "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-10-25 21:23:05 EDT", "ConditionTimestampMonotonic": "920867802", "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": "30063", "ExecMainStartTimestamp": "Fri 2024-10-25 21:23:05 EDT", "ExecMainStartTimestampMonotonic": "920868633", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-10-25 21:23:05 EDT] ; stop_time=[n/a] ; pid=30063 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-10-25 21:23:05 EDT", "InactiveEnterTimestampMonotonic": "920867070", "InactiveExitTimestamp": "Fri 2024-10-25 21:23:05 EDT", "InactiveExitTimestampMonotonic": "920869228", "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": "30063", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-10-25 21:23:05 EDT", "WatchdogTimestampMonotonic": "920868674", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 25 October 2024 21:23:09 -0400 (0:00:00.736) 0:04:32.497 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002849", "end": "2024-10-25 21:23:09.666478", "failed_when_result": false, "rc": 1, "start": "2024-10-25 21:23:09.663629" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 25 October 2024 21:23:09 -0400 (0:00:00.502) 0:04:32.999 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003121", "end": "2024-10-25 21:23:10.212541", "failed_when_result": false, "rc": 1, "start": "2024-10-25 21:23:10.209420" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 25 October 2024 21:23:10 -0400 (0:00:00.549) 0:04:33.549 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 25 October 2024 21:23:10 -0400 (0:00:00.155) 0:04:33.704 ******** ok: [managed-node2] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 6263, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 25 October 2024 21:23:12 -0400 (0:00:01.570) 0:04:35.275 ******** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.023949", "end": "2024-10-25 21:23:12.503983", "rc": 0, "start": "2024-10-25 21:23:12.480034" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 25 October 2024 21:23:12 -0400 (0:00:00.623) 0:04:35.898 ******** ok: [managed-node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 25 October 2024 21:23:12 -0400 (0:00:00.253) 0:04:36.152 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 25 October 2024 21:23:13 -0400 (0:00:00.144) 0:04:36.296 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 25 October 2024 21:23:13 -0400 (0:00:00.150) 0:04:36.447 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 25 October 2024 21:23:13 -0400 (0:00:00.135) 0:04:36.582 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 25 October 2024 21:23:13 -0400 (0:00:00.126) 0:04:36.709 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 25 October 2024 21:23:13 -0400 (0:00:00.303) 0:04:37.012 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 25 October 2024 21:23:14 -0400 (0:00:00.164) 0:04:37.176 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 25 October 2024 21:23:14 -0400 (0:00:00.146) 0:04:37.323 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 25 October 2024 21:23:14 -0400 (0:00:00.261) 0:04:37.585 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004130", "end": "2024-10-25 21:23:14.838931", "rc": 0, "start": "2024-10-25 21:23:14.834801" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 25 October 2024 21:23:14 -0400 (0:00:00.565) 0:04:38.150 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 25 October 2024 21:23:15 -0400 (0:00:00.130) 0:04:38.280 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 25 October 2024 21:23:15 -0400 (0:00:00.103) 0:04:38.384 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 25 October 2024 21:23:15 -0400 (0:00:00.106) 0:04:38.490 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 25 October 2024 21:23:15 -0400 (0:00:00.242) 0:04:38.733 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004297", "end": "2024-10-25 21:23:15.901585", "rc": 0, "start": "2024-10-25 21:23:15.897288" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 25 October 2024 21:23:16 -0400 (0:00:00.503) 0:04:39.237 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 25 October 2024 21:23:16 -0400 (0:00:00.162) 0:04:39.400 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 25 October 2024 21:23:16 -0400 (0:00:00.145) 0:04:39.545 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 25 October 2024 21:23:16 -0400 (0:00:00.140) 0:04:39.686 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 25 October 2024 21:23:16 -0400 (0:00:00.252) 0:04:39.938 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004665", "end": "2024-10-25 21:23:17.097572", "rc": 0, "start": "2024-10-25 21:23:17.092907" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 25 October 2024 21:23:17 -0400 (0:00:00.650) 0:04:40.589 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 25 October 2024 21:23:17 -0400 (0:00:00.156) 0:04:40.745 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 25 October 2024 21:23:17 -0400 (0:00:00.145) 0:04:40.891 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 25 October 2024 21:23:17 -0400 (0:00:00.135) 0:04:41.027 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 25 October 2024 21:23:18 -0400 (0:00:00.250) 0:04:41.277 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004643", "end": "2024-10-25 21:23:18.454196", "rc": 0, "start": "2024-10-25 21:23:18.449553" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 25 October 2024 21:23:18 -0400 (0:00:00.510) 0:04:41.788 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 25 October 2024 21:23:18 -0400 (0:00:00.168) 0:04:41.956 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 25 October 2024 21:23:18 -0400 (0:00:00.152) 0:04:42.109 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 25 October 2024 21:23:19 -0400 (0:00:00.103) 0:04:42.212 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test with certs created by the certificate role] ************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:154 Friday 25 October 2024 21:23:19 -0400 (0:00:00.087) 0:04:42.300 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 25 October 2024 21:23:21 -0400 (0:00:02.314) 0:04:44.614 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 25 October 2024 21:23:21 -0400 (0:00:00.223) 0:04:44.838 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 25 October 2024 21:23:21 -0400 (0:00:00.160) 0:04:44.998 ******** ok: [managed-node2] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 25 October 2024 21:23:21 -0400 (0:00:00.165) 0:04:45.163 ******** ok: [managed-node2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 25 October 2024 21:23:22 -0400 (0:00:00.091) 0:04:45.255 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 25 October 2024 21:23:22 -0400 (0:00:00.091) 0:04:45.346 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 25 October 2024 21:23:22 -0400 (0:00:00.093) 0:04:45.440 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 25 October 2024 21:23:22 -0400 (0:00:00.127) 0:04:45.567 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 25 October 2024 21:23:22 -0400 (0:00:00.114) 0:04:45.682 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 25 October 2024 21:23:22 -0400 (0:00:00.122) 0:04:45.805 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 25 October 2024 21:23:22 -0400 (0:00:00.364) 0:04:46.170 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 25 October 2024 21:23:23 -0400 (0:00:00.173) 0:04:46.343 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 25 October 2024 21:23:23 -0400 (0:00:00.133) 0:04:46.477 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Friday 25 October 2024 21:23:23 -0400 (0:00:00.168) 0:04:46.645 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Friday 25 October 2024 21:23:23 -0400 (0:00:00.151) 0:04:46.796 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Friday 25 October 2024 21:23:23 -0400 (0:00:00.152) 0:04:46.948 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Friday 25 October 2024 21:23:23 -0400 (0:00:00.181) 0:04:47.130 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 25 October 2024 21:23:24 -0400 (0:00:00.175) 0:04:47.306 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 25 October 2024 21:23:24 -0400 (0:00:00.151) 0:04:47.457 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Friday 25 October 2024 21:23:24 -0400 (0:00:00.135) 0:04:47.592 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Friday 25 October 2024 21:23:24 -0400 (0:00:00.133) 0:04:47.726 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Friday 25 October 2024 21:23:26 -0400 (0:00:01.508) 0:04:49.234 ******** ok: [managed-node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 25 October 2024 21:23:26 -0400 (0:00:00.368) 0:04:49.603 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 25 October 2024 21:23:26 -0400 (0:00:00.132) 0:04:49.735 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Friday 25 October 2024 21:23:26 -0400 (0:00:00.334) 0:04:50.070 ******** skipping: [managed-node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Friday 25 October 2024 21:23:27 -0400 (0:00:00.247) 0:04:50.318 ******** ok: [managed-node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Friday 25 October 2024 21:23:27 -0400 (0:00:00.669) 0:04:50.987 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Friday 25 October 2024 21:23:27 -0400 (0:00:00.132) 0:04:51.120 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 25 October 2024 21:23:28 -0400 (0:00:00.139) 0:04:51.259 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Friday 25 October 2024 21:23:28 -0400 (0:00:00.135) 0:04:51.394 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 25 October 2024 21:23:28 -0400 (0:00:00.116) 0:04:51.511 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 25 October 2024 21:23:28 -0400 (0:00:00.126) 0:04:51.638 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Friday 25 October 2024 21:23:28 -0400 (0:00:00.120) 0:04:51.759 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 25 October 2024 21:23:28 -0400 (0:00:00.124) 0:04:51.884 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 25 October 2024 21:23:28 -0400 (0:00:00.089) 0:04:51.973 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 25 October 2024 21:23:29 -0400 (0:00:00.750) 0:04:52.724 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Friday 25 October 2024 21:23:30 -0400 (0:00:00.778) 0:04:53.502 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Friday 25 October 2024 21:23:30 -0400 (0:00:00.130) 0:04:53.633 ******** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005666", "end": "2024-10-25 21:23:30.813865", "rc": 0, "start": "2024-10-25 21:23:30.808199" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Friday 25 October 2024 21:23:31 -0400 (0:00:00.648) 0:04:54.281 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Friday 25 October 2024 21:23:33 -0400 (0:00:01.911) 0:04:56.192 ******** ok: [managed-node2] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Friday 25 October 2024 21:23:33 -0400 (0:00:00.222) 0:04:56.415 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Friday 25 October 2024 21:23:33 -0400 (0:00:00.131) 0:04:56.546 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Friday 25 October 2024 21:23:33 -0400 (0:00:00.171) 0:04:56.718 ******** skipping: [managed-node2] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Friday 25 October 2024 21:23:33 -0400 (0:00:00.162) 0:04:56.880 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Friday 25 October 2024 21:23:33 -0400 (0:00:00.167) 0:04:57.047 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Friday 25 October 2024 21:23:34 -0400 (0:00:00.155) 0:04:57.202 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 25 October 2024 21:23:34 -0400 (0:00:00.749) 0:04:57.952 ******** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-25 21:07:53 EDT", "ActiveEnterTimestampMonotonic": "8699554", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service basic.target dbus.service systemd-journald.socket system.slice network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-25 21:07:52 EDT", "AssertTimestampMonotonic": "7976802", "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-10-25 21:07:52 EDT", "ConditionTimestampMonotonic": "7976800", "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": "849", "ExecMainStartTimestamp": "Fri 2024-10-25 21:07:52 EDT", "ExecMainStartTimestampMonotonic": "7978826", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-10-25 21:07:52 EDT", "InactiveExitTimestampMonotonic": "7978862", "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": "849", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-10-25 21:07:53 EDT", "WatchdogTimestampMonotonic": "8699479", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 25 October 2024 21:23:35 -0400 (0:00:00.817) 0:04:58.770 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.095337", "end": "2024-10-25 21:23:36.068727", "rc": 0, "start": "2024-10-25 21:23:35.973390" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Friday 25 October 2024 21:23:36 -0400 (0:00:00.607) 0:04:59.378 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 25 October 2024 21:23:36 -0400 (0:00:00.111) 0:04:59.490 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Friday 25 October 2024 21:23:36 -0400 (0:00:00.129) 0:04:59.619 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Friday 25 October 2024 21:23:36 -0400 (0:00:00.163) 0:04:59.782 ******** ok: [managed-node2] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Friday 25 October 2024 21:23:37 -0400 (0:00:00.707) 0:05:00.490 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Friday 25 October 2024 21:23:37 -0400 (0:00:00.133) 0:05:00.623 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Friday 25 October 2024 21:23:38 -0400 (0:00:00.945) 0:05:01.569 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 25 October 2024 21:23:38 -0400 (0:00:00.140) 0:05:01.710 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Friday 25 October 2024 21:23:38 -0400 (0:00:00.127) 0:05:01.838 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 25 October 2024 21:23:38 -0400 (0:00:00.160) 0:05:01.998 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Friday 25 October 2024 21:23:38 -0400 (0:00:00.158) 0:05:02.157 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 25 October 2024 21:23:39 -0400 (0:00:00.186) 0:05:02.344 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 25 October 2024 21:23:39 -0400 (0:00:00.152) 0:05:02.497 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 25 October 2024 21:23:39 -0400 (0:00:00.158) 0:05:02.656 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Friday 25 October 2024 21:23:39 -0400 (0:00:00.200) 0:05:02.863 ******** ok: [managed-node2] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005435", "end": "2024-10-25 21:23:40.174061", "rc": 0, "start": "2024-10-25 21:23:40.168626" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 25 October 2024 21:23:40 -0400 (0:00:00.662) 0:05:03.526 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Friday 25 October 2024 21:23:40 -0400 (0:00:00.155) 0:05:03.681 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Friday 25 October 2024 21:23:42 -0400 (0:00:02.045) 0:05:05.726 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 25 October 2024 21:23:42 -0400 (0:00:00.280) 0:05:06.007 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 25 October 2024 21:23:42 -0400 (0:00:00.131) 0:05:06.139 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Friday 25 October 2024 21:23:43 -0400 (0:00:00.268) 0:05:06.408 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Friday 25 October 2024 21:23:43 -0400 (0:00:00.237) 0:05:06.646 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:23:43 -0400 (0:00:00.418) 0:05:07.072 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003205", "end": "2024-10-25 21:23:44.527619", "failed_when_result": false, "rc": 1, "start": "2024-10-25 21:23:44.524414" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:23:44 -0400 (0:00:00.805) 0:05:07.877 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.050365", "end": "2024-10-25 21:23:45.141371", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:23:45.091006" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [fedora.linux_system_roles.mssql : Unset the setting network tcpport] ***** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:23:45 -0400 (0:00:00.739) 0:05:08.617 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Friday 25 October 2024 21:23:45 -0400 (0:00:00.274) 0:05:08.891 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 25 October 2024 21:23:45 -0400 (0:00:00.255) 0:05:09.147 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 25 October 2024 21:23:46 -0400 (0:00:00.248) 0:05:09.396 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 25 October 2024 21:23:46 -0400 (0:00:00.201) 0:05:09.597 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 25 October 2024 21:23:46 -0400 (0:00:00.137) 0:05:09.734 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 25 October 2024 21:23:46 -0400 (0:00:00.153) 0:05:09.887 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Friday 25 October 2024 21:23:46 -0400 (0:00:00.147) 0:05:10.035 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Friday 25 October 2024 21:23:47 -0400 (0:00:00.169) 0:05:10.204 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 25 October 2024 21:23:47 -0400 (0:00:00.122) 0:05:10.327 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Friday 25 October 2024 21:23:47 -0400 (0:00:00.132) 0:05:10.459 ******** TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Friday 25 October 2024 21:23:47 -0400 (0:00:00.591) 0:05:11.050 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Friday 25 October 2024 21:23:48 -0400 (0:00:00.461) 0:05:11.511 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Friday 25 October 2024 21:23:48 -0400 (0:00:00.189) 0:05:11.701 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Friday 25 October 2024 21:23:49 -0400 (0:00:00.912) 0:05:12.613 ******** ok: [managed-node2] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Friday 25 October 2024 21:23:49 -0400 (0:00:00.250) 0:05:12.864 ******** skipping: [managed-node2] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__certificate_default_directory": "/etc/pki/tls", "__certificate_packages": [ "python-pyasn1", "python-cryptography", "python-dbus" ] }, "ansible_included_var_files": [ "/tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Friday 25 October 2024 21:23:50 -0400 (0:00:00.418) 0:05:13.282 ******** changed: [managed-node2] => { "changed": true, "changes": { "installed": [ "python-pyasn1", "python-cryptography" ] }, "rc": 0, "results": [ "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package python2-cryptography.x86_64 0:1.7.2-2.el7 will be installed\n--> Processing Dependency: python-idna >= 2.0 for package: python2-cryptography-1.7.2-2.el7.x86_64\n--> Processing Dependency: python-cffi >= 1.4.1 for package: python2-cryptography-1.7.2-2.el7.x86_64\n--> Processing Dependency: python-enum34 for package: python2-cryptography-1.7.2-2.el7.x86_64\n---> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed\n--> Running transaction check\n---> Package python-cffi.x86_64 0:1.6.0-5.el7 will be installed\n--> Processing Dependency: python-pycparser for package: python-cffi-1.6.0-5.el7.x86_64\n---> Package python-enum34.noarch 0:1.0.4-1.el7 will be installed\n---> Package python-idna.noarch 0:2.4-1.el7 will be installed\n--> Running transaction check\n---> Package python-pycparser.noarch 0:2.14-1.el7 will be installed\n--> Processing Dependency: python-ply for package: python-pycparser-2.14-1.el7.noarch\n--> Running transaction check\n---> Package python-ply.noarch 0:3.4-11.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n python2-cryptography x86_64 1.7.2-2.el7 base 502 k\n python2-pyasn1 noarch 0.1.9-7.el7 base 100 k\nInstalling for dependencies:\n python-cffi x86_64 1.6.0-5.el7 base 218 k\n python-enum34 noarch 1.0.4-1.el7 base 52 k\n python-idna noarch 2.4-1.el7 base 94 k\n python-ply noarch 3.4-11.el7 base 123 k\n python-pycparser noarch 2.14-1.el7 base 104 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+5 Dependent packages)\n\nTotal download size: 1.2 M\nInstalled size: 6.1 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 3.8 MB/s | 1.2 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python2-pyasn1-0.1.9-7.el7.noarch 1/7 \n Installing : python-enum34-1.0.4-1.el7.noarch 2/7 \n Installing : python-ply-3.4-11.el7.noarch 3/7 \n Installing : python-pycparser-2.14-1.el7.noarch 4/7 \n Installing : python-cffi-1.6.0-5.el7.x86_64 5/7 \n Installing : python-idna-2.4-1.el7.noarch 6/7 \n Installing : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \n Verifying : python-idna-2.4-1.el7.noarch 1/7 \n Verifying : python-pycparser-2.14-1.el7.noarch 2/7 \n Verifying : python-ply-3.4-11.el7.noarch 3/7 \n Verifying : python-cffi-1.6.0-5.el7.x86_64 4/7 \n Verifying : python-enum34-1.0.4-1.el7.noarch 5/7 \n Verifying : python2-pyasn1-0.1.9-7.el7.noarch 6/7 \n Verifying : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \n\nInstalled:\n python2-cryptography.x86_64 0:1.7.2-2.el7 python2-pyasn1.noarch 0:0.1.9-7.el7\n\nDependency Installed:\n python-cffi.x86_64 0:1.6.0-5.el7 python-enum34.noarch 0:1.0.4-1.el7 \n python-idna.noarch 0:2.4-1.el7 python-ply.noarch 0:3.4-11.el7 \n python-pycparser.noarch 0:2.14-1.el7 \n\nComplete!\n" ] } lsrpackages: python-cryptography python-dbus python-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Friday 25 October 2024 21:23:54 -0400 (0:00:04.744) 0:05:18.027 ******** changed: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "changes": { "installed": [ "certmonger" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package certmonger.x86_64 0:0.78.4-17.el7_9 will be installed\n--> Processing Dependency: psmisc for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtevent.so.0(TEVENT_0.9.9)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2(TALLOC_2.0.2)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_util.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_client.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtevent.so.0()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Running transaction check\n---> Package libtalloc.x86_64 0:2.1.16-1.el7 will be installed\n---> Package libtevent.x86_64 0:0.9.39-1.el7 will be installed\n---> Package psmisc.x86_64 0:22.20-17.el7 will be installed\n---> Package xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n---> Package xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n certmonger x86_64 0.78.4-17.el7_9 updates 608 k\nInstalling for dependencies:\n libtalloc x86_64 2.1.16-1.el7 base 33 k\n libtevent x86_64 0.9.39-1.el7 base 41 k\n psmisc x86_64 22.20-17.el7 base 141 k\n xmlrpc-c x86_64 1.32.5-1905.svn2451.el7 base 130 k\n xmlrpc-c-client x86_64 1.32.5-1905.svn2451.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+5 Dependent packages)\n\nTotal download size: 984 k\nInstalled size: 3.7 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 2.2 MB/s | 984 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Installing : libtalloc-2.1.16-1.el7.x86_64 2/6 \n Installing : libtevent-0.9.39-1.el7.x86_64 3/6 \n Installing : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Installing : psmisc-22.20-17.el7.x86_64 5/6 \n Installing : certmonger-0.78.4-17.el7_9.x86_64 6/6 \n Verifying : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Verifying : libtevent-0.9.39-1.el7.x86_64 2/6 \n Verifying : libtalloc-2.1.16-1.el7.x86_64 3/6 \n Verifying : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Verifying : certmonger-0.78.4-17.el7_9.x86_64 5/6 \n Verifying : psmisc-22.20-17.el7.x86_64 6/6 \n\nInstalled:\n certmonger.x86_64 0:0.78.4-17.el7_9 \n\nDependency Installed:\n libtalloc.x86_64 0:2.1.16-1.el7 \n libtevent.x86_64 0:0.9.39-1.el7 \n psmisc.x86_64 0:22.20-17.el7 \n xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 \n xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 \n\nComplete!\n" ] } lsrpackages: certmonger TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Friday 25 October 2024 21:23:59 -0400 (0:00:05.035) 0:05:23.062 ******** changed: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Friday 25 October 2024 21:24:00 -0400 (0:00:00.858) 0:05:23.921 ******** changed: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Friday 25 October 2024 21:24:01 -0400 (0:00:00.590) 0:05:24.512 ******** changed: [managed-node2] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "dbus.service systemd-journald.socket basic.target syslog.target network.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/certmonger.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Friday 25 October 2024 21:24:02 -0400 (0:00:00.885) 0:05:25.397 ******** changed: [managed-node2] => (item={u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.44.119', u'ca': u'self-sign', u'mode': u'0600'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "common_name": "10.31.44.119", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } } MSG: Certificate requested (new). File attributes updated. TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Friday 25 October 2024 21:24:04 -0400 (0:00:01.793) 0:05:27.191 ******** skipping: [managed-node2] => (item=[u'cert', {u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.44.119', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "common_name": "10.31.44.119", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=[u'key', {u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.44.119', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "common_name": "10.31.44.119", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } ], "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=[u'ca', {u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.44.119', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "common_name": "10.31.44.119", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } ], "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Create return data] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Friday 25 October 2024 21:24:04 -0400 (0:00:00.338) 0:05:27.529 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Friday 25 October 2024 21:24:04 -0400 (0:00:00.452) 0:05:27.981 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Friday 25 October 2024 21:24:04 -0400 (0:00:00.149) 0:05:28.131 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Friday 25 October 2024 21:24:05 -0400 (0:00:00.130) 0:05:28.261 ******** ok: [managed-node2] => { "ansible_facts": { "mssql_tls_cert": "mssql_2019_cert.crt", "mssql_tls_private_key": "mssql_2019_cert.key" }, "changed": false } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Friday 25 October 2024 21:24:05 -0400 (0:00:00.114) 0:05:28.375 ******** skipping: [managed-node2] => (item=mssql_2019_cert.crt) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.crt", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=mssql_2019_cert.key) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Friday 25 October 2024 21:24:05 -0400 (0:00:00.133) 0:05:28.509 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:24:05 -0400 (0:00:00.292) 0:05:28.801 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.005777", "end": "2024-10-25 21:24:07.228135", "failed_when_result": false, "rc": 1, "start": "2024-10-25 21:24:06.222358" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:24:07 -0400 (0:00:01.767) 0:05:30.569 ******** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node2 changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/mssql_2019_cert.crt" ], "delta": "0:00:00.049660", "end": "2024-10-25 21:24:07.984564", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:24:07.934904" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network tlscert] ***** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:24:08 -0400 (0:00:00.776) 0:05:31.346 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Friday 25 October 2024 21:24:08 -0400 (0:00:00.135) 0:05:31.482 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:24:08 -0400 (0:00:00.242) 0:05:31.724 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003089", "end": "2024-10-25 21:24:08.880148", "failed_when_result": false, "rc": 1, "start": "2024-10-25 21:24:08.877059" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:24:09 -0400 (0:00:00.460) 0:05:32.185 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/mssql_2019_cert.key" ], "delta": "0:00:00.049655", "end": "2024-10-25 21:24:09.422188", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:24:09.372533" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:24:09 -0400 (0:00:00.591) 0:05:32.776 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 25 October 2024 21:24:09 -0400 (0:00:00.129) 0:05:32.906 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:24:10 -0400 (0:00:00.575) 0:05:33.481 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003766", "end": "2024-10-25 21:24:10.970992", "failed_when_result": false, "rc": 1, "start": "2024-10-25 21:24:10.967226" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:24:11 -0400 (0:00:00.906) 0:05:34.388 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.050125", "end": "2024-10-25 21:24:11.696793", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:24:11.646668" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network tlsprotocols] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:24:11 -0400 (0:00:00.668) 0:05:35.056 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Friday 25 October 2024 21:24:12 -0400 (0:00:00.154) 0:05:35.211 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:24:12 -0400 (0:00:00.311) 0:05:35.523 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003126", "end": "2024-10-25 21:24:12.741124", "failed_when_result": false, "rc": 1, "start": "2024-10-25 21:24:12.737998" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:24:12 -0400 (0:00:00.586) 0:05:36.109 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.050852", "end": "2024-10-25 21:24:13.378375", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:24:13.327523" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Unset the setting network forceencryption] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:24:13 -0400 (0:00:00.621) 0:05:36.730 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Friday 25 October 2024 21:24:13 -0400 (0:00:00.144) 0:05:36.875 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Friday 25 October 2024 21:24:13 -0400 (0:00:00.221) 0:05:37.097 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 25 October 2024 21:24:14 -0400 (0:00:00.164) 0:05:37.261 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 25 October 2024 21:24:14 -0400 (0:00:00.196) 0:05:37.457 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Friday 25 October 2024 21:24:14 -0400 (0:00:00.138) 0:05:37.596 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Friday 25 October 2024 21:24:14 -0400 (0:00:00.265) 0:05:37.862 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Friday 25 October 2024 21:24:14 -0400 (0:00:00.205) 0:05:38.067 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Friday 25 October 2024 21:24:15 -0400 (0:00:00.341) 0:05:38.408 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Friday 25 October 2024 21:24:15 -0400 (0:00:00.148) 0:05:38.557 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Friday 25 October 2024 21:24:15 -0400 (0:00:00.132) 0:05:38.689 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Friday 25 October 2024 21:24:15 -0400 (0:00:00.167) 0:05:38.856 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Friday 25 October 2024 21:24:15 -0400 (0:00:00.131) 0:05:38.988 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Friday 25 October 2024 21:24:15 -0400 (0:00:00.174) 0:05:39.162 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Friday 25 October 2024 21:24:16 -0400 (0:00:00.191) 0:05:39.353 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Friday 25 October 2024 21:24:16 -0400 (0:00:00.129) 0:05:39.483 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Friday 25 October 2024 21:24:16 -0400 (0:00:00.135) 0:05:39.619 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Friday 25 October 2024 21:24:16 -0400 (0:00:00.094) 0:05:39.714 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Friday 25 October 2024 21:24:16 -0400 (0:00:00.129) 0:05:39.843 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 25 October 2024 21:24:16 -0400 (0:00:00.249) 0:05:40.092 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Friday 25 October 2024 21:24:17 -0400 (0:00:00.177) 0:05:40.270 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 25 October 2024 21:24:17 -0400 (0:00:00.140) 0:05:40.410 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Friday 25 October 2024 21:24:17 -0400 (0:00:00.147) 0:05:40.558 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 25 October 2024 21:24:17 -0400 (0:00:00.128) 0:05:40.687 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 25 October 2024 21:24:17 -0400 (0:00:00.171) 0:05:40.858 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Friday 25 October 2024 21:24:17 -0400 (0:00:00.200) 0:05:41.059 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Friday 25 October 2024 21:24:18 -0400 (0:00:00.174) 0:05:41.233 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Friday 25 October 2024 21:24:18 -0400 (0:00:00.351) 0:05:41.585 ******** skipping: [managed-node2] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Friday 25 October 2024 21:24:18 -0400 (0:00:00.262) 0:05:41.847 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Friday 25 October 2024 21:24:18 -0400 (0:00:00.255) 0:05:42.103 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 25 October 2024 21:24:19 -0400 (0:00:00.131) 0:05:42.234 ******** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 25 October 2024 21:24:19 -0400 (0:00:00.152) 0:05:42.386 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 25 October 2024 21:24:19 -0400 (0:00:00.092) 0:05:42.479 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1201 Friday 25 October 2024 21:24:19 -0400 (0:00:00.125) 0:05:42.604 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1211 Friday 25 October 2024 21:24:19 -0400 (0:00:00.125) 0:05:42.729 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Friday 25 October 2024 21:24:19 -0400 (0:00:00.134) 0:05:42.864 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1229 Friday 25 October 2024 21:24:19 -0400 (0:00:00.130) 0:05:42.995 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 25 October 2024 21:24:19 -0400 (0:00:00.133) 0:05:43.128 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1253 Friday 25 October 2024 21:24:20 -0400 (0:00:00.145) 0:05:43.273 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1262 Friday 25 October 2024 21:24:20 -0400 (0:00:00.150) 0:05:43.424 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1269 Friday 25 October 2024 21:24:20 -0400 (0:00:00.183) 0:05:43.607 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1276 Friday 25 October 2024 21:24:20 -0400 (0:00:00.181) 0:05:43.789 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1284 Friday 25 October 2024 21:24:20 -0400 (0:00:00.144) 0:05:43.933 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1291 Friday 25 October 2024 21:24:20 -0400 (0:00:00.149) 0:05:44.082 ******** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Friday 25 October 2024 21:24:21 -0400 (0:00:00.163) 0:05:44.246 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 25 October 2024 21:24:21 -0400 (0:00:00.132) 0:05:44.379 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Friday 25 October 2024 21:24:21 -0400 (0:00:00.147) 0:05:44.526 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1325 Friday 25 October 2024 21:24:21 -0400 (0:00:00.402) 0:05:44.929 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 25 October 2024 21:24:21 -0400 (0:00:00.141) 0:05:45.071 ******** skipping: [managed-node2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1346 Friday 25 October 2024 21:24:22 -0400 (0:00:00.132) 0:05:45.203 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Friday 25 October 2024 21:24:22 -0400 (0:00:00.122) 0:05:45.326 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Friday 25 October 2024 21:24:22 -0400 (0:00:00.099) 0:05:45.426 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1371 Friday 25 October 2024 21:24:22 -0400 (0:00:00.141) 0:05:45.568 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1380 Friday 25 October 2024 21:24:22 -0400 (0:00:00.132) 0:05:45.700 ******** changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 25 October 2024 21:24:23 -0400 (0:00:00.806) 0:05:46.507 ******** changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-25 21:23:05 EDT", "ActiveEnterTimestampMonotonic": "920869228", "ActiveExitTimestamp": "Fri 2024-10-25 21:23:05 EDT", "ActiveExitTimestampMonotonic": "920635368", "ActiveState": "active", "After": "auditd.service basic.target network.target systemd-journald.socket -.mount system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-25 21:23:05 EDT", "AssertTimestampMonotonic": "920867803", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-10-25 21:23:05 EDT", "ConditionTimestampMonotonic": "920867802", "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": "30063", "ExecMainStartTimestamp": "Fri 2024-10-25 21:23:05 EDT", "ExecMainStartTimestampMonotonic": "920868633", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-10-25 21:23:05 EDT", "InactiveEnterTimestampMonotonic": "920867070", "InactiveExitTimestamp": "Fri 2024-10-25 21:23:05 EDT", "InactiveExitTimestampMonotonic": "920869228", "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": "30063", "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-10-25 21:23:05 EDT", "WatchdogTimestampMonotonic": "920868674", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1393 Friday 25 October 2024 21:24:24 -0400 (0:00:01.083) 0:05:47.590 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1400 Friday 25 October 2024 21:24:24 -0400 (0:00:00.126) 0:05:47.717 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:168 Friday 25 October 2024 21:24:24 -0400 (0:00:00.128) 0:05:47.846 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node2 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 25 October 2024 21:24:26 -0400 (0:00:01.584) 0:05:49.430 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 25 October 2024 21:24:26 -0400 (0:00:00.172) 0:05:49.602 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 25 October 2024 21:24:26 -0400 (0:00:00.138) 0:05:49.740 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 25 October 2024 21:24:26 -0400 (0:00:00.144) 0:05:49.884 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 25 October 2024 21:24:26 -0400 (0:00:00.121) 0:05:50.006 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 25 October 2024 21:24:26 -0400 (0:00:00.096) 0:05:50.102 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 25 October 2024 21:24:27 -0400 (0:00:00.130) 0:05:50.233 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 25 October 2024 21:24:27 -0400 (0:00:00.131) 0:05:50.364 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 25 October 2024 21:24:27 -0400 (0:00:00.130) 0:05:50.495 ******** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 25 October 2024 21:24:27 -0400 (0:00:00.392) 0:05:50.887 ******** ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-25 21:24:24 EDT", "ActiveEnterTimestampMonotonic": "999521265", "ActiveExitTimestamp": "Fri 2024-10-25 21:24:23 EDT", "ActiveExitTimestampMonotonic": "999295975", "ActiveState": "active", "After": "auditd.service basic.target network.target systemd-journald.socket -.mount system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-25 21:24:24 EDT", "AssertTimestampMonotonic": "999520519", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-10-25 21:24:24 EDT", "ConditionTimestampMonotonic": "999520518", "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": "32637", "ExecMainStartTimestamp": "Fri 2024-10-25 21:24:24 EDT", "ExecMainStartTimestampMonotonic": "999521198", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-10-25 21:24:24 EDT] ; stop_time=[n/a] ; pid=32637 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-10-25 21:24:24 EDT", "InactiveEnterTimestampMonotonic": "999519254", "InactiveExitTimestamp": "Fri 2024-10-25 21:24:24 EDT", "InactiveExitTimestampMonotonic": "999521265", "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": "32637", "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-10-25 21:24:24 EDT", "WatchdogTimestampMonotonic": "999521247", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 25 October 2024 21:24:28 -0400 (0:00:00.974) 0:05:51.862 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003304", "end": "2024-10-25 21:24:29.074177", "failed_when_result": false, "rc": 1, "start": "2024-10-25 21:24:29.070873" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 25 October 2024 21:24:29 -0400 (0:00:00.528) 0:05:52.390 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003102", "end": "2024-10-25 21:24:29.651258", "failed_when_result": false, "rc": 1, "start": "2024-10-25 21:24:29.648156" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 25 October 2024 21:24:29 -0400 (0:00:00.590) 0:05:52.981 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 25 October 2024 21:24:29 -0400 (0:00:00.158) 0:05:53.139 ******** ok: [managed-node2] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 6363, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 25 October 2024 21:24:31 -0400 (0:00:01.496) 0:05:54.636 ******** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.024740", "end": "2024-10-25 21:24:31.798307", "rc": 0, "start": "2024-10-25 21:24:31.773567" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 25 October 2024 21:24:31 -0400 (0:00:00.464) 0:05:55.100 ******** ok: [managed-node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 25 October 2024 21:24:32 -0400 (0:00:00.139) 0:05:55.240 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 25 October 2024 21:24:32 -0400 (0:00:00.168) 0:05:55.409 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 25 October 2024 21:24:32 -0400 (0:00:00.257) 0:05:55.666 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 25 October 2024 21:24:32 -0400 (0:00:00.132) 0:05:55.799 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 25 October 2024 21:24:32 -0400 (0:00:00.148) 0:05:55.948 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 25 October 2024 21:24:32 -0400 (0:00:00.198) 0:05:56.147 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 25 October 2024 21:24:33 -0400 (0:00:00.194) 0:05:56.342 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 25 October 2024 21:24:33 -0400 (0:00:00.231) 0:05:56.573 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlscert] ************************************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 25 October 2024 21:24:33 -0400 (0:00:00.397) 0:05:56.970 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004237", "end": "2024-10-25 21:24:34.297701", "rc": 0, "start": "2024-10-25 21:24:34.293464" } STDOUT: tlscert = /etc/pki/tls/certs/mssql_2019_cert.crt TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 25 October 2024 21:24:34 -0400 (0:00:00.681) 0:05:57.652 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 25 October 2024 21:24:34 -0400 (0:00:00.168) 0:05:57.820 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/mssql_2019_cert.crt] ************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 25 October 2024 21:24:34 -0400 (0:00:00.140) 0:05:57.961 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 25 October 2024 21:24:35 -0400 (0:00:00.327) 0:05:58.288 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlskey] ************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 25 October 2024 21:24:35 -0400 (0:00:00.338) 0:05:58.626 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004637", "end": "2024-10-25 21:24:35.839740", "rc": 0, "start": "2024-10-25 21:24:35.835103" } STDOUT: tlskey = /etc/pki/tls/private/mssql_2019_cert.key TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 25 October 2024 21:24:36 -0400 (0:00:00.570) 0:05:59.197 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 25 October 2024 21:24:36 -0400 (0:00:00.168) 0:05:59.365 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/mssql_2019_cert.key] ********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 25 October 2024 21:24:36 -0400 (0:00:00.194) 0:05:59.559 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 25 October 2024 21:24:36 -0400 (0:00:00.287) 0:05:59.846 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting tlsprotocols] ******************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 25 October 2024 21:24:36 -0400 (0:00:00.317) 0:06:00.164 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004272", "end": "2024-10-25 21:24:37.418523", "rc": 0, "start": "2024-10-25 21:24:37.414251" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 25 October 2024 21:24:37 -0400 (0:00:00.636) 0:06:00.801 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 25 October 2024 21:24:37 -0400 (0:00:00.204) 0:06:01.006 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 25 October 2024 21:24:37 -0400 (0:00:00.152) 0:06:01.158 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 25 October 2024 21:24:38 -0400 (0:00:00.146) 0:06:01.305 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting forceencryption] **************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 25 October 2024 21:24:38 -0400 (0:00:00.294) 0:06:01.599 ******** ok: [managed-node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004734", "end": "2024-10-25 21:24:38.838541", "rc": 0, "start": "2024-10-25 21:24:38.833807" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 25 October 2024 21:24:39 -0400 (0:00:00.578) 0:06:02.178 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 25 October 2024 21:24:39 -0400 (0:00:00.134) 0:06:02.313 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 25 October 2024 21:24:39 -0400 (0:00:00.378) 0:06:02.692 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 25 October 2024 21:24:39 -0400 (0:00:00.132) 0:06:02.825 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:175 Friday 25 October 2024 21:24:39 -0400 (0:00:00.139) 0:06:02.964 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 25 October 2024 21:24:42 -0400 (0:00:02.584) 0:06:05.548 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 25 October 2024 21:24:43 -0400 (0:00:00.700) 0:06:06.249 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 25 October 2024 21:24:43 -0400 (0:00:00.194) 0:06:06.443 ******** ok: [managed-node2] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 25 October 2024 21:24:43 -0400 (0:00:00.235) 0:06:06.678 ******** ok: [managed-node2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 25 October 2024 21:24:43 -0400 (0:00:00.234) 0:06:06.913 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 25 October 2024 21:24:43 -0400 (0:00:00.216) 0:06:07.129 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 25 October 2024 21:24:44 -0400 (0:00:00.139) 0:06:07.269 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 25 October 2024 21:24:44 -0400 (0:00:00.133) 0:06:07.402 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 25 October 2024 21:24:44 -0400 (0:00:00.147) 0:06:07.549 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 25 October 2024 21:24:44 -0400 (0:00:00.131) 0:06:07.680 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 25 October 2024 21:24:44 -0400 (0:00:00.213) 0:06:07.894 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 25 October 2024 21:24:44 -0400 (0:00:00.220) 0:06:08.115 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 25 October 2024 21:24:45 -0400 (0:00:00.131) 0:06:08.247 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Friday 25 October 2024 21:24:45 -0400 (0:00:00.158) 0:06:08.406 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Friday 25 October 2024 21:24:45 -0400 (0:00:00.169) 0:06:08.575 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Friday 25 October 2024 21:24:45 -0400 (0:00:00.233) 0:06:08.809 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Friday 25 October 2024 21:24:45 -0400 (0:00:00.200) 0:06:09.009 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 25 October 2024 21:24:46 -0400 (0:00:00.169) 0:06:09.179 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 25 October 2024 21:24:46 -0400 (0:00:00.171) 0:06:09.351 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Friday 25 October 2024 21:24:46 -0400 (0:00:00.568) 0:06:09.919 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Friday 25 October 2024 21:24:46 -0400 (0:00:00.199) 0:06:10.119 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Friday 25 October 2024 21:24:48 -0400 (0:00:01.475) 0:06:11.595 ******** ok: [managed-node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 25 October 2024 21:24:48 -0400 (0:00:00.377) 0:06:11.972 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 25 October 2024 21:24:49 -0400 (0:00:00.248) 0:06:12.220 ******** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Friday 25 October 2024 21:24:49 -0400 (0:00:00.152) 0:06:12.373 ******** skipping: [managed-node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Friday 25 October 2024 21:24:49 -0400 (0:00:00.286) 0:06:12.660 ******** ok: [managed-node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Friday 25 October 2024 21:24:50 -0400 (0:00:01.095) 0:06:13.755 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Friday 25 October 2024 21:24:50 -0400 (0:00:00.163) 0:06:13.919 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 25 October 2024 21:24:50 -0400 (0:00:00.137) 0:06:14.056 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Friday 25 October 2024 21:24:51 -0400 (0:00:00.136) 0:06:14.193 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 25 October 2024 21:24:51 -0400 (0:00:00.130) 0:06:14.323 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 25 October 2024 21:24:51 -0400 (0:00:00.156) 0:06:14.480 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Friday 25 October 2024 21:24:51 -0400 (0:00:00.137) 0:06:14.617 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 25 October 2024 21:24:51 -0400 (0:00:00.178) 0:06:14.796 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 25 October 2024 21:24:51 -0400 (0:00:00.141) 0:06:14.938 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 25 October 2024 21:24:52 -0400 (0:00:01.207) 0:06:16.145 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Friday 25 October 2024 21:24:54 -0400 (0:00:01.042) 0:06:17.188 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Friday 25 October 2024 21:24:54 -0400 (0:00:00.256) 0:06:17.445 ******** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005432", "end": "2024-10-25 21:24:54.740226", "rc": 0, "start": "2024-10-25 21:24:54.734794" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Friday 25 October 2024 21:24:54 -0400 (0:00:00.721) 0:06:18.167 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Friday 25 October 2024 21:24:56 -0400 (0:00:01.516) 0:06:19.683 ******** ok: [managed-node2] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Friday 25 October 2024 21:24:56 -0400 (0:00:00.222) 0:06:19.906 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Friday 25 October 2024 21:24:56 -0400 (0:00:00.136) 0:06:20.043 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Friday 25 October 2024 21:24:57 -0400 (0:00:00.141) 0:06:20.185 ******** skipping: [managed-node2] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Friday 25 October 2024 21:24:57 -0400 (0:00:00.169) 0:06:20.354 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Friday 25 October 2024 21:24:57 -0400 (0:00:00.140) 0:06:20.494 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Friday 25 October 2024 21:24:57 -0400 (0:00:00.115) 0:06:20.609 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 25 October 2024 21:24:58 -0400 (0:00:00.860) 0:06:21.470 ******** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-25 21:07:53 EDT", "ActiveEnterTimestampMonotonic": "8699554", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service basic.target systemd-sysctl.service network.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-25 21:07:52 EDT", "AssertTimestampMonotonic": "7976802", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-10-25 21:07:52 EDT", "ConditionTimestampMonotonic": "7976800", "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": "849", "ExecMainStartTimestamp": "Fri 2024-10-25 21:07:52 EDT", "ExecMainStartTimestampMonotonic": "7978826", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-10-25 21:07:52 EDT", "InactiveExitTimestampMonotonic": "7978862", "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": "849", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service system.slice 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-10-25 21:07:53 EDT", "WatchdogTimestampMonotonic": "8699479", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 25 October 2024 21:24:59 -0400 (0:00:00.860) 0:06:22.330 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.098101", "end": "2024-10-25 21:24:59.658998", "rc": 0, "start": "2024-10-25 21:24:59.560897" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Friday 25 October 2024 21:24:59 -0400 (0:00:00.718) 0:06:23.049 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 25 October 2024 21:25:00 -0400 (0:00:00.525) 0:06:23.575 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Friday 25 October 2024 21:25:00 -0400 (0:00:00.175) 0:06:23.750 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Friday 25 October 2024 21:25:00 -0400 (0:00:00.165) 0:06:23.916 ******** ok: [managed-node2] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Friday 25 October 2024 21:25:01 -0400 (0:00:00.759) 0:06:24.676 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Friday 25 October 2024 21:25:01 -0400 (0:00:00.228) 0:06:24.904 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Friday 25 October 2024 21:25:02 -0400 (0:00:00.870) 0:06:25.775 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 25 October 2024 21:25:02 -0400 (0:00:00.133) 0:06:25.909 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Friday 25 October 2024 21:25:02 -0400 (0:00:00.169) 0:06:26.079 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 25 October 2024 21:25:03 -0400 (0:00:00.163) 0:06:26.242 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Friday 25 October 2024 21:25:03 -0400 (0:00:00.131) 0:06:26.374 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 25 October 2024 21:25:03 -0400 (0:00:00.105) 0:06:26.480 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 25 October 2024 21:25:03 -0400 (0:00:00.169) 0:06:26.649 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 25 October 2024 21:25:03 -0400 (0:00:00.227) 0:06:26.876 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Friday 25 October 2024 21:25:03 -0400 (0:00:00.152) 0:06:27.028 ******** ok: [managed-node2] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005648", "end": "2024-10-25 21:25:04.219528", "rc": 0, "start": "2024-10-25 21:25:04.213880" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 25 October 2024 21:25:04 -0400 (0:00:00.513) 0:06:27.542 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Friday 25 October 2024 21:25:04 -0400 (0:00:00.153) 0:06:27.695 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Friday 25 October 2024 21:25:06 -0400 (0:00:02.046) 0:06:29.741 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 25 October 2024 21:25:06 -0400 (0:00:00.174) 0:06:29.916 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 25 October 2024 21:25:06 -0400 (0:00:00.133) 0:06:30.050 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Friday 25 October 2024 21:25:07 -0400 (0:00:00.143) 0:06:30.194 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Friday 25 October 2024 21:25:07 -0400 (0:00:00.145) 0:06:30.340 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:25:07 -0400 (0:00:00.242) 0:06:30.583 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003054", "end": "2024-10-25 21:25:07.738594", "failed_when_result": false, "rc": 1, "start": "2024-10-25 21:25:07.735540" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:25:07 -0400 (0:00:00.547) 0:06:31.130 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.049937", "end": "2024-10-25 21:25:08.416658", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:25:08.366721" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [fedora.linux_system_roles.mssql : Unset the setting network tcpport] ***** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:25:08 -0400 (0:00:00.750) 0:06:31.880 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Friday 25 October 2024 21:25:08 -0400 (0:00:00.261) 0:06:32.142 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 25 October 2024 21:25:09 -0400 (0:00:00.195) 0:06:32.338 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 25 October 2024 21:25:09 -0400 (0:00:00.140) 0:06:32.478 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 25 October 2024 21:25:09 -0400 (0:00:00.328) 0:06:32.807 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 25 October 2024 21:25:09 -0400 (0:00:00.138) 0:06:32.946 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 25 October 2024 21:25:09 -0400 (0:00:00.133) 0:06:33.080 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Friday 25 October 2024 21:25:10 -0400 (0:00:00.114) 0:06:33.194 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Friday 25 October 2024 21:25:10 -0400 (0:00:00.105) 0:06:33.300 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 25 October 2024 21:25:10 -0400 (0:00:00.099) 0:06:33.400 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Friday 25 October 2024 21:25:10 -0400 (0:00:00.095) 0:06:33.495 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Friday 25 October 2024 21:25:10 -0400 (0:00:00.122) 0:06:33.618 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Friday 25 October 2024 21:25:10 -0400 (0:00:00.168) 0:06:33.786 ******** skipping: [managed-node2] => (item=mssql_2019_cert.crt) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.crt", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=mssql_2019_cert.key) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Friday 25 October 2024 21:25:10 -0400 (0:00:00.168) 0:06:33.954 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:25:11 -0400 (0:00:00.235) 0:06:34.190 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003307", "end": "2024-10-25 21:25:11.329909", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:25:11.326602" } STDOUT: tlscert = /etc/pki/tls/certs/mssql_2019_cert.crt TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:25:11 -0400 (0:00:00.473) 0:06:34.663 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlscert] ***** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:25:11 -0400 (0:00:00.150) 0:06:34.814 ******** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node2 changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.051178", "end": "2024-10-25 21:25:12.037195", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:25:11.986017" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Friday 25 October 2024 21:25:12 -0400 (0:00:00.575) 0:06:35.389 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:25:12 -0400 (0:00:00.347) 0:06:35.738 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003869", "end": "2024-10-25 21:25:13.039551", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:25:13.035682" } STDOUT: tlskey = /etc/pki/tls/private/mssql_2019_cert.key TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:25:13 -0400 (0:00:00.873) 0:06:36.611 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:25:13 -0400 (0:00:00.149) 0:06:36.760 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.048441", "end": "2024-10-25 21:25:13.970000", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:25:13.921559" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 25 October 2024 21:25:14 -0400 (0:00:00.544) 0:06:37.304 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:25:14 -0400 (0:00:00.275) 0:06:37.580 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003182", "end": "2024-10-25 21:25:14.723697", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:25:14.720515" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:25:14 -0400 (0:00:00.504) 0:06:38.085 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlsprotocols] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:25:15 -0400 (0:00:00.183) 0:06:38.269 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.049514", "end": "2024-10-25 21:25:15.522057", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:25:15.472543" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Friday 25 October 2024 21:25:15 -0400 (0:00:00.591) 0:06:38.860 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 25 October 2024 21:25:15 -0400 (0:00:00.221) 0:06:39.082 ******** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003545", "end": "2024-10-25 21:25:16.295236", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:25:16.291691" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 25 October 2024 21:25:16 -0400 (0:00:00.588) 0:06:39.671 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network forceencryption] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 25 October 2024 21:25:16 -0400 (0:00:00.151) 0:06:39.822 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.049658", "end": "2024-10-25 21:25:17.094715", "failed_when_result": false, "rc": 0, "start": "2024-10-25 21:25:17.045057" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Friday 25 October 2024 21:25:17 -0400 (0:00:00.598) 0:06:40.421 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Friday 25 October 2024 21:25:17 -0400 (0:00:00.096) 0:06:40.518 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 25 October 2024 21:25:17 -0400 (0:00:00.109) 0:06:40.627 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 25 October 2024 21:25:17 -0400 (0:00:00.371) 0:06:40.999 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Friday 25 October 2024 21:25:17 -0400 (0:00:00.121) 0:06:41.120 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Friday 25 October 2024 21:25:18 -0400 (0:00:00.103) 0:06:41.224 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Friday 25 October 2024 21:25:18 -0400 (0:00:00.101) 0:06:41.325 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Friday 25 October 2024 21:25:18 -0400 (0:00:00.097) 0:06:41.423 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Friday 25 October 2024 21:25:18 -0400 (0:00:00.115) 0:06:41.538 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Friday 25 October 2024 21:25:18 -0400 (0:00:00.123) 0:06:41.661 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Friday 25 October 2024 21:25:18 -0400 (0:00:00.132) 0:06:41.793 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Friday 25 October 2024 21:25:18 -0400 (0:00:00.133) 0:06:41.927 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Friday 25 October 2024 21:25:18 -0400 (0:00:00.127) 0:06:42.054 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Friday 25 October 2024 21:25:19 -0400 (0:00:00.137) 0:06:42.191 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Friday 25 October 2024 21:25:19 -0400 (0:00:00.230) 0:06:42.422 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Friday 25 October 2024 21:25:19 -0400 (0:00:00.240) 0:06:42.663 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Friday 25 October 2024 21:25:19 -0400 (0:00:00.171) 0:06:42.835 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Friday 25 October 2024 21:25:19 -0400 (0:00:00.168) 0:06:43.004 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 25 October 2024 21:25:19 -0400 (0:00:00.166) 0:06:43.171 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Friday 25 October 2024 21:25:20 -0400 (0:00:00.167) 0:06:43.339 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 25 October 2024 21:25:20 -0400 (0:00:00.136) 0:06:43.475 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Friday 25 October 2024 21:25:20 -0400 (0:00:00.131) 0:06:43.606 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 25 October 2024 21:25:20 -0400 (0:00:00.402) 0:06:44.009 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 25 October 2024 21:25:20 -0400 (0:00:00.150) 0:06:44.160 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Friday 25 October 2024 21:25:21 -0400 (0:00:00.176) 0:06:44.336 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Friday 25 October 2024 21:25:21 -0400 (0:00:00.163) 0:06:44.499 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Friday 25 October 2024 21:25:21 -0400 (0:00:00.147) 0:06:44.647 ******** skipping: [managed-node2] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Friday 25 October 2024 21:25:21 -0400 (0:00:00.204) 0:06:44.852 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Friday 25 October 2024 21:25:21 -0400 (0:00:00.139) 0:06:44.991 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 25 October 2024 21:25:22 -0400 (0:00:00.196) 0:06:45.188 ******** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 25 October 2024 21:25:22 -0400 (0:00:00.303) 0:06:45.491 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 25 October 2024 21:25:22 -0400 (0:00:00.137) 0:06:45.628 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1201 Friday 25 October 2024 21:25:22 -0400 (0:00:00.160) 0:06:45.789 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1211 Friday 25 October 2024 21:25:22 -0400 (0:00:00.156) 0:06:45.945 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Friday 25 October 2024 21:25:22 -0400 (0:00:00.160) 0:06:46.106 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1229 Friday 25 October 2024 21:25:23 -0400 (0:00:00.125) 0:06:46.231 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 25 October 2024 21:25:23 -0400 (0:00:00.131) 0:06:46.362 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1253 Friday 25 October 2024 21:25:23 -0400 (0:00:00.213) 0:06:46.575 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1262 Friday 25 October 2024 21:25:23 -0400 (0:00:00.228) 0:06:46.804 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1269 Friday 25 October 2024 21:25:23 -0400 (0:00:00.191) 0:06:46.996 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1276 Friday 25 October 2024 21:25:24 -0400 (0:00:00.181) 0:06:47.178 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1284 Friday 25 October 2024 21:25:24 -0400 (0:00:00.400) 0:06:47.579 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1291 Friday 25 October 2024 21:25:24 -0400 (0:00:00.181) 0:06:47.760 ******** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Friday 25 October 2024 21:25:24 -0400 (0:00:00.184) 0:06:47.944 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 25 October 2024 21:25:24 -0400 (0:00:00.100) 0:06:48.045 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Friday 25 October 2024 21:25:24 -0400 (0:00:00.112) 0:06:48.158 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1325 Friday 25 October 2024 21:25:25 -0400 (0:00:00.139) 0:06:48.297 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 25 October 2024 21:25:25 -0400 (0:00:00.113) 0:06:48.411 ******** skipping: [managed-node2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1346 Friday 25 October 2024 21:25:25 -0400 (0:00:00.134) 0:06:48.546 ******** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Friday 25 October 2024 21:25:25 -0400 (0:00:00.093) 0:06:48.639 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Friday 25 October 2024 21:25:25 -0400 (0:00:00.148) 0:06:48.788 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1371 Friday 25 October 2024 21:25:25 -0400 (0:00:00.265) 0:06:49.053 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1380 Friday 25 October 2024 21:25:26 -0400 (0:00:00.227) 0:06:49.280 ******** changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 25 October 2024 21:25:26 -0400 (0:00:00.774) 0:06:50.055 ******** changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-25 21:24:24 EDT", "ActiveEnterTimestampMonotonic": "999521265", "ActiveExitTimestamp": "Fri 2024-10-25 21:24:23 EDT", "ActiveExitTimestampMonotonic": "999295975", "ActiveState": "active", "After": "auditd.service basic.target network.target systemd-journald.socket -.mount system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-25 21:24:24 EDT", "AssertTimestampMonotonic": "999520519", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-10-25 21:24:24 EDT", "ConditionTimestampMonotonic": "999520518", "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": "32637", "ExecMainStartTimestamp": "Fri 2024-10-25 21:24:24 EDT", "ExecMainStartTimestampMonotonic": "999521198", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-10-25 21:24:24 EDT] ; stop_time=[n/a] ; pid=32637 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-10-25 21:24:24 EDT", "InactiveEnterTimestampMonotonic": "999519254", "InactiveExitTimestamp": "Fri 2024-10-25 21:24:24 EDT", "InactiveExitTimestampMonotonic": "999521265", "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": "32637", "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-10-25 21:24:24 EDT", "WatchdogTimestampMonotonic": "999521247", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1393 Friday 25 October 2024 21:25:28 -0400 (0:00:01.399) 0:06:51.454 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1400 Friday 25 October 2024 21:25:28 -0400 (0:00:00.236) 0:06:51.691 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up after the role invocation] ************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2017.yml:26 Friday 25 October 2024 21:25:28 -0400 (0:00:00.141) 0:06:51.833 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml for managed-node2 TASK [Gather package facts] **************************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Friday 25 October 2024 21:25:29 -0400 (0:00:00.522) 0:06:52.356 ******** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Purge cluster configuration] ********************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:6 Friday 25 October 2024 21:25:31 -0400 (0:00:02.070) 0:06:54.426 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:14 Friday 25 October 2024 21:25:31 -0400 (0:00:00.127) 0:06:54.554 ******** ok: [managed-node2] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:18 Friday 25 October 2024 21:25:31 -0400 (0:00:00.109) 0:06:54.663 ******** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 25 October 2024 21:25:31 -0400 (0:00:00.331) 0:06:54.995 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 25 October 2024 21:25:32 -0400 (0:00:00.282) 0:06:55.278 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 25 October 2024 21:25:32 -0400 (0:00:00.174) 0:06:55.452 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 25 October 2024 21:25:32 -0400 (0:00:00.444) 0:06:55.897 ******** ok: [managed-node2] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 25 October 2024 21:25:32 -0400 (0:00:00.143) 0:06:56.040 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 25 October 2024 21:25:33 -0400 (0:00:00.483) 0:06:56.523 ******** ok: [managed-node2] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 25 October 2024 21:25:33 -0400 (0:00:00.330) 0:06:56.853 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 25 October 2024 21:25:34 -0400 (0:00:00.710) 0:06:57.564 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 25 October 2024 21:25:34 -0400 (0:00:00.104) 0:06:57.668 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 25 October 2024 21:25:34 -0400 (0:00:00.123) 0:06:57.792 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 25 October 2024 21:25:34 -0400 (0:00:00.137) 0:06:57.929 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 25 October 2024 21:25:34 -0400 (0:00:00.134) 0:06:58.064 ******** skipping: [managed-node2] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 25 October 2024 21:25:35 -0400 (0:00:00.156) 0:06:58.220 ******** ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2024-10-25 21:12:17 EDT", "ActiveEnterTimestampMonotonic": "272771500", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service system.slice dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-25 21:12:17 EDT", "AssertTimestampMonotonic": "272466843", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-10-25 21:12:17 EDT", "ConditionTimestampMonotonic": "272466841", "Conflicts": "ipset.service ebtables.service iptables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9569", "ExecMainStartTimestamp": "Fri 2024-10-25 21:12:17 EDT", "ExecMainStartTimestampMonotonic": "272468099", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-10-25 21:12:17 EDT", "InactiveExitTimestampMonotonic": "272468130", "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": "9569", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-10-25 21:12:17 EDT", "WatchdogTimestampMonotonic": "272771426", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 25 October 2024 21:25:35 -0400 (0:00:00.632) 0:06:58.853 ******** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-10-25 21:12:17 EDT", "ActiveEnterTimestampMonotonic": "272771500", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service system.slice dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-10-25 21:12:17 EDT", "AssertTimestampMonotonic": "272466843", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-10-25 21:12:17 EDT", "ConditionTimestampMonotonic": "272466841", "Conflicts": "ipset.service ebtables.service iptables.service ip6tables.service shutdown.target", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9569", "ExecMainStartTimestamp": "Fri 2024-10-25 21:12:17 EDT", "ExecMainStartTimestampMonotonic": "272468099", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-10-25 21:12:17 EDT", "InactiveExitTimestampMonotonic": "272468130", "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": "9569", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-10-25 21:12:17 EDT", "WatchdogTimestampMonotonic": "272771426", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 25 October 2024 21:25:36 -0400 (0:00:00.638) 0:06:59.492 ******** ok: [managed-node2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 25 October 2024 21:25:36 -0400 (0:00:00.142) 0:06:59.634 ******** ok: [managed-node2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.44.119 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 25 October 2024 21:25:36 -0400 (0:00:00.497) 0:07:00.132 ******** ok: [managed-node2] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 25 October 2024 21:25:37 -0400 (0:00:00.139) 0:07:00.272 ******** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Friday 25 October 2024 21:25:37 -0400 (0:00:00.131) 0:07:00.404 ******** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Friday 25 October 2024 21:25:37 -0400 (0:00:00.156) 0:07:00.561 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Friday 25 October 2024 21:25:37 -0400 (0:00:00.139) 0:07:00.700 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Friday 25 October 2024 21:25:37 -0400 (0:00:00.320) 0:07:01.021 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Friday 25 October 2024 21:25:37 -0400 (0:00:00.134) 0:07:01.155 ******** ok: [managed-node2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.44.119 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Friday 25 October 2024 21:25:38 -0400 (0:00:00.503) 0:07:01.659 ******** ok: [managed-node2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Friday 25 October 2024 21:25:38 -0400 (0:00:00.146) 0:07:01.806 ******** skipping: [managed-node2] => {} TASK [Purge selinux configuration] ********************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:26 Friday 25 October 2024 21:25:38 -0400 (0:00:00.136) 0:07:01.942 ******** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 25 October 2024 21:25:39 -0400 (0:00:00.314) 0:07:02.257 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for managed-node2 TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 25 October 2024 21:25:39 -0400 (0:00:00.240) 0:07:02.498 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 25 October 2024 21:25:39 -0400 (0:00:00.197) 0:07:02.696 ******** included: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for managed-node2 TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Friday 25 October 2024 21:25:39 -0400 (0:00:00.252) 0:07:02.949 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Friday 25 October 2024 21:25:40 -0400 (0:00:00.497) 0:07:03.447 ******** ok: [managed-node2] => { "ansible_facts": { "__selinux_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Friday 25 October 2024 21:25:40 -0400 (0:00:00.143) 0:07:03.590 ******** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Friday 25 October 2024 21:25:40 -0400 (0:00:00.502) 0:07:04.093 ******** ok: [managed-node2] => { "ansible_facts": { "__selinux_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Friday 25 October 2024 21:25:41 -0400 (0:00:00.352) 0:07:04.446 ******** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } lsrpackages: libselinux-python policycoreutils-python TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Friday 25 October 2024 21:25:42 -0400 (0:00:00.770) 0:07:05.216 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Friday 25 October 2024 21:25:42 -0400 (0:00:00.136) 0:07:05.352 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Friday 25 October 2024 21:25:42 -0400 (0:00:00.136) 0:07:05.488 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Friday 25 October 2024 21:25:42 -0400 (0:00:00.152) 0:07:05.641 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Friday 25 October 2024 21:25:42 -0400 (0:00:00.142) 0:07:05.783 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is needed and not set] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Friday 25 October 2024 21:25:42 -0400 (0:00:00.163) 0:07:05.947 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Friday 25 October 2024 21:25:42 -0400 (0:00:00.139) 0:07:06.086 ******** ok: [managed-node2] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 25 October 2024 21:25:43 -0400 (0:00:00.731) 0:07:06.818 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Friday 25 October 2024 21:25:43 -0400 (0:00:00.152) 0:07:06.971 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Friday 25 October 2024 21:25:43 -0400 (0:00:00.131) 0:07:07.103 ******** ok: [managed-node2] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Friday 25 October 2024 21:25:44 -0400 (0:00:00.126) 0:07:07.229 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Friday 25 October 2024 21:25:44 -0400 (0:00:00.104) 0:07:07.334 ******** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Friday 25 October 2024 21:25:44 -0400 (0:00:00.099) 0:07:07.434 ******** NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for managed-node2 changed: [managed-node2] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:00.358967", "end": "2024-10-25 21:25:44.952171", "rc": 0, "start": "2024-10-25 21:25:44.593204" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Friday 25 October 2024 21:25:45 -0400 (0:00:00.980) 0:07:08.415 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 25 October 2024 21:25:45 -0400 (0:00:00.132) 0:07:08.547 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Friday 25 October 2024 21:25:45 -0400 (0:00:00.134) 0:07:08.681 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Friday 25 October 2024 21:25:45 -0400 (0:00:00.136) 0:07:08.818 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 25 October 2024 21:25:45 -0400 (0:00:00.137) 0:07:08.955 ******** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Friday 25 October 2024 21:25:45 -0400 (0:00:00.158) 0:07:09.114 ******** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Friday 25 October 2024 21:25:46 -0400 (0:00:00.126) 0:07:09.240 ******** TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Friday 25 October 2024 21:25:46 -0400 (0:00:00.112) 0:07:09.353 ******** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Friday 25 October 2024 21:25:46 -0400 (0:00:00.110) 0:07:09.463 ******** ok: [managed-node2] => { "ansible_facts": { "selinux_checksums": false, "selinux_installed_modules": { "abrt": { "100": { "checksum": "", "enabled": 1 } }, "accountsd": { "100": { "checksum": "", "enabled": 1 } }, "acct": { "100": { "checksum": "", "enabled": 1 } }, "afs": { "100": { "checksum": "", "enabled": 1 } }, "aiccu": { "100": { "checksum": "", "enabled": 1 } }, "aide": { "100": { "checksum": "", "enabled": 1 } }, "ajaxterm": { "100": { "checksum": "", "enabled": 1 } }, "alsa": { "100": { "checksum": "", "enabled": 1 } }, "amanda": { "100": { "checksum": "", "enabled": 1 } }, "amtu": { "100": { "checksum": "", "enabled": 1 } }, "anaconda": { "100": { "checksum": "", "enabled": 1 } }, "antivirus": { "100": { "checksum": "", "enabled": 1 } }, "apache": { "100": { "checksum": "", "enabled": 1 } }, "apcupsd": { "100": { "checksum": "", "enabled": 1 } }, "apm": { "100": { "checksum": "", "enabled": 1 } }, "application": { "100": { "checksum": "", "enabled": 1 } }, "arpwatch": { "100": { "checksum": "", "enabled": 1 } }, "asterisk": { "100": { "checksum": "", "enabled": 1 } }, "auditadm": { "100": { "checksum": "", "enabled": 1 } }, "authconfig": { "100": { "checksum": "", "enabled": 1 } }, "authlogin": { "100": { "checksum": "", "enabled": 1 } }, "automount": { "100": { "checksum": "", "enabled": 1 } }, "avahi": { "100": { "checksum": "", "enabled": 1 } }, "awstats": { "100": { "checksum": "", "enabled": 1 } }, "bacula": { "100": { "checksum": "", "enabled": 1 } }, "base": { "100": { "checksum": "", "enabled": 1 } }, "bcfg2": { "100": { "checksum": "", "enabled": 1 } }, "bind": { "100": { "checksum": "", "enabled": 1 } }, "bitlbee": { "100": { "checksum": "", "enabled": 1 } }, "blkmapd": { "100": { "checksum": "", "enabled": 1 } }, "blueman": { "100": { "checksum": "", "enabled": 1 } }, "bluetooth": { "100": { "checksum": "", "enabled": 1 } }, "boinc": { "100": { "checksum": "", "enabled": 1 } }, "boltd": { "100": { "checksum": "", "enabled": 1 } }, "bootloader": { "100": { "checksum": "", "enabled": 1 } }, "brctl": { "100": { "checksum": "", "enabled": 1 } }, "brltty": { "100": { "checksum": "", "enabled": 1 } }, "bugzilla": { "100": { "checksum": "", "enabled": 1 } }, "bumblebee": { "100": { "checksum": "", "enabled": 1 } }, "cachefilesd": { "100": { "checksum": "", "enabled": 1 } }, "calamaris": { "100": { "checksum": "", "enabled": 1 } }, "callweaver": { "100": { "checksum": "", "enabled": 1 } }, "canna": { "100": { "checksum": "", "enabled": 1 } }, "ccs": { "100": { "checksum": "", "enabled": 1 } }, "cdrecord": { "100": { "checksum": "", "enabled": 1 } }, "certmaster": { "100": { "checksum": "", "enabled": 1 } }, "certmonger": { "100": { "checksum": "", "enabled": 1 } }, "certwatch": { "100": { "checksum": "", "enabled": 1 } }, "cfengine": { "100": { "checksum": "", "enabled": 1 } }, "cgdcbxd": { "100": { "checksum": "", "enabled": 1 } }, "cgroup": { "100": { "checksum": "", "enabled": 1 } }, "chrome": { "100": { "checksum": "", "enabled": 1 } }, "chronyd": { "100": { "checksum": "", "enabled": 1 } }, "cinder": { "100": { "checksum": "", "enabled": 1 } }, "cipe": { "100": { "checksum": "", "enabled": 1 } }, "clock": { "100": { "checksum": "", "enabled": 1 } }, "clogd": { "100": { "checksum": "", "enabled": 1 } }, "cloudform": { "100": { "checksum": "", "enabled": 1 } }, "cmirrord": { "100": { "checksum": "", "enabled": 1 } }, "cobbler": { "100": { "checksum": "", "enabled": 1 } }, "cockpit": { "100": { "checksum": "", "enabled": 1 } }, "collectd": { "100": { "checksum": "", "enabled": 1 } }, "colord": { "100": { "checksum": "", "enabled": 1 } }, "comsat": { "100": { "checksum": "", "enabled": 1 } }, "condor": { "100": { "checksum": "", "enabled": 1 } }, "conman": { "100": { "checksum": "", "enabled": 1 } }, "consolekit": { "100": { "checksum": "", "enabled": 1 } }, "container": { "100": { "checksum": "", "enabled": 1 } }, "couchdb": { "100": { "checksum": "", "enabled": 1 } }, "courier": { "100": { "checksum": "", "enabled": 1 } }, "cpucontrol": { "100": { "checksum": "", "enabled": 1 } }, "cpufreqselector": { "100": { "checksum": "", "enabled": 1 } }, "cpuplug": { "100": { "checksum": "", "enabled": 1 } }, "cron": { "100": { "checksum": "", "enabled": 1 } }, "ctdb": { "100": { "checksum": "", "enabled": 1 } }, "cups": { "100": { "checksum": "", "enabled": 1 } }, "cvs": { "100": { "checksum": "", "enabled": 1 } }, "cyphesis": { "100": { "checksum": "", "enabled": 1 } }, "cyrus": { "100": { "checksum": "", "enabled": 1 } }, "daemontools": { "100": { "checksum": "", "enabled": 1 } }, "dbadm": { "100": { "checksum": "", "enabled": 1 } }, "dbskk": { "100": { "checksum": "", "enabled": 1 } }, "dbus": { "100": { "checksum": "", "enabled": 1 } }, "dcc": { "100": { "checksum": "", "enabled": 1 } }, "ddclient": { "100": { "checksum": "", "enabled": 1 } }, "denyhosts": { "100": { "checksum": "", "enabled": 1 } }, "devicekit": { "100": { "checksum": "", "enabled": 1 } }, "dhcp": { "100": { "checksum": "", "enabled": 1 } }, "dictd": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv-admin": { "100": { "checksum": "", "enabled": 1 } }, "dmesg": { "100": { "checksum": "", "enabled": 1 } }, "dmidecode": { "100": { "checksum": "", "enabled": 1 } }, "dnsmasq": { "100": { "checksum": "", "enabled": 1 } }, "dnssec": { "100": { "checksum": "", "enabled": 1 } }, "dovecot": { "100": { "checksum": "", "enabled": 1 } }, "drbd": { "100": { "checksum": "", "enabled": 1 } }, "dspam": { "100": { "checksum": "", "enabled": 1 } }, "entropyd": { "100": { "checksum": "", "enabled": 1 } }, "exim": { "100": { "checksum": "", "enabled": 1 } }, "fail2ban": { "100": { "checksum": "", "enabled": 1 } }, "fcoe": { "100": { "checksum": "", "enabled": 1 } }, "fetchmail": { "100": { "checksum": "", "enabled": 1 } }, "finger": { "100": { "checksum": "", "enabled": 1 } }, "firewalld": { "100": { "checksum": "", "enabled": 1 } }, "firewallgui": { "100": { "checksum": "", "enabled": 1 } }, "firstboot": { "100": { "checksum": "", "enabled": 1 } }, "fprintd": { "100": { "checksum": "", "enabled": 1 } }, "freeipmi": { "100": { "checksum": "", "enabled": 1 } }, "freqset": { "100": { "checksum": "", "enabled": 1 } }, "fstools": { "100": { "checksum": "", "enabled": 1 } }, "ftp": { "100": { "checksum": "", "enabled": 1 } }, "games": { "100": { "checksum": "", "enabled": 1 } }, "ganesha": { "100": { "checksum": "", "enabled": 1 } }, "gdomap": { "100": { "checksum": "", "enabled": 1 } }, "geoclue": { "100": { "checksum": "", "enabled": 1 } }, "getty": { "100": { "checksum": "", "enabled": 1 } }, "git": { "100": { "checksum": "", "enabled": 1 } }, "gitosis": { "100": { "checksum": "", "enabled": 1 } }, "glance": { "100": { "checksum": "", "enabled": 1 } }, "glusterd": { "100": { "checksum": "", "enabled": 1 } }, "gnome": { "100": { "checksum": "", "enabled": 1 } }, "gpg": { "100": { "checksum": "", "enabled": 1 } }, "gpm": { "100": { "checksum": "", "enabled": 1 } }, "gpsd": { "100": { "checksum": "", "enabled": 1 } }, "gssproxy": { "100": { "checksum": "", "enabled": 1 } }, "guest": { "100": { "checksum": "", "enabled": 1 } }, "hddtemp": { "100": { "checksum": "", "enabled": 1 } }, "hostname": { "100": { "checksum": "", "enabled": 1 } }, "hsqldb": { "100": { "checksum": "", "enabled": 1 } }, "hwloc": { "100": { "checksum": "", "enabled": 1 } }, "hypervkvp": { "100": { "checksum": "", "enabled": 1 } }, "icecast": { "100": { "checksum": "", "enabled": 1 } }, "inetd": { "100": { "checksum": "", "enabled": 1 } }, "init": { "100": { "checksum": "", "enabled": 1 } }, "inn": { "100": { "checksum": "", "enabled": 1 } }, "iodine": { "100": { "checksum": "", "enabled": 1 } }, "iotop": { "100": { "checksum": "", "enabled": 1 } }, "ipa": { "100": { "checksum": "", "enabled": 1 } }, "ipmievd": { "100": { "checksum": "", "enabled": 1 } }, "ipsec": { "100": { "checksum": "", "enabled": 1 } }, "iptables": { "100": { "checksum": "", "enabled": 1 } }, "irc": { "100": { "checksum": "", "enabled": 1 } }, "irqbalance": { "100": { "checksum": "", "enabled": 1 } }, "iscsi": { "100": { "checksum": "", "enabled": 1 } }, "isns": { "100": { "checksum": "", "enabled": 1 } }, "jabber": { "100": { "checksum": "", "enabled": 1 } }, "jetty": { "100": { "checksum": "", "enabled": 1 } }, "jockey": { "100": { "checksum": "", "enabled": 1 } }, "journalctl": { "100": { "checksum": "", "enabled": 1 } }, "kdump": { "100": { "checksum": "", "enabled": 1 } }, "kdumpgui": { "100": { "checksum": "", "enabled": 1 } }, "keepalived": { "100": { "checksum": "", "enabled": 1 } }, "kerberos": { "100": { "checksum": "", "enabled": 1 } }, "keyboardd": { "100": { "checksum": "", "enabled": 1 } }, "keystone": { "100": { "checksum": "", "enabled": 1 } }, "kismet": { "100": { "checksum": "", "enabled": 1 } }, "kmscon": { "100": { "checksum": "", "enabled": 1 } }, "kpatch": { "100": { "checksum": "", "enabled": 1 } }, "ksmtuned": { "100": { "checksum": "", "enabled": 1 } }, "ktalk": { "100": { "checksum": "", "enabled": 1 } }, "l2tp": { "100": { "checksum": "", "enabled": 1 } }, "ldap": { "100": { "checksum": "", "enabled": 1 } }, "libraries": { "100": { "checksum": "", "enabled": 1 } }, "likewise": { "100": { "checksum": "", "enabled": 1 } }, "linuxptp": { "100": { "checksum": "", "enabled": 1 } }, "lircd": { "100": { "checksum": "", "enabled": 1 } }, "livecd": { "100": { "checksum": "", "enabled": 1 } }, "lldpad": { "100": { "checksum": "", "enabled": 1 } }, "loadkeys": { "100": { "checksum": "", "enabled": 1 } }, "locallogin": { "100": { "checksum": "", "enabled": 1 } }, "lockdev": { "100": { "checksum": "", "enabled": 1 } }, "logadm": { "100": { "checksum": "", "enabled": 1 } }, "logging": { "100": { "checksum": "", "enabled": 1 } }, "logrotate": { "100": { "checksum": "", "enabled": 1 } }, "logwatch": { "100": { "checksum": "", "enabled": 1 } }, "lpd": { "100": { "checksum": "", "enabled": 1 } }, "lsm": { "100": { "checksum": "", "enabled": 1 } }, "lttng-tools": { "100": { "checksum": "", "enabled": 1 } }, "lvm": { "100": { "checksum": "", "enabled": 1 } }, "mailman": { "100": { "checksum": "", "enabled": 1 } }, "mailscanner": { "100": { "checksum": "", "enabled": 1 } }, "man2html": { "100": { "checksum": "", "enabled": 1 } }, "mandb": { "100": { "checksum": "", "enabled": 1 } }, "mcelog": { "100": { "checksum": "", "enabled": 1 } }, "mediawiki": { "100": { "checksum": "", "enabled": 1 } }, "memcached": { "100": { "checksum": "", "enabled": 1 } }, "milter": { "100": { "checksum": "", "enabled": 1 } }, "minidlna": { "100": { "checksum": "", "enabled": 1 } }, "minissdpd": { "100": { "checksum": "", "enabled": 1 } }, "mip6d": { "100": { "checksum": "", "enabled": 1 } }, "mirrormanager": { "100": { "checksum": "", "enabled": 1 } }, "miscfiles": { "100": { "checksum": "", "enabled": 1 } }, "mock": { "100": { "checksum": "", "enabled": 1 } }, "modemmanager": { "100": { "checksum": "", "enabled": 1 } }, "modutils": { "100": { "checksum": "", "enabled": 1 } }, "mojomojo": { "100": { "checksum": "", "enabled": 1 } }, "mon_statd": { "100": { "checksum": "", "enabled": 1 } }, "mongodb": { "100": { "checksum": "", "enabled": 1 } }, "motion": { "100": { "checksum": "", "enabled": 1 } }, "mount": { "100": { "checksum": "", "enabled": 1 } }, "mozilla": { "100": { "checksum": "", "enabled": 1 } }, "mpd": { "100": { "checksum": "", "enabled": 1 } }, "mplayer": { "100": { "checksum": "", "enabled": 1 } }, "mrtg": { "100": { "checksum": "", "enabled": 1 } }, "mta": { "100": { "checksum": "", "enabled": 1 } }, "munin": { "100": { "checksum": "", "enabled": 1 } }, "mysql": { "100": { "checksum": "", "enabled": 1 } }, "mythtv": { "100": { "checksum": "", "enabled": 1 } }, "nagios": { "100": { "checksum": "", "enabled": 1 } }, "namespace": { "100": { "checksum": "", "enabled": 1 } }, "ncftool": { "100": { "checksum": "", "enabled": 1 } }, "netlabel": { "100": { "checksum": "", "enabled": 1 } }, "netutils": { "100": { "checksum": "", "enabled": 1 } }, "networkmanager": { "100": { "checksum": "", "enabled": 1 } }, "ninfod": { "100": { "checksum": "", "enabled": 1 } }, "nis": { "100": { "checksum": "", "enabled": 1 } }, "nova": { "100": { "checksum": "", "enabled": 1 } }, "nscd": { "100": { "checksum": "", "enabled": 1 } }, "nsd": { "100": { "checksum": "", "enabled": 1 } }, "nslcd": { "100": { "checksum": "", "enabled": 1 } }, "ntop": { "100": { "checksum": "", "enabled": 1 } }, "ntp": { "100": { "checksum": "", "enabled": 1 } }, "numad": { "100": { "checksum": "", "enabled": 1 } }, "nut": { "100": { "checksum": "", "enabled": 1 } }, "nx": { "100": { "checksum": "", "enabled": 1 } }, "obex": { "100": { "checksum": "", "enabled": 1 } }, "oddjob": { "100": { "checksum": "", "enabled": 1 } }, "openct": { "100": { "checksum": "", "enabled": 1 } }, "opendnssec": { "100": { "checksum": "", "enabled": 1 } }, "openhpid": { "100": { "checksum": "", "enabled": 1 } }, "openshift": { "100": { "checksum": "", "enabled": 1 } }, "openshift-origin": { "100": { "checksum": "", "enabled": 1 } }, "opensm": { "100": { "checksum": "", "enabled": 1 } }, "openvpn": { "100": { "checksum": "", "enabled": 1 } }, "openvswitch": { "100": { "checksum": "", "enabled": 1 } }, "openwsman": { "100": { "checksum": "", "enabled": 1 } }, "oracleasm": { "100": { "checksum": "", "enabled": 1 } }, "osad": { "100": { "checksum": "", "enabled": 1 } }, "pads": { "100": { "checksum": "", "enabled": 1 } }, "passenger": { "100": { "checksum": "", "enabled": 1 } }, "pcmcia": { "100": { "checksum": "", "enabled": 1 } }, "pcp": { "100": { "checksum": "", "enabled": 1 } }, "pcscd": { "100": { "checksum": "", "enabled": 1 } }, "pegasus": { "100": { "checksum": "", "enabled": 1 } }, "permissivedomains": { "100": { "checksum": "", "enabled": 1 } }, "pesign": { "100": { "checksum": "", "enabled": 1 } }, "pingd": { "100": { "checksum": "", "enabled": 1 } }, "piranha": { "100": { "checksum": "", "enabled": 1 } }, "pkcs": { "100": { "checksum": "", "enabled": 1 } }, "pki": { "100": { "checksum": "", "enabled": 1 } }, "plymouthd": { "100": { "checksum": "", "enabled": 1 } }, "podsleuth": { "100": { "checksum": "", "enabled": 1 } }, "policykit": { "100": { "checksum": "", "enabled": 1 } }, "polipo": { "100": { "checksum": "", "enabled": 1 } }, "portmap": { "100": { "checksum": "", "enabled": 1 } }, "portreserve": { "100": { "checksum": "", "enabled": 1 } }, "postfix": { "100": { "checksum": "", "enabled": 1 } }, "postgresql": { "100": { "checksum": "", "enabled": 1 } }, "postgrey": { "100": { "checksum": "", "enabled": 1 } }, "ppp": { "100": { "checksum": "", "enabled": 1 } }, "prelink": { "100": { "checksum": "", "enabled": 1 } }, "prelude": { "100": { "checksum": "", "enabled": 1 } }, "privoxy": { "100": { "checksum": "", "enabled": 1 } }, "procmail": { "100": { "checksum": "", "enabled": 1 } }, "prosody": { "100": { "checksum": "", "enabled": 1 } }, "psad": { "100": { "checksum": "", "enabled": 1 } }, "ptchown": { "100": { "checksum": "", "enabled": 1 } }, "publicfile": { "100": { "checksum": "", "enabled": 1 } }, "pulseaudio": { "100": { "checksum": "", "enabled": 1 } }, "puppet": { "100": { "checksum": "", "enabled": 1 } }, "pwauth": { "100": { "checksum": "", "enabled": 1 } }, "qmail": { "100": { "checksum": "", "enabled": 1 } }, "qpid": { "100": { "checksum": "", "enabled": 1 } }, "quantum": { "100": { "checksum": "", "enabled": 1 } }, "quota": { "100": { "checksum": "", "enabled": 1 } }, "rabbitmq": { "100": { "checksum": "", "enabled": 1 } }, "radius": { "100": { "checksum": "", "enabled": 1 } }, "radvd": { "100": { "checksum": "", "enabled": 1 } }, "raid": { "100": { "checksum": "", "enabled": 1 } }, "rasdaemon": { "100": { "checksum": "", "enabled": 1 } }, "rdisc": { "100": { "checksum": "", "enabled": 1 } }, "readahead": { "100": { "checksum": "", "enabled": 1 } }, "realmd": { "100": { "checksum": "", "enabled": 1 } }, "redis": { "100": { "checksum": "", "enabled": 1 } }, "remotelogin": { "100": { "checksum": "", "enabled": 1 } }, "restraint": { "400": { "checksum": "", "enabled": 1 } }, "rhcs": { "100": { "checksum": "", "enabled": 1 } }, "rhev": { "100": { "checksum": "", "enabled": 1 } }, "rhgb": { "100": { "checksum": "", "enabled": 1 } }, "rhnsd": { "100": { "checksum": "", "enabled": 1 } }, "rhsmcertd": { "100": { "checksum": "", "enabled": 1 } }, "rhts": { "400": { "checksum": "", "enabled": 1 } }, "ricci": { "100": { "checksum": "", "enabled": 1 } }, "rkhunter": { "100": { "checksum": "", "enabled": 1 } }, "rlogin": { "100": { "checksum": "", "enabled": 1 } }, "rngd": { "100": { "checksum": "", "enabled": 1 } }, "roundup": { "100": { "checksum": "", "enabled": 1 } }, "rpc": { "100": { "checksum": "", "enabled": 1 } }, "rpcbind": { "100": { "checksum": "", "enabled": 1 } }, "rpm": { "100": { "checksum": "", "enabled": 1 } }, "rshd": { "100": { "checksum": "", "enabled": 1 } }, "rssh": { "100": { "checksum": "", "enabled": 1 } }, "rsync": { "100": { "checksum": "", "enabled": 1 } }, "rtas": { "100": { "checksum": "", "enabled": 1 } }, "rtkit": { "100": { "checksum": "", "enabled": 1 } }, "rwho": { "100": { "checksum": "", "enabled": 1 } }, "samba": { "100": { "checksum": "", "enabled": 1 } }, "sambagui": { "100": { "checksum": "", "enabled": 1 } }, "sandboxX": { "100": { "checksum": "", "enabled": 1 } }, "sanlock": { "100": { "checksum": "", "enabled": 1 } }, "sasl": { "100": { "checksum": "", "enabled": 1 } }, "sbd": { "100": { "checksum": "", "enabled": 1 } }, "sblim": { "100": { "checksum": "", "enabled": 1 } }, "screen": { "100": { "checksum": "", "enabled": 1 } }, "secadm": { "100": { "checksum": "", "enabled": 1 } }, "sectoolm": { "100": { "checksum": "", "enabled": 1 } }, "selinuxutil": { "100": { "checksum": "", "enabled": 1 } }, "sendmail": { "100": { "checksum": "", "enabled": 1 } }, "sensord": { "100": { "checksum": "", "enabled": 1 } }, "setrans": { "100": { "checksum": "", "enabled": 1 } }, "setroubleshoot": { "100": { "checksum": "", "enabled": 1 } }, "seunshare": { "100": { "checksum": "", "enabled": 1 } }, "sge": { "100": { "checksum": "", "enabled": 1 } }, "shorewall": { "100": { "checksum": "", "enabled": 1 } }, "slocate": { "100": { "checksum": "", "enabled": 1 } }, "slpd": { "100": { "checksum": "", "enabled": 1 } }, "smartmon": { "100": { "checksum": "", "enabled": 1 } }, "smokeping": { "100": { "checksum": "", "enabled": 1 } }, "smoltclient": { "100": { "checksum": "", "enabled": 1 } }, "smsd": { "100": { "checksum": "", "enabled": 1 } }, "snapper": { "100": { "checksum": "", "enabled": 1 } }, "snmp": { "100": { "checksum": "", "enabled": 1 } }, "snort": { "100": { "checksum": "", "enabled": 1 } }, "sosreport": { "100": { "checksum": "", "enabled": 1 } }, "soundserver": { "100": { "checksum": "", "enabled": 1 } }, "spamassassin": { "100": { "checksum": "", "enabled": 1 } }, "speech-dispatcher": { "100": { "checksum": "", "enabled": 1 } }, "squid": { "100": { "checksum": "", "enabled": 1 } }, "ssh": { "100": { "checksum": "", "enabled": 1 } }, "sssd": { "100": { "checksum": "", "enabled": 1 } }, "staff": { "100": { "checksum": "", "enabled": 1 } }, "stapserver": { "100": { "checksum": "", "enabled": 1 } }, "stunnel": { "100": { "checksum": "", "enabled": 1 } }, "su": { "100": { "checksum": "", "enabled": 1 } }, "sudo": { "100": { "checksum": "", "enabled": 1 } }, "svnserve": { "100": { "checksum": "", "enabled": 1 } }, "swift": { "100": { "checksum": "", "enabled": 1 } }, "sysadm": { "100": { "checksum": "", "enabled": 1 } }, "sysadm_secadm": { "100": { "checksum": "", "enabled": 1 } }, "sysnetwork": { "100": { "checksum": "", "enabled": 1 } }, "sysstat": { "100": { "checksum": "", "enabled": 1 } }, "systemd": { "100": { "checksum": "", "enabled": 1 } }, "tangd": { "100": { "checksum": "", "enabled": 1 } }, "targetd": { "100": { "checksum": "", "enabled": 1 } }, "tcpd": { "100": { "checksum": "", "enabled": 1 } }, "tcsd": { "100": { "checksum": "", "enabled": 1 } }, "telepathy": { "100": { "checksum": "", "enabled": 1 } }, "telnet": { "100": { "checksum": "", "enabled": 1 } }, "tftp": { "100": { "checksum": "", "enabled": 1 } }, "tgtd": { "100": { "checksum": "", "enabled": 1 } }, "thin": { "100": { "checksum": "", "enabled": 1 } }, "thumb": { "100": { "checksum": "", "enabled": 1 } }, "tlp": { "100": { "checksum": "", "enabled": 1 } }, "tmpreaper": { "100": { "checksum": "", "enabled": 1 } }, "tomcat": { "100": { "checksum": "", "enabled": 1 } }, "tor": { "100": { "checksum": "", "enabled": 1 } }, "tuned": { "100": { "checksum": "", "enabled": 1 } }, "tvtime": { "100": { "checksum": "", "enabled": 1 } }, "udev": { "100": { "checksum": "", "enabled": 1 } }, "ulogd": { "100": { "checksum": "", "enabled": 1 } }, "uml": { "100": { "checksum": "", "enabled": 1 } }, "unconfined": { "100": { "checksum": "", "enabled": 1 } }, "unconfineduser": { "100": { "checksum": "", "enabled": 1 } }, "unlabelednet": { "100": { "checksum": "", "enabled": 1 } }, "unprivuser": { "100": { "checksum": "", "enabled": 1 } }, "updfstab": { "100": { "checksum": "", "enabled": 1 } }, "usbmodules": { "100": { "checksum": "", "enabled": 1 } }, "usbmuxd": { "100": { "checksum": "", "enabled": 1 } }, "userdomain": { "100": { "checksum": "", "enabled": 1 } }, "userhelper": { "100": { "checksum": "", "enabled": 1 } }, "usermanage": { "100": { "checksum": "", "enabled": 1 } }, "usernetctl": { "100": { "checksum": "", "enabled": 1 } }, "uucp": { "100": { "checksum": "", "enabled": 1 } }, "uuidd": { "100": { "checksum": "", "enabled": 1 } }, "varnishd": { "100": { "checksum": "", "enabled": 1 } }, "vdagent": { "100": { "checksum": "", "enabled": 1 } }, "vhostmd": { "100": { "checksum": "", "enabled": 1 } }, "virt": { "100": { "checksum": "", "enabled": 1 } }, "vlock": { "100": { "checksum": "", "enabled": 1 } }, "vmtools": { "100": { "checksum": "", "enabled": 1 } }, "vmware": { "100": { "checksum": "", "enabled": 1 } }, "vnstatd": { "100": { "checksum": "", "enabled": 1 } }, "vpn": { "100": { "checksum": "", "enabled": 1 } }, "w3c": { "100": { "checksum": "", "enabled": 1 } }, "watchdog": { "100": { "checksum": "", "enabled": 1 } }, "wdmd": { "100": { "checksum": "", "enabled": 1 } }, "webadm": { "100": { "checksum": "", "enabled": 1 } }, "webalizer": { "100": { "checksum": "", "enabled": 1 } }, "wine": { "100": { "checksum": "", "enabled": 1 } }, "wireshark": { "100": { "checksum": "", "enabled": 1 } }, "xen": { "100": { "checksum": "", "enabled": 1 } }, "xguest": { "100": { "checksum": "", "enabled": 1 } }, "xserver": { "100": { "checksum": "", "enabled": 1 } }, "zabbix": { "100": { "checksum": "", "enabled": 1 } }, "zarafa": { "100": { "checksum": "", "enabled": 1 } }, "zebra": { "100": { "checksum": "", "enabled": 1 } }, "zoneminder": { "100": { "checksum": "", "enabled": 1 } }, "zosremote": { "100": { "checksum": "", "enabled": 1 } } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Friday 25 October 2024 21:25:49 -0400 (0:00:03.577) 0:07:13.041 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Friday 25 October 2024 21:25:50 -0400 (0:00:00.204) 0:07:13.245 ******** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Friday 25 October 2024 21:25:50 -0400 (0:00:00.165) 0:07:13.411 ******** TASK [Leave realm] ************************************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:32 Friday 25 October 2024 21:25:50 -0400 (0:00:00.311) 0:07:13.722 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:40 Friday 25 October 2024 21:25:50 -0400 (0:00:00.168) 0:07:13.891 ******** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:44 Friday 25 October 2024 21:25:50 -0400 (0:00:00.166) 0:07:14.058 ******** ok: [managed-node2] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:50 Friday 25 October 2024 21:25:51 -0400 (0:00:00.640) 0:07:14.698 ******** changed: [managed-node2] => { "changed": true, "changes": { "removed": [ "mssql-server", "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "adutil is not installed", "mssql-server-fts is not installed", "mssql-server-ha is not installed", "powershell is not installed", "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3465.1-1 will be erased\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be erased\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n--> Finding unneeded leftover dependencies\n---> Marking msodbcsql17 to be removed - no longer needed by mssql-tools\n---> Marking unixODBC to be removed - no longer needed by unixODBC-devel\n---> Marking cyrus-sasl to be removed - no longer needed by mssql-server\n---> Marking gdb to be removed - no longer needed by mssql-server\n---> Marking libatomic to be removed - no longer needed by mssql-server\n---> Marking libsss_nss_idmap to be removed - no longer needed by mssql-server\n---> Marking bzip2 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl-gssapi to be removed - no longer needed by mssql-server\n---> Marking libtool-ltdl to be removed - no longer needed by unixODBC\nFound and removing 9 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package msodbcsql17.x86_64 0:17.10.6.1-1 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 14.0.3465.1-1 @packages-microsoft-com-mssql-server-2017\n 1.0 G\n mssql-tools x86_64 17.10.1.1-1 @packages-microsoft-com-prod 714 k\n unixODBC-devel x86_64 2.3.11-1.rh @packages-microsoft-com-prod 223 k\nRemoving for dependencies:\n bzip2 x86_64 1.0.6-13.el7 @base 82 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 @updates 141 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 @updates 36 k\n gdb x86_64 7.6.1-120.el7 @base 7.0 M\n libatomic x86_64 4.8.5-44.el7 @base 26 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 @updates 82 k\n libtool-ltdl x86_64 2.4.2-22.el7_3 @base 66 k\n msodbcsql17 x86_64 17.10.6.1-1 @packages-microsoft-com-prod 2.2 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+9 Dependent packages)\n\nInstalled size: 1.0 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-14.0.3465.1-1.x86_64 1/12 \n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 2/12 \n Erasing : mssql-tools-17.10.1.1-1.x86_64 3/12 \n Erasing : msodbcsql17-17.10.6.1-1.x86_64 4/12 \nODBC Driver 17 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-2.3.11-1.rh.x86_64 5/12 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 6/12 \n Erasing : libatomic-4.8.5-44.el7.x86_64 7/12 \n Erasing : bzip2-1.0.6-13.el7.x86_64 8/12 \n Erasing : gdb-7.6.1-120.el7.x86_64 9/12 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 10/12 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 12/12 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/12 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 2/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 3/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 4/12 \n Verifying : msodbcsql17-17.10.6.1-1.x86_64 5/12 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 6/12 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 7/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 8/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 9/12 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 10/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 12/12 \n\nRemoved:\n mssql-server.x86_64 0:14.0.3465.1-1 mssql-tools.x86_64 0:17.10.1.1-1 \n unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Removed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 \n msodbcsql17.x86_64 0:17.10.6.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:63 Friday 25 October 2024 21:25:54 -0400 (0:00:03.461) 0:07:18.160 ******** [WARNING]: Consider using the file module with state=absent rather than running 'rm'. If you need to use command because file is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. changed: [managed-node2] => { "changed": true, "cmd": "rm -rfv /var/opt/mssql* /opt/mssql* /var/log/pacemaker/pacemaker.log /etc/yum.repos.d/packages-microsoft-com-* /tmp/*.j2 /tmp/mssql_data /tmp/mssql_log /etc/systemd/system/multi-user.target.wants/mssql-server.service", "delta": "0:00:00.007516", "end": "2024-10-25 21:25:55.350913", "rc": 0, "start": "2024-10-25 21:25:55.343397" } 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/c73ff8f6-a617-4045-b6f8-c569ceceab2d’ 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-1594602773-1649549625-631335420-500/42e7704ae40b0d75de00736cc66b813a_7d6d6740-f7ad-4a03-ac92-aaae4764985b’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-1594602773-1649549625-631335420-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-1594602773-1649549625-631335420-500/Preferred’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-1594602773-1649549625-631335420-500/b6374b6d-d6b3-40a8-bb1f-7edbae5635f2’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-1594602773-1649549625-631335420-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/errorlog.8’ removed ‘/var/opt/mssql/log/system_health_0_133743791911420000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133743792244710000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133743793881190000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133743792765700000.xel’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/system_health_0_133743794667980000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133743795312300000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133743793384130000.xel’ removed ‘/var/opt/mssql/log/log_4.trc’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/log_6.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133743795308800000.xel’ removed ‘/var/opt/mssql/log/errorlog’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133743791947680000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133743792762210000.xel’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133743791904460000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133743791952210000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133743792240950000.xel’ removed ‘/var/opt/mssql/log/log_5.trc’ removed ‘/var/opt/mssql/log/errorlog.4’ removed ‘/var/opt/mssql/log/errorlog.2’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133743794664560000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133743793877810000.xel’ removed ‘/var/opt/mssql/log/errorlog.7’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/log_7.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133743793380520000.xel’ removed directory: ‘/var/opt/mssql/log’ removed directory: ‘/var/opt/mssql’ removed directory: ‘/opt/mssql’ removed directory: ‘/opt/mssql-tools’ removed ‘/etc/yum.repos.d/packages-microsoft-com-mssql-server-2017.repo’ removed ‘/etc/yum.repos.d/packages-microsoft-com-prod.repo’ removed ‘/etc/systemd/system/multi-user.target.wants/mssql-server.service’ TASK [Stop the mssql-server service] ******************************************* task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:77 Friday 25 October 2024 21:25:55 -0400 (0:00:00.524) 0:07:18.684 ******** ok: [managed-node2] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.372903", "end": "2024-10-25 21:25:56.170327", "rc": 0, "start": "2024-10-25 21:25:55.797424" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Friday 25 October 2024 21:25:56 -0400 (0:00:00.727) 0:07:19.412 ******** changed: [managed-node2] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.838613", "end": "2024-10-25 21:25:58.573298", "rc": 0, "start": "2024-10-25 21:25:56.734685" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=389 changed=62 unreachable=0 failed=0 skipped=880 rescued=0 ignored=0 Friday 25 October 2024 21:25:58 -0400 (0:00:02.394) 0:07:21.807 ******** =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 55.26s /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 5.94s /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 5.23s /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 5.04s /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 4.74s /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 3.58s /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Remove related packages ------------------------------------------------- 3.46s /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:50 Disable TLS encryption -------------------------------------------------- 2.58s /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:175 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.39s /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Test with certs created by the certificate role ------------------------- 2.31s /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:154 fedora.linux_system_roles.mssql : Gather package facts ------------------ 2.17s /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Gather package facts ---------------------------------------------------- 2.07s /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 fedora.linux_system_roles.mssql : Gather package facts ------------------ 2.05s /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 fedora.linux_system_roles.mssql : Gather package facts ------------------ 2.05s /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 fedora.linux_system_roles.mssql : Gather system services facts ---------- 1.91s /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.79s /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.79s /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 fedora.linux_system_roles.mssql : Get the setting network tlscert ------- 1.77s /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Wait for mssql-server to prepare for client connections ----------------- 1.75s /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Copy certificates to hosts ---------------------------------------------- 1.65s /tmp/collections-wkZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:107