ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_tls_2019.yml *************************************************** 2 plays in /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml PLAY [all] ********************************************************************* META: ran handlers TASK [Include vault variables] ************************************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml:5 Friday 06 September 2024 21:25:50 -0400 (0:00:00.024) 0:00:00.024 ****** 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-gRc/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml:9 Friday 06 September 2024 21:25:50 -0400 (0:00:00.020) 0:00:00.045 ****** ok: [managed_node2] META: ran handlers TASK [Run tests_tls with SQL Server 2019] ************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml:23 Friday 06 September 2024 21:25:51 -0400 (0:00:00.910) 0:00:00.955 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:2 Friday 06 September 2024 21:25:51 -0400 (0:00:00.101) 0:00:01.056 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:2 Friday 06 September 2024 21:25:51 -0400 (0:00:00.036) 0:00:01.093 ****** ok: [managed_node2] TASK [Run the role] ************************************************************ task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:15 Friday 06 September 2024 21:25:51 -0400 (0:00:00.383) 0:00:01.477 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:22 Friday 06 September 2024 21:25:51 -0400 (0:00:00.023) 0:00:01.500 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure the openssl package] ********************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:5 Friday 06 September 2024 21:25:51 -0400 (0:00:00.067) 0:00:01.567 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:11 Friday 06 September 2024 21:25:52 -0400 (0:00:00.696) 0:00:02.264 ****** changed: [managed_node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.gkYxXL", "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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:17 Friday 06 September 2024 21:25:53 -0400 (0:00:00.367) 0:00:02.632 ****** changed: [managed_node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.i2etj5", "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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:23 Friday 06 September 2024 21:25:53 -0400 (0:00:00.283) 0:00:02.916 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "openssl", "req", "-x509", "-nodes", "-newkey", "rsa:2048", "-subj", "/CN=10.31.10.168", "-out", "/tmp/ansible.gkYxXL", "-keyout", "/tmp/ansible.i2etj5", "-days", "365" ], "delta": "0:00:00.334978", "end": "2024-09-06 21:25:53.991024", "rc": 0, "start": "2024-09-06 21:25:53.656046" } STDERR: Generating a 2048 bit RSA private key .........+++ ..............................................................................................................+++ writing new private key to '/tmp/ansible.i2etj5' ----- TASK [Copy certificate files to local tmp] ************************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:32 Friday 06 September 2024 21:25:54 -0400 (0:00:00.714) 0:00:03.630 ****** changed: [managed_node2] => (item=/tmp/ansible.gkYxXL) => { "ansible_loop_var": "item", "changed": true, "checksum": "8c926d8661f2f3ac85783edcff330b0baf9e797d", "dest": "/tmp/ansible.gkYxXL", "item": "/tmp/ansible.gkYxXL", "md5sum": "68be222d7471a9af5659bda7741aa761", "remote_checksum": "8c926d8661f2f3ac85783edcff330b0baf9e797d", "remote_md5sum": null } changed: [managed_node2] => (item=/tmp/ansible.i2etj5) => { "ansible_loop_var": "item", "changed": true, "checksum": "49ce5d15ae761858a4230a3efab33d2cb49329ac", "dest": "/tmp/ansible.i2etj5", "item": "/tmp/ansible.i2etj5", "md5sum": "f847d97e5f799ac3fed5231a4a7c5b53", "remote_checksum": "49ce5d15ae761858a4230a3efab33d2cb49329ac", "remote_md5sum": null } TASK [Copy a private key to the playbook directory to test a relative path] **** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:44 Friday 06 September 2024 21:25:54 -0400 (0:00:00.738) 0:00:04.368 ****** changed: [managed_node2 -> localhost] => { "changed": true, "checksum": "49ce5d15ae761858a4230a3efab33d2cb49329ac", "dest": "./ansible.i2etj5", "gid": 0, "group": "root", "md5sum": "f847d97e5f799ac3fed5231a4a7c5b53", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1725672354.82-5246-233847035222757/source", "state": "file", "uid": 0 } TASK [Set mssql_tls_cert and mssql_tls_private_key for the following test] ***** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:52 Friday 06 September 2024 21:25:55 -0400 (0:00:00.587) 0:00:04.955 ****** ok: [managed_node2] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.gkYxXL", "mssql_tls_private_key": "ansible.i2etj5" }, "changed": false } TASK [Run role] **************************************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:59 Friday 06 September 2024 21:25:55 -0400 (0:00:00.037) 0:00:04.993 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 06 September 2024 21:25:55 -0400 (0:00:00.374) 0:00:05.367 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 06 September 2024 21:25:55 -0400 (0:00:00.047) 0:00:05.415 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 06 September 2024 21:25:55 -0400 (0:00:00.036) 0:00:05.452 ****** 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-8E3/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-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 06 September 2024 21:25:55 -0400 (0:00:00.082) 0:00:05.535 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 06 September 2024 21:25:55 -0400 (0:00:00.032) 0:00:05.568 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 06 September 2024 21:25:56 -0400 (0:00:00.032) 0:00:05.600 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 06 September 2024 21:25:56 -0400 (0:00:00.031) 0:00:05.631 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 06 September 2024 21:25:56 -0400 (0:00:00.030) 0:00:05.662 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 06 September 2024 21:25:56 -0400 (0:00:00.031) 0:00:05.693 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 06 September 2024 21:25:56 -0400 (0:00:00.024) 0:00:05.718 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 06 September 2024 21:25:56 -0400 (0:00:00.040) 0:00:05.759 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 06 September 2024 21:25:56 -0400 (0:00:00.020) 0:00:05.779 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 06 September 2024 21:25:56 -0400 (0:00:00.021) 0:00:05.800 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Friday 06 September 2024 21:25:56 -0400 (0:00:00.025) 0:00:05.825 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Friday 06 September 2024 21:25:56 -0400 (0:00:00.033) 0:00:05.859 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Friday 06 September 2024 21:25:56 -0400 (0:00:00.022) 0:00:05.881 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Friday 06 September 2024 21:25:56 -0400 (0:00:00.020) 0:00:05.901 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 06 September 2024 21:25:56 -0400 (0:00:00.019) 0:00:05.921 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 06 September 2024 21:25:56 -0400 (0:00:00.025) 0:00:05.947 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Friday 06 September 2024 21:25:56 -0400 (0:00:00.064) 0:00:06.012 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Friday 06 September 2024 21:25:56 -0400 (0:00:00.024) 0:00:06.037 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Friday 06 September 2024 21:25:57 -0400 (0:00:01.442) 0:00:07.479 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 06 September 2024 21:25:58 -0400 (0:00:00.122) 0:00:07.602 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 06 September 2024 21:25:58 -0400 (0:00:00.056) 0:00:07.659 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Friday 06 September 2024 21:25:58 -0400 (0:00:00.061) 0:00:07.721 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Friday 06 September 2024 21:25:58 -0400 (0:00:00.105) 0:00:07.826 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Friday 06 September 2024 21:25:59 -0400 (0:00:00.859) 0:00:08.685 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Friday 06 September 2024 21:25:59 -0400 (0:00:00.079) 0:00:08.765 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 06 September 2024 21:25:59 -0400 (0:00:00.100) 0:00:08.865 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Friday 06 September 2024 21:25:59 -0400 (0:00:00.118) 0:00:08.983 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 06 September 2024 21:25:59 -0400 (0:00:00.134) 0:00:09.118 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 06 September 2024 21:25:59 -0400 (0:00:00.104) 0:00:09.223 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Friday 06 September 2024 21:25:59 -0400 (0:00:00.149) 0:00:09.372 ****** changed: [managed_node2] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 06 September 2024 21:26:00 -0400 (0:00:00.556) 0:00:09.928 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 06 September 2024 21:26:00 -0400 (0:00:00.107) 0:00:10.036 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 06 September 2024 21:26:01 -0400 (0:00:00.662) 0:00:10.699 ****** changed: [managed_node2] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:15.0.4375.4-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: python3 for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: lsof for package: mssql-server-15.0.4375.4-1.x86_64\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be installed\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be installed\n---> Package lsof.x86_64 0:4.87-6.el7 will be installed\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be installed\n--> Processing Dependency: python3-libs(x86-64) = 3.6.8-21.el7_9 for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-setuptools for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-pip for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: libpython3.6m.so.1.0()(64bit) for package: python3-3.6.8-21.el7_9.x86_64\n--> Running transaction check\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be installed\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be installed\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 15.0.4375.4-1 packages-microsoft-com-mssql-server-2019\n 229 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 base 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 updates 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 updates 41 k\n gdb x86_64 7.6.1-120.el7 base 2.4 M\n libatomic x86_64 4.8.5-44.el7 base 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 updates 170 k\n lsof x86_64 4.87-6.el7 base 331 k\n python3 x86_64 3.6.8-21.el7_9 updates 71 k\n python3-libs x86_64 3.6.8-21.el7_9 updates 7.0 M\n python3-pip noarch 9.0.3-8.el7 base 1.6 M\n python3-setuptools noarch 39.2.0-10.el7 base 629 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+11 Dependent packages)\n\nTotal size: 241 M\nInstalled size: 1.2 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python3-libs-3.6.8-21.el7_9.x86_64 1/12 \n Installing : python3-setuptools-39.2.0-10.el7.noarch 2/12 \n Installing : python3-pip-9.0.3-8.el7.noarch 3/12 \n Installing : python3-3.6.8-21.el7_9.x86_64 4/12 \n Installing : libatomic-4.8.5-44.el7.x86_64 5/12 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/12 \n Installing : gdb-7.6.1-120.el7.x86_64 7/12 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 8/12 \n Installing : lsof-4.87-6.el7.x86_64 9/12 \n Installing : bzip2-1.0.6-13.el7.x86_64 10/12 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 11/12 \n Installing : mssql-server-15.0.4375.4-1.x86_64 12/12 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\n Verifying : python3-3.6.8-21.el7_9.x86_64 1/12 \n Verifying : mssql-server-15.0.4375.4-1.x86_64 2/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 3/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 4/12 \n Verifying : lsof-4.87-6.el7.x86_64 5/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 6/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 7/12 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 8/12 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 9/12 \n Verifying : python3-pip-9.0.3-8.el7.noarch 10/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 12/12 \n\nInstalled:\n mssql-server.x86_64 0:15.0.4375.4-1 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n lsof.x86_64 0:4.87-6.el7 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n\nComplete!\n" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Friday 06 September 2024 21:26:43 -0400 (0:00:42.800) 0:00:53.499 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Friday 06 September 2024 21:26:43 -0400 (0:00:00.058) 0:00:53.558 ****** 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.005945", "end": "2024-09-06 21:26:44.219291", "rc": 0, "start": "2024-09-06 21:26:44.213346" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Friday 06 September 2024 21:26:44 -0400 (0:00:00.368) 0:00:53.927 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Friday 06 September 2024 21:26:45 -0400 (0:00:01.014) 0:00:54.941 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Friday 06 September 2024 21:26:45 -0400 (0:00:00.083) 0:00:55.025 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Friday 06 September 2024 21:26:45 -0400 (0:00:00.073) 0:00:55.099 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Friday 06 September 2024 21:26:52 -0400 (0:00:07.126) 0:01:02.226 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Friday 06 September 2024 21:26:52 -0400 (0:00:00.125) 0:01:02.352 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Friday 06 September 2024 21:26:52 -0400 (0:00:00.159) 0:01:02.512 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Friday 06 September 2024 21:26:53 -0400 (0:00:00.100) 0:01:02.612 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 06 September 2024 21:26:53 -0400 (0:00:00.875) 0:01:03.487 ****** ok: [managed_node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-06 21:05:56 EDT", "ActiveEnterTimestampMonotonic": "43100735", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service network.target basic.target systemd-sysctl.service systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-06 21:05:53 EDT", "AssertTimestampMonotonic": "39717099", "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-09-06 21:05:53 EDT", "ConditionTimestampMonotonic": "39717097", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "852", "ExecMainStartTimestamp": "Fri 2024-09-06 21:05:53 EDT", "ExecMainStartTimestampMonotonic": "39718871", "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-09-06 21:05:53 EDT", "InactiveExitTimestampMonotonic": "39718901", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "852", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service basic.target polkit.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-06 21:05:56 EDT", "WatchdogTimestampMonotonic": "43100105", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 06 September 2024 21:26:55 -0400 (0:00:01.191) 0:01:04.679 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.308444", "end": "2024-09-06 21:26:56.162012", "rc": 0, "start": "2024-09-06 21:26:55.853568" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Friday 06 September 2024 21:26:56 -0400 (0:00:01.247) 0:01:05.927 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 06 September 2024 21:26:56 -0400 (0:00:00.103) 0:01:06.030 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Friday 06 September 2024 21:26:56 -0400 (0:00:00.109) 0:01:06.139 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Friday 06 September 2024 21:26:56 -0400 (0:00:00.108) 0:01:06.248 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Friday 06 September 2024 21:26:57 -0400 (0:00:00.408) 0:01:06.657 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Friday 06 September 2024 21:26:57 -0400 (0:00:00.118) 0:01:06.776 ****** changed: [managed_node2] => { "changed": true, "changes": { "installed": [ "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: dl.fedoraproject.org\n * epel-debuginfo: dl.fedoraproject.org\n * epel-source: dl.fedoraproject.org\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be installed\n--> Processing Dependency: msodbcsql17 >= 17.3.0.0 for package: mssql-tools-17.10.1.1-1.x86_64\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: unixODBC = 2.3.11 for package: unixODBC-devel-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package msodbcsql17.x86_64 0:17.10.6.1-1 will be installed\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-tools x86_64 17.10.1.1-1 packages-microsoft-com-prod 291 k\n unixODBC-devel x86_64 2.3.11-1.rh packages-microsoft-com-prod 53 k\nInstalling for dependencies:\n libtool-ltdl x86_64 2.4.2-22.el7_3 base 49 k\n msodbcsql17 x86_64 17.10.6.1-1 packages-microsoft-com-prod 911 k\n unixODBC x86_64 2.3.11-1.rh packages-microsoft-com-prod 274 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+3 Dependent packages)\n\nTotal size: 1.5 M\nInstalled size: 3.8 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libtool-ltdl-2.4.2-22.el7_3.x86_64 1/5 \n Installing : unixODBC-2.3.11-1.rh.x86_64 2/5 \n Installing : msodbcsql17-17.10.6.1-1.x86_64 3/5 \nodbcinst: Driver installed. Usage count increased to 1. \n Target directory is /etc\n Installing : mssql-tools-17.10.1.1-1.x86_64 4/5 \n Installing : unixODBC-devel-2.3.11-1.rh.x86_64 5/5 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/5 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 2/5 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 3/5 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 4/5 \n Verifying : msodbcsql17-17.10.6.1-1.x86_64 5/5 \n\nInstalled:\n mssql-tools.x86_64 0:17.10.1.1-1 unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Installed:\n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 msodbcsql17.x86_64 0:17.10.6.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Friday 06 September 2024 21:27:05 -0400 (0:00:08.512) 0:01:15.288 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 06 September 2024 21:27:05 -0400 (0:00:00.064) 0:01:15.353 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Friday 06 September 2024 21:27:05 -0400 (0:00:00.062) 0:01:15.416 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 06 September 2024 21:27:05 -0400 (0:00:00.065) 0:01:15.481 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Friday 06 September 2024 21:27:05 -0400 (0:00:00.065) 0:01:15.547 ****** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 06 September 2024 21:27:06 -0400 (0:00:00.065) 0:01:15.612 ****** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 06 September 2024 21:27:06 -0400 (0:00:00.130) 0:01:15.743 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 06 September 2024 21:27:06 -0400 (0:00:00.099) 0:01:15.842 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Friday 06 September 2024 21:27:06 -0400 (0:00:00.101) 0:01:15.943 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 06 September 2024 21:27:06 -0400 (0:00:00.107) 0:01:16.051 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Friday 06 September 2024 21:27:06 -0400 (0:00:00.099) 0:01:16.150 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Friday 06 September 2024 21:27:06 -0400 (0:00:00.111) 0:01:16.262 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 06 September 2024 21:27:06 -0400 (0:00:00.103) 0:01:16.365 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 06 September 2024 21:27:06 -0400 (0:00:00.105) 0:01:16.471 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Friday 06 September 2024 21:27:06 -0400 (0:00:00.104) 0:01:16.576 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Friday 06 September 2024 21:27:07 -0400 (0:00:00.107) 0:01:16.683 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:27:07 -0400 (0:00:00.194) 0:01:16.878 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003367", "end": "2024-09-06 21:27:07.598001", "failed_when_result": false, "rc": 1, "start": "2024-09-06 21:27:07.594634" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:27:07 -0400 (0:00:00.391) 0:01:17.270 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.117824", "end": "2024-09-06 21:27:08.064489", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:27:07.946665" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:27:08 -0400 (0:00:00.518) 0:01:17.789 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Friday 06 September 2024 21:27:08 -0400 (0:00:00.104) 0:01:17.894 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 06 September 2024 21:27:08 -0400 (0:00:00.102) 0:01:17.996 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 06 September 2024 21:27:08 -0400 (0:00:00.105) 0:01:18.101 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 06 September 2024 21:27:08 -0400 (0:00:00.122) 0:01:18.224 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 06 September 2024 21:27:08 -0400 (0:00:00.170) 0:01:18.394 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 06 September 2024 21:27:08 -0400 (0:00:00.099) 0:01:18.494 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Friday 06 September 2024 21:27:09 -0400 (0:00:00.096) 0:01:18.590 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Friday 06 September 2024 21:27:09 -0400 (0:00:00.095) 0:01:18.686 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 06 September 2024 21:27:09 -0400 (0:00:00.095) 0:01:18.782 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Friday 06 September 2024 21:27:09 -0400 (0:00:00.071) 0:01:18.853 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Friday 06 September 2024 21:27:09 -0400 (0:00:00.068) 0:01:18.921 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Friday 06 September 2024 21:27:09 -0400 (0:00:00.069) 0:01:18.991 ****** changed: [managed_node2] => (item=/tmp/ansible.gkYxXL) => { "ansible_loop_var": "item", "changed": true, "checksum": "8c926d8661f2f3ac85783edcff330b0baf9e797d", "dest": "/etc/pki/tls/certs/ansible.gkYxXL", "gid": 994, "group": "mssql", "item": "/tmp/ansible.gkYxXL", "md5sum": "68be222d7471a9af5659bda7741aa761", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1103, "src": "/root/.ansible/tmp/ansible-tmp-1725672429.47-7264-246940034530832/source", "state": "file", "uid": 996 } changed: [managed_node2] => (item=ansible.i2etj5) => { "ansible_loop_var": "item", "changed": true, "checksum": "49ce5d15ae761858a4230a3efab33d2cb49329ac", "dest": "/etc/pki/tls/private/ansible.i2etj5", "gid": 994, "group": "mssql", "item": "ansible.i2etj5", "md5sum": "f847d97e5f799ac3fed5231a4a7c5b53", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1725672430.02-7264-119412414947818/source", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Friday 06 September 2024 21:27:10 -0400 (0:00:01.236) 0:01:20.228 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:27:10 -0400 (0:00:00.231) 0:01:20.459 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003159", "end": "2024-09-06 21:27:11.167892", "failed_when_result": false, "rc": 1, "start": "2024-09-06 21:27:11.164733" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:27:11 -0400 (0:00:00.379) 0:01:20.839 ****** 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.gkYxXL" ], "delta": "0:00:00.121257", "end": "2024-09-06 21:27:11.664575", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:27:11.543318" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:27:11 -0400 (0:00:00.595) 0:01:21.434 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Friday 06 September 2024 21:27:11 -0400 (0:00:00.129) 0:01:21.563 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:27:12 -0400 (0:00:00.284) 0:01:21.848 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003127", "end": "2024-09-06 21:27:12.692776", "failed_when_result": false, "rc": 1, "start": "2024-09-06 21:27:12.689649" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:27:12 -0400 (0:00:00.525) 0:01:22.373 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.i2etj5" ], "delta": "0:00:00.120228", "end": "2024-09-06 21:27:13.229801", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:27:13.109573" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:27:13 -0400 (0:00:00.599) 0:01:22.972 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 06 September 2024 21:27:13 -0400 (0:00:00.097) 0:01:23.070 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:27:13 -0400 (0:00:00.188) 0:01:23.258 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003245", "end": "2024-09-06 21:27:14.014001", "failed_when_result": false, "rc": 1, "start": "2024-09-06 21:27:14.010756" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:27:14 -0400 (0:00:00.437) 0:01:23.696 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.117229", "end": "2024-09-06 21:27:14.654553", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:27:14.537324" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:27:14 -0400 (0:00:00.725) 0:01:24.422 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Friday 06 September 2024 21:27:14 -0400 (0:00:00.119) 0:01:24.541 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:27:15 -0400 (0:00:00.245) 0:01:24.787 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003199", "end": "2024-09-06 21:27:15.549021", "failed_when_result": false, "rc": 1, "start": "2024-09-06 21:27:15.545822" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:27:15 -0400 (0:00:00.590) 0:01:25.378 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.118506", "end": "2024-09-06 21:27:16.290594", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:27:16.172088" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:27:16 -0400 (0:00:00.699) 0:01:26.077 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Friday 06 September 2024 21:27:16 -0400 (0:00:00.171) 0:01:26.248 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Friday 06 September 2024 21:27:16 -0400 (0:00:00.281) 0:01:26.530 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 06 September 2024 21:27:17 -0400 (0:00:00.213) 0:01:26.743 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 06 September 2024 21:27:17 -0400 (0:00:00.101) 0:01:26.844 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Friday 06 September 2024 21:27:17 -0400 (0:00:00.128) 0:01:26.973 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Friday 06 September 2024 21:27:17 -0400 (0:00:00.115) 0:01:27.088 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Friday 06 September 2024 21:27:17 -0400 (0:00:00.104) 0:01:27.193 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Friday 06 September 2024 21:27:17 -0400 (0:00:00.115) 0:01:27.309 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Friday 06 September 2024 21:27:17 -0400 (0:00:00.111) 0:01:27.421 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Friday 06 September 2024 21:27:17 -0400 (0:00:00.106) 0:01:27.527 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Friday 06 September 2024 21:27:18 -0400 (0:00:00.171) 0:01:27.698 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Friday 06 September 2024 21:27:18 -0400 (0:00:00.188) 0:01:27.887 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Friday 06 September 2024 21:27:18 -0400 (0:00:00.181) 0:01:28.069 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Friday 06 September 2024 21:27:18 -0400 (0:00:00.126) 0:01:28.195 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Friday 06 September 2024 21:27:18 -0400 (0:00:00.140) 0:01:28.336 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Friday 06 September 2024 21:27:18 -0400 (0:00:00.115) 0:01:28.452 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Friday 06 September 2024 21:27:19 -0400 (0:00:00.165) 0:01:28.617 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Friday 06 September 2024 21:27:19 -0400 (0:00:00.182) 0:01:28.799 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 06 September 2024 21:27:19 -0400 (0:00:00.131) 0:01:28.930 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Friday 06 September 2024 21:27:19 -0400 (0:00:00.104) 0:01:29.035 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 06 September 2024 21:27:19 -0400 (0:00:00.103) 0:01:29.138 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Friday 06 September 2024 21:27:19 -0400 (0:00:00.192) 0:01:29.330 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 06 September 2024 21:27:19 -0400 (0:00:00.123) 0:01:29.454 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 06 September 2024 21:27:20 -0400 (0:00:00.177) 0:01:29.632 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Friday 06 September 2024 21:27:20 -0400 (0:00:00.129) 0:01:29.761 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Friday 06 September 2024 21:27:20 -0400 (0:00:00.102) 0:01:29.864 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Friday 06 September 2024 21:27:20 -0400 (0:00:00.137) 0:01:30.002 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Friday 06 September 2024 21:27:20 -0400 (0:00:00.125) 0:01:30.128 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Friday 06 September 2024 21:27:20 -0400 (0:00:00.102) 0:01:30.230 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 06 September 2024 21:27:20 -0400 (0:00:00.163) 0:01:30.393 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 06 September 2024 21:27:20 -0400 (0:00:00.133) 0:01:30.527 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 06 September 2024 21:27:21 -0400 (0:00:00.102) 0:01:30.629 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1201 Friday 06 September 2024 21:27:21 -0400 (0:00:00.117) 0:01:30.746 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1211 Friday 06 September 2024 21:27:21 -0400 (0:00:00.105) 0:01:30.852 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Friday 06 September 2024 21:27:21 -0400 (0:00:00.121) 0:01:30.974 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1229 Friday 06 September 2024 21:27:21 -0400 (0:00:00.118) 0:01:31.092 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 06 September 2024 21:27:21 -0400 (0:00:00.105) 0:01:31.198 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1253 Friday 06 September 2024 21:27:21 -0400 (0:00:00.224) 0:01:31.423 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1262 Friday 06 September 2024 21:27:21 -0400 (0:00:00.149) 0:01:31.573 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1269 Friday 06 September 2024 21:27:22 -0400 (0:00:00.121) 0:01:31.694 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1276 Friday 06 September 2024 21:27:22 -0400 (0:00:00.124) 0:01:31.818 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1284 Friday 06 September 2024 21:27:22 -0400 (0:00:00.122) 0:01:31.940 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1291 Friday 06 September 2024 21:27:22 -0400 (0:00:00.208) 0:01:32.149 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Friday 06 September 2024 21:27:22 -0400 (0:00:00.181) 0:01:32.331 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 06 September 2024 21:27:22 -0400 (0:00:00.102) 0:01:32.433 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Friday 06 September 2024 21:27:22 -0400 (0:00:00.129) 0:01:32.562 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1325 Friday 06 September 2024 21:27:23 -0400 (0:00:00.100) 0:01:32.663 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 06 September 2024 21:27:23 -0400 (0:00:00.110) 0:01:32.774 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1346 Friday 06 September 2024 21:27:23 -0400 (0:00:00.117) 0:01:32.891 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Friday 06 September 2024 21:27:23 -0400 (0:00:00.099) 0:01:32.991 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Friday 06 September 2024 21:27:23 -0400 (0:00:00.114) 0:01:33.105 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1369 Friday 06 September 2024 21:27:23 -0400 (0:00:00.104) 0:01:33.209 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 06 September 2024 21:27:23 -0400 (0:00:00.123) 0:01:33.333 ****** changed: [managed_node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 06 September 2024 21:27:24 -0400 (0:00:00.790) 0:01:34.124 ****** changed: [managed_node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-06 21:26:52 EDT", "ActiveEnterTimestampMonotonic": "1298618145", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target auditd.service -.mount systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-06 21:26:52 EDT", "AssertTimestampMonotonic": "1298617267", "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-09-06 21:26:52 EDT", "ConditionTimestampMonotonic": "1298617265", "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": "7057", "ExecMainStartTimestamp": "Fri 2024-09-06 21:26:52 EDT", "ExecMainStartTimestampMonotonic": "1298618075", "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-09-06 21:26:52 EDT", "InactiveExitTimestampMonotonic": "1298618145", "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": "7057", "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": "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-09-06 21:26:52 EDT", "WatchdogTimestampMonotonic": "1298618120", "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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 06 September 2024 21:27:25 -0400 (0:00:00.992) 0:01:35.116 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1398 Friday 06 September 2024 21:27:25 -0400 (0:00:00.118) 0:01:35.235 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove a private key from the playbook directory] ************************ task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:68 Friday 06 September 2024 21:27:25 -0400 (0:00:00.135) 0:01:35.371 ****** changed: [managed_node2 -> localhost] => { "changed": true, "path": "ansible.i2etj5", "state": "absent" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:75 Friday 06 September 2024 21:27:26 -0400 (0:00:00.712) 0:01:36.084 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:3 Friday 06 September 2024 21:27:26 -0400 (0:00:00.209) 0:01:36.293 ****** changed: [managed_node2] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:10 Friday 06 September 2024 21:27:27 -0400 (0:00:00.934) 0:01:37.228 ****** changed: [managed_node2] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:17 Friday 06 September 2024 21:27:28 -0400 (0:00:00.991) 0:01:38.220 ****** ok: [managed_node2] => { "changed": false, "name": null, "status": {} } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:78 Friday 06 September 2024 21:27:29 -0400 (0:00:01.143) 0:01:39.363 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 06 September 2024 21:27:30 -0400 (0:00:00.410) 0:01:39.773 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 06 September 2024 21:27:30 -0400 (0:00:00.146) 0:01:39.919 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 06 September 2024 21:27:30 -0400 (0:00:00.140) 0:01:40.060 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 06 September 2024 21:27:30 -0400 (0:00:00.140) 0:01:40.200 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 06 September 2024 21:27:30 -0400 (0:00:00.132) 0:01:40.333 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 06 September 2024 21:27:30 -0400 (0:00:00.171) 0:01:40.505 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 06 September 2024 21:27:31 -0400 (0:00:00.187) 0:01:40.692 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 06 September 2024 21:27:31 -0400 (0:00:00.125) 0:01:40.818 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 06 September 2024 21:27:31 -0400 (0:00:00.121) 0:01:40.939 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 06 September 2024 21:27:31 -0400 (0:00:00.289) 0:01:41.229 ****** ok: [managed_node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-06 21:27:25 EDT", "ActiveEnterTimestampMonotonic": "1331560180", "ActiveExitTimestamp": "Fri 2024-09-06 21:27:25 EDT", "ActiveExitTimestampMonotonic": "1331314687", "ActiveState": "active", "After": "-.mount system.slice auditd.service systemd-journald.socket basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-06 21:27:25 EDT", "AssertTimestampMonotonic": "1331559475", "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-09-06 21:27:25 EDT", "ConditionTimestampMonotonic": "1331559473", "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": "8357", "ExecMainStartTimestamp": "Fri 2024-09-06 21:27:25 EDT", "ExecMainStartTimestampMonotonic": "1331560125", "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-09-06 21:27:25 EDT", "InactiveEnterTimestampMonotonic": "1331558154", "InactiveExitTimestamp": "Fri 2024-09-06 21:27:25 EDT", "InactiveExitTimestampMonotonic": "1331560180", "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": "8357", "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-09-06 21:27:25 EDT", "WatchdogTimestampMonotonic": "1331560161", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 06 September 2024 21:27:32 -0400 (0:00:01.030) 0:01:42.259 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003189", "end": "2024-09-06 21:27:33.004504", "failed_when_result": false, "rc": 1, "start": "2024-09-06 21:27:33.001315" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 06 September 2024 21:27:33 -0400 (0:00:00.461) 0:01:42.720 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003111", "end": "2024-09-06 21:27:33.412249", "failed_when_result": false, "rc": 1, "start": "2024-09-06 21:27:33.409138" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 06 September 2024 21:27:33 -0400 (0:00:00.361) 0:01:43.082 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 06 September 2024 21:27:33 -0400 (0:00:00.081) 0:01:43.163 ****** 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": 7352, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 06 September 2024 21:27:35 -0400 (0:00:01.489) 0:01:44.653 ****** 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.034716", "end": "2024-09-06 21:27:35.417961", "rc": 0, "start": "2024-09-06 21:27:35.383245" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU27) (KB5037331) - 15.0.4375.4 (X64) Jun 10 2024 18:00:07 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 06 September 2024 21:27:35 -0400 (0:00:00.484) 0:01:45.137 ****** ok: [managed_node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 06 September 2024 21:27:35 -0400 (0:00:00.200) 0:01:45.338 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 06 September 2024 21:27:35 -0400 (0:00:00.215) 0:01:45.553 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 06 September 2024 21:27:36 -0400 (0:00:00.174) 0:01:45.727 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 06 September 2024 21:27:36 -0400 (0:00:00.099) 0:01:45.827 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 06 September 2024 21:27:36 -0400 (0:00:00.126) 0:01:45.954 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 06 September 2024 21:27:36 -0400 (0:00:00.130) 0:01:46.084 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 06 September 2024 21:27:36 -0400 (0:00:00.205) 0:01:46.290 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 06 September 2024 21:27:36 -0400 (0:00:00.122) 0:01:46.412 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 06 September 2024 21:27:37 -0400 (0:00:00.450) 0:01:46.862 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004265", "end": "2024-09-06 21:27:37.674217", "rc": 0, "start": "2024-09-06 21:27:37.669952" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.gkYxXL TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 06 September 2024 21:27:37 -0400 (0:00:00.527) 0:01:47.390 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 06 September 2024 21:27:37 -0400 (0:00:00.137) 0:01:47.527 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.gkYxXL] ***************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 06 September 2024 21:27:38 -0400 (0:00:00.131) 0:01:47.659 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 06 September 2024 21:27:38 -0400 (0:00:00.101) 0:01:47.760 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 06 September 2024 21:27:38 -0400 (0:00:00.297) 0:01:48.057 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004334", "end": "2024-09-06 21:27:38.806121", "rc": 0, "start": "2024-09-06 21:27:38.801787" } STDOUT: tlskey = /etc/pki/tls/private/ansible.i2etj5 TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 06 September 2024 21:27:38 -0400 (0:00:00.468) 0:01:48.526 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 06 September 2024 21:27:39 -0400 (0:00:00.171) 0:01:48.698 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.i2etj5] *************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 06 September 2024 21:27:39 -0400 (0:00:00.138) 0:01:48.837 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 06 September 2024 21:27:39 -0400 (0:00:00.084) 0:01:48.921 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 06 September 2024 21:27:39 -0400 (0:00:00.134) 0:01:49.055 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004251", "end": "2024-09-06 21:27:39.752092", "rc": 0, "start": "2024-09-06 21:27:39.747841" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 06 September 2024 21:27:39 -0400 (0:00:00.397) 0:01:49.453 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 06 September 2024 21:27:39 -0400 (0:00:00.082) 0:01:49.535 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 06 September 2024 21:27:40 -0400 (0:00:00.074) 0:01:49.609 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 06 September 2024 21:27:40 -0400 (0:00:00.092) 0:01:49.701 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 06 September 2024 21:27:40 -0400 (0:00:00.263) 0:01:49.965 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004391", "end": "2024-09-06 21:27:40.911273", "rc": 0, "start": "2024-09-06 21:27:40.906882" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 06 September 2024 21:27:41 -0400 (0:00:00.675) 0:01:50.640 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 06 September 2024 21:27:41 -0400 (0:00:00.124) 0:01:50.764 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 06 September 2024 21:27:41 -0400 (0:00:00.138) 0:01:50.903 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 06 September 2024 21:27:41 -0400 (0:00:00.240) 0:01:51.143 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:85 Friday 06 September 2024 21:27:41 -0400 (0:00:00.172) 0:01:51.316 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 06 September 2024 21:27:42 -0400 (0:00:00.509) 0:01:51.826 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 06 September 2024 21:27:42 -0400 (0:00:00.288) 0:01:52.114 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 06 September 2024 21:27:42 -0400 (0:00:00.184) 0:01:52.298 ****** 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-8E3/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-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 06 September 2024 21:27:42 -0400 (0:00:00.188) 0:01:52.487 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 06 September 2024 21:27:43 -0400 (0:00:00.112) 0:01:52.600 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 06 September 2024 21:27:43 -0400 (0:00:00.112) 0:01:52.712 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 06 September 2024 21:27:43 -0400 (0:00:00.269) 0:01:52.982 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 06 September 2024 21:27:43 -0400 (0:00:00.202) 0:01:53.185 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 06 September 2024 21:27:43 -0400 (0:00:00.119) 0:01:53.304 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 06 September 2024 21:27:43 -0400 (0:00:00.106) 0:01:53.410 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 06 September 2024 21:27:43 -0400 (0:00:00.115) 0:01:53.526 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 06 September 2024 21:27:44 -0400 (0:00:00.076) 0:01:53.602 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 06 September 2024 21:27:44 -0400 (0:00:00.068) 0:01:53.671 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Friday 06 September 2024 21:27:44 -0400 (0:00:00.094) 0:01:53.765 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Friday 06 September 2024 21:27:44 -0400 (0:00:00.139) 0:01:53.905 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Friday 06 September 2024 21:27:44 -0400 (0:00:00.126) 0:01:54.032 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Friday 06 September 2024 21:27:44 -0400 (0:00:00.147) 0:01:54.179 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 06 September 2024 21:27:44 -0400 (0:00:00.116) 0:01:54.295 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 06 September 2024 21:27:44 -0400 (0:00:00.104) 0:01:54.400 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Friday 06 September 2024 21:27:44 -0400 (0:00:00.100) 0:01:54.500 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Friday 06 September 2024 21:27:45 -0400 (0:00:00.086) 0:01:54.587 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Friday 06 September 2024 21:27:46 -0400 (0:00:01.459) 0:01:56.046 ****** skipping: [managed_node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed_node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed_node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 06 September 2024 21:27:46 -0400 (0:00:00.196) 0:01:56.243 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 06 September 2024 21:27:46 -0400 (0:00:00.106) 0:01:56.349 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Friday 06 September 2024 21:27:46 -0400 (0:00:00.130) 0:01:56.480 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Friday 06 September 2024 21:27:47 -0400 (0:00:00.204) 0:01:56.685 ****** ok: [managed_node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Friday 06 September 2024 21:27:47 -0400 (0:00:00.681) 0:01:57.366 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Friday 06 September 2024 21:27:47 -0400 (0:00:00.137) 0:01:57.504 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 06 September 2024 21:27:48 -0400 (0:00:00.121) 0:01:57.626 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Friday 06 September 2024 21:27:48 -0400 (0:00:00.089) 0:01:57.715 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 06 September 2024 21:27:48 -0400 (0:00:00.101) 0:01:57.817 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 06 September 2024 21:27:48 -0400 (0:00:00.071) 0:01:57.888 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Friday 06 September 2024 21:27:48 -0400 (0:00:00.140) 0:01:58.029 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 06 September 2024 21:27:48 -0400 (0:00:00.232) 0:01:58.261 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 06 September 2024 21:27:48 -0400 (0:00:00.094) 0:01:58.356 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 06 September 2024 21:27:49 -0400 (0:00:00.693) 0:01:59.049 ****** ok: [managed_node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Friday 06 September 2024 21:27:50 -0400 (0:00:00.662) 0:01:59.712 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Friday 06 September 2024 21:27:50 -0400 (0:00:00.270) 0:01:59.982 ****** 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.005368", "end": "2024-09-06 21:27:50.706852", "rc": 0, "start": "2024-09-06 21:27:50.701484" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Friday 06 September 2024 21:27:50 -0400 (0:00:00.452) 0:02:00.435 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Friday 06 September 2024 21:27:51 -0400 (0:00:01.050) 0:02:01.485 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Friday 06 September 2024 21:27:52 -0400 (0:00:00.097) 0:02:01.583 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Friday 06 September 2024 21:27:52 -0400 (0:00:00.068) 0:02:01.652 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Friday 06 September 2024 21:27:52 -0400 (0:00:00.081) 0:02:01.733 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Friday 06 September 2024 21:27:52 -0400 (0:00:00.120) 0:02:01.854 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Friday 06 September 2024 21:27:52 -0400 (0:00:00.085) 0:02:01.940 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Friday 06 September 2024 21:27:52 -0400 (0:00:00.099) 0:02:02.040 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 06 September 2024 21:27:53 -0400 (0:00:00.709) 0:02:02.750 ****** ok: [managed_node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-06 21:05:56 EDT", "ActiveEnterTimestampMonotonic": "43100735", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service system.slice systemd-journald.socket basic.target network.target systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-06 21:05:53 EDT", "AssertTimestampMonotonic": "39717099", "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-09-06 21:05:53 EDT", "ConditionTimestampMonotonic": "39717097", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "852", "ExecMainStartTimestamp": "Fri 2024-09-06 21:05:53 EDT", "ExecMainStartTimestampMonotonic": "39718871", "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-09-06 21:05:53 EDT", "InactiveExitTimestampMonotonic": "39718901", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "852", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service basic.target polkit.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-06 21:05:56 EDT", "WatchdogTimestampMonotonic": "43100105", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 06 September 2024 21:27:53 -0400 (0:00:00.587) 0:02:03.337 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.085278", "end": "2024-09-06 21:27:54.085781", "rc": 0, "start": "2024-09-06 21:27:54.000503" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Friday 06 September 2024 21:27:54 -0400 (0:00:00.477) 0:02:03.815 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 06 September 2024 21:27:54 -0400 (0:00:00.070) 0:02:03.886 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Friday 06 September 2024 21:27:54 -0400 (0:00:00.079) 0:02:03.965 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Friday 06 September 2024 21:27:54 -0400 (0:00:00.100) 0:02:04.066 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Friday 06 September 2024 21:27:55 -0400 (0:00:00.646) 0:02:04.713 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Friday 06 September 2024 21:27:55 -0400 (0:00:00.134) 0:02:04.847 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Friday 06 September 2024 21:27:55 -0400 (0:00:00.636) 0:02:05.483 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 06 September 2024 21:27:55 -0400 (0:00:00.077) 0:02:05.561 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Friday 06 September 2024 21:27:56 -0400 (0:00:00.077) 0:02:05.639 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 06 September 2024 21:27:56 -0400 (0:00:00.109) 0:02:05.749 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Friday 06 September 2024 21:27:56 -0400 (0:00:00.093) 0:02:05.843 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 06 September 2024 21:27:56 -0400 (0:00:00.098) 0:02:05.941 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 06 September 2024 21:27:56 -0400 (0:00:00.077) 0:02:06.019 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 06 September 2024 21:27:56 -0400 (0:00:00.066) 0:02:06.086 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Friday 06 September 2024 21:27:56 -0400 (0:00:00.068) 0:02:06.155 ****** 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.005336", "end": "2024-09-06 21:27:56.846552", "rc": 0, "start": "2024-09-06 21:27:56.841216" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 06 September 2024 21:27:56 -0400 (0:00:00.419) 0:02:06.575 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Friday 06 September 2024 21:27:57 -0400 (0:00:00.112) 0:02:06.688 ****** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Friday 06 September 2024 21:27:58 -0400 (0:00:01.599) 0:02:08.288 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 06 September 2024 21:27:58 -0400 (0:00:00.085) 0:02:08.373 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 06 September 2024 21:27:58 -0400 (0:00:00.110) 0:02:08.484 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Friday 06 September 2024 21:27:58 -0400 (0:00:00.083) 0:02:08.568 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Friday 06 September 2024 21:27:59 -0400 (0:00:00.092) 0:02:08.660 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:27:59 -0400 (0:00:00.123) 0:02:08.783 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003536", "end": "2024-09-06 21:27:59.468612", "failed_when_result": false, "rc": 1, "start": "2024-09-06 21:27:59.465076" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:27:59 -0400 (0:00:00.402) 0:02:09.186 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.118626", "end": "2024-09-06 21:28:00.023496", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:27:59.904870" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:28:00 -0400 (0:00:00.630) 0:02:09.817 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Friday 06 September 2024 21:28:00 -0400 (0:00:00.105) 0:02:09.923 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 06 September 2024 21:28:00 -0400 (0:00:00.107) 0:02:10.031 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 06 September 2024 21:28:00 -0400 (0:00:00.159) 0:02:10.190 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 06 September 2024 21:28:00 -0400 (0:00:00.073) 0:02:10.263 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 06 September 2024 21:28:00 -0400 (0:00:00.080) 0:02:10.344 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 06 September 2024 21:28:00 -0400 (0:00:00.070) 0:02:10.414 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Friday 06 September 2024 21:28:00 -0400 (0:00:00.073) 0:02:10.487 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Friday 06 September 2024 21:28:01 -0400 (0:00:00.106) 0:02:10.594 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 06 September 2024 21:28:01 -0400 (0:00:00.102) 0:02:10.696 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Friday 06 September 2024 21:28:01 -0400 (0:00:00.086) 0:02:10.783 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Friday 06 September 2024 21:28:01 -0400 (0:00:00.082) 0:02:10.865 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Friday 06 September 2024 21:28:01 -0400 (0:00:00.071) 0:02:10.936 ****** skipping: [managed_node2] => (item=/tmp/ansible.gkYxXL) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.gkYxXL", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=ansible.i2etj5) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.i2etj5", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Friday 06 September 2024 21:28:01 -0400 (0:00:00.084) 0:02:11.020 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:28:01 -0400 (0:00:00.138) 0:02:11.158 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003261", "end": "2024-09-06 21:28:01.857186", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:28:01.853925" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.gkYxXL TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:28:02 -0400 (0:00:00.428) 0:02:11.587 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:28:02 -0400 (0:00:00.205) 0:02:11.793 ****** 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.116656", "end": "2024-09-06 21:28:02.848153", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:28:02.731497" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Friday 06 September 2024 21:28:03 -0400 (0:00:00.833) 0:02:12.627 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:28:03 -0400 (0:00:00.531) 0:02:13.159 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003444", "end": "2024-09-06 21:28:03.988274", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:28:03.984830" } STDOUT: tlskey = /etc/pki/tls/private/ansible.i2etj5 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:28:04 -0400 (0:00:00.550) 0:02:13.709 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:28:04 -0400 (0:00:00.164) 0:02:13.873 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.119220", "end": "2024-09-06 21:28:05.030264", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:28:04.911044" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 06 September 2024 21:28:05 -0400 (0:00:00.927) 0:02:14.801 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:28:05 -0400 (0:00:00.241) 0:02:15.042 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003508", "end": "2024-09-06 21:28:05.956907", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:28:05.953399" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:28:06 -0400 (0:00:00.768) 0:02:15.811 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:28:06 -0400 (0:00:00.215) 0:02:16.026 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.116232", "end": "2024-09-06 21:28:07.137089", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:28:07.020857" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Friday 06 September 2024 21:28:07 -0400 (0:00:00.960) 0:02:16.987 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:28:07 -0400 (0:00:00.395) 0:02:17.382 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003316", "end": "2024-09-06 21:28:08.299695", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:28:08.296379" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:28:08 -0400 (0:00:00.779) 0:02:18.161 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:28:08 -0400 (0:00:00.201) 0:02:18.363 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.116756", "end": "2024-09-06 21:28:09.458266", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:28:09.341510" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Friday 06 September 2024 21:28:09 -0400 (0:00:00.962) 0:02:19.325 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Friday 06 September 2024 21:28:09 -0400 (0:00:00.205) 0:02:19.531 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 06 September 2024 21:28:10 -0400 (0:00:00.147) 0:02:19.679 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 06 September 2024 21:28:10 -0400 (0:00:00.408) 0:02:20.087 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Friday 06 September 2024 21:28:10 -0400 (0:00:00.179) 0:02:20.267 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Friday 06 September 2024 21:28:10 -0400 (0:00:00.213) 0:02:20.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 : Check if AD user exists] *************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Friday 06 September 2024 21:28:11 -0400 (0:00:00.190) 0:02:20.671 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Friday 06 September 2024 21:28:11 -0400 (0:00:00.204) 0:02:20.875 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Friday 06 September 2024 21:28:11 -0400 (0:00:00.162) 0:02:21.037 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Friday 06 September 2024 21:28:11 -0400 (0:00:00.220) 0:02:21.257 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Friday 06 September 2024 21:28:11 -0400 (0:00:00.220) 0:02:21.478 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Friday 06 September 2024 21:28:12 -0400 (0:00:00.176) 0:02:21.655 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Friday 06 September 2024 21:28:12 -0400 (0:00:00.222) 0:02:21.877 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Friday 06 September 2024 21:28:12 -0400 (0:00:00.277) 0:02:22.165 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Friday 06 September 2024 21:28:12 -0400 (0:00:00.205) 0:02:22.370 ****** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Friday 06 September 2024 21:28:12 -0400 (0:00:00.120) 0:02:22.491 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Friday 06 September 2024 21:28:13 -0400 (0:00:00.115) 0:02:22.607 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Friday 06 September 2024 21:28:13 -0400 (0:00:00.120) 0:02:22.728 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 06 September 2024 21:28:13 -0400 (0:00:00.115) 0:02:22.844 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Friday 06 September 2024 21:28:13 -0400 (0:00:00.156) 0:02:23.000 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 06 September 2024 21:28:13 -0400 (0:00:00.129) 0:02:23.129 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Friday 06 September 2024 21:28:13 -0400 (0:00:00.124) 0:02:23.254 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 06 September 2024 21:28:13 -0400 (0:00:00.208) 0:02:23.462 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 06 September 2024 21:28:14 -0400 (0:00:00.123) 0:02:23.586 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Friday 06 September 2024 21:28:14 -0400 (0:00:00.109) 0:02:23.695 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Friday 06 September 2024 21:28:14 -0400 (0:00:00.193) 0:02:23.889 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Friday 06 September 2024 21:28:14 -0400 (0:00:00.171) 0:02:24.061 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Friday 06 September 2024 21:28:14 -0400 (0:00:00.203) 0:02:24.264 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Friday 06 September 2024 21:28:14 -0400 (0:00:00.180) 0:02:24.445 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 06 September 2024 21:28:14 -0400 (0:00:00.116) 0:02:24.562 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 06 September 2024 21:28:15 -0400 (0:00:00.147) 0:02:24.709 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 06 September 2024 21:28:15 -0400 (0:00:00.114) 0:02:24.824 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1201 Friday 06 September 2024 21:28:15 -0400 (0:00:00.157) 0:02:24.982 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1211 Friday 06 September 2024 21:28:15 -0400 (0:00:00.116) 0:02:25.098 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Friday 06 September 2024 21:28:15 -0400 (0:00:00.113) 0:02:25.211 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1229 Friday 06 September 2024 21:28:15 -0400 (0:00:00.108) 0:02:25.320 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 06 September 2024 21:28:15 -0400 (0:00:00.105) 0:02:25.425 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1253 Friday 06 September 2024 21:28:15 -0400 (0:00:00.113) 0:02:25.539 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1262 Friday 06 September 2024 21:28:16 -0400 (0:00:00.185) 0:02:25.724 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1269 Friday 06 September 2024 21:28:16 -0400 (0:00:00.204) 0:02:25.928 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1276 Friday 06 September 2024 21:28:16 -0400 (0:00:00.145) 0:02:26.074 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1284 Friday 06 September 2024 21:28:16 -0400 (0:00:00.118) 0:02:26.193 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1291 Friday 06 September 2024 21:28:16 -0400 (0:00:00.183) 0:02:26.377 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Friday 06 September 2024 21:28:16 -0400 (0:00:00.140) 0:02:26.517 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 06 September 2024 21:28:17 -0400 (0:00:00.125) 0:02:26.643 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Friday 06 September 2024 21:28:17 -0400 (0:00:00.106) 0:02:26.749 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1325 Friday 06 September 2024 21:28:17 -0400 (0:00:00.134) 0:02:26.883 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 06 September 2024 21:28:17 -0400 (0:00:00.127) 0:02:27.010 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1346 Friday 06 September 2024 21:28:17 -0400 (0:00:00.118) 0:02:27.129 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Friday 06 September 2024 21:28:17 -0400 (0:00:00.130) 0:02:27.259 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Friday 06 September 2024 21:28:17 -0400 (0:00:00.129) 0:02:27.389 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1369 Friday 06 September 2024 21:28:17 -0400 (0:00:00.126) 0:02:27.515 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 06 September 2024 21:28:18 -0400 (0:00:00.156) 0:02:27.671 ****** changed: [managed_node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 06 September 2024 21:28:18 -0400 (0:00:00.801) 0:02:28.473 ****** changed: [managed_node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-06 21:27:25 EDT", "ActiveEnterTimestampMonotonic": "1331560180", "ActiveExitTimestamp": "Fri 2024-09-06 21:27:25 EDT", "ActiveExitTimestampMonotonic": "1331314687", "ActiveState": "active", "After": "-.mount system.slice auditd.service systemd-journald.socket basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-06 21:27:25 EDT", "AssertTimestampMonotonic": "1331559475", "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-09-06 21:27:25 EDT", "ConditionTimestampMonotonic": "1331559473", "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": "8357", "ExecMainStartTimestamp": "Fri 2024-09-06 21:27:25 EDT", "ExecMainStartTimestampMonotonic": "1331560125", "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-09-06 21:27:25 EDT", "InactiveEnterTimestampMonotonic": "1331558154", "InactiveExitTimestamp": "Fri 2024-09-06 21:27:25 EDT", "InactiveExitTimestampMonotonic": "1331560180", "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": "8357", "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-09-06 21:27:25 EDT", "WatchdogTimestampMonotonic": "1331560161", "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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 06 September 2024 21:28:19 -0400 (0:00:00.946) 0:02:29.420 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1398 Friday 06 September 2024 21:28:19 -0400 (0:00:00.112) 0:02:29.533 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:92 Friday 06 September 2024 21:28:20 -0400 (0:00:00.140) 0:02:29.673 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 06 September 2024 21:28:20 -0400 (0:00:00.606) 0:02:30.279 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 06 September 2024 21:28:20 -0400 (0:00:00.118) 0:02:30.398 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 06 September 2024 21:28:20 -0400 (0:00:00.130) 0:02:30.528 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 06 September 2024 21:28:21 -0400 (0:00:00.132) 0:02:30.661 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 06 September 2024 21:28:21 -0400 (0:00:00.095) 0:02:30.756 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 06 September 2024 21:28:21 -0400 (0:00:00.092) 0:02:30.849 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 06 September 2024 21:28:21 -0400 (0:00:00.073) 0:02:30.922 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 06 September 2024 21:28:21 -0400 (0:00:00.098) 0:02:31.020 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 06 September 2024 21:28:21 -0400 (0:00:00.128) 0:02:31.148 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 06 September 2024 21:28:21 -0400 (0:00:00.204) 0:02:31.353 ****** ok: [managed_node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-06 21:28:19 EDT", "ActiveEnterTimestampMonotonic": "1385926251", "ActiveExitTimestamp": "Fri 2024-09-06 21:28:19 EDT", "ActiveExitTimestampMonotonic": "1385701756", "ActiveState": "active", "After": "-.mount system.slice auditd.service systemd-journald.socket basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-06 21:28:19 EDT", "AssertTimestampMonotonic": "1385925216", "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-09-06 21:28:19 EDT", "ConditionTimestampMonotonic": "1385925215", "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": "10574", "ExecMainStartTimestamp": "Fri 2024-09-06 21:28:19 EDT", "ExecMainStartTimestampMonotonic": "1385925928", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-09-06 21:28:19 EDT] ; stop_time=[n/a] ; pid=10574 ; 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-09-06 21:28:19 EDT", "InactiveEnterTimestampMonotonic": "1385923637", "InactiveExitTimestamp": "Fri 2024-09-06 21:28:19 EDT", "InactiveExitTimestampMonotonic": "1385926251", "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": "10574", "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-09-06 21:28:19 EDT", "WatchdogTimestampMonotonic": "1385925979", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 06 September 2024 21:28:22 -0400 (0:00:00.816) 0:02:32.169 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003975", "end": "2024-09-06 21:28:23.310400", "failed_when_result": false, "rc": 1, "start": "2024-09-06 21:28:23.306425" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 06 September 2024 21:28:23 -0400 (0:00:00.905) 0:02:33.075 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004596", "end": "2024-09-06 21:28:23.830416", "failed_when_result": false, "rc": 1, "start": "2024-09-06 21:28:23.825820" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 06 September 2024 21:28:23 -0400 (0:00:00.473) 0:02:33.548 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 06 September 2024 21:28:24 -0400 (0:00:00.110) 0:02:33.659 ****** 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": 7262, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 06 September 2024 21:28:25 -0400 (0:00:01.511) 0:02:35.170 ****** 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.030093", "end": "2024-09-06 21:28:25.971143", "rc": 0, "start": "2024-09-06 21:28:25.941050" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU27) (KB5037331) - 15.0.4375.4 (X64) Jun 10 2024 18:00:07 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 06 September 2024 21:28:26 -0400 (0:00:00.622) 0:02:35.793 ****** ok: [managed_node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 06 September 2024 21:28:26 -0400 (0:00:00.209) 0:02:36.003 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 06 September 2024 21:28:26 -0400 (0:00:00.130) 0:02:36.134 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 06 September 2024 21:28:26 -0400 (0:00:00.168) 0:02:36.302 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 06 September 2024 21:28:26 -0400 (0:00:00.105) 0:02:36.408 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 06 September 2024 21:28:26 -0400 (0:00:00.122) 0:02:36.531 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 06 September 2024 21:28:27 -0400 (0:00:00.127) 0:02:36.658 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 06 September 2024 21:28:27 -0400 (0:00:00.110) 0:02:36.768 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 06 September 2024 21:28:27 -0400 (0:00:00.109) 0:02:36.877 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 06 September 2024 21:28:27 -0400 (0:00:00.199) 0:02:37.076 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004199", "end": "2024-09-06 21:28:27.801489", "rc": 0, "start": "2024-09-06 21:28:27.797290" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 06 September 2024 21:28:27 -0400 (0:00:00.446) 0:02:37.523 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 06 September 2024 21:28:28 -0400 (0:00:00.135) 0:02:37.659 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 06 September 2024 21:28:28 -0400 (0:00:00.117) 0:02:37.777 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 06 September 2024 21:28:28 -0400 (0:00:00.191) 0:02:37.968 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 06 September 2024 21:28:28 -0400 (0:00:00.315) 0:02:38.284 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004301", "end": "2024-09-06 21:28:29.207369", "rc": 0, "start": "2024-09-06 21:28:29.203068" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 06 September 2024 21:28:29 -0400 (0:00:00.709) 0:02:38.993 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 06 September 2024 21:28:29 -0400 (0:00:00.153) 0:02:39.147 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 06 September 2024 21:28:29 -0400 (0:00:00.117) 0:02:39.264 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 06 September 2024 21:28:29 -0400 (0:00:00.123) 0:02:39.388 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 06 September 2024 21:28:30 -0400 (0:00:00.209) 0:02:39.597 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004348", "end": "2024-09-06 21:28:30.305544", "rc": 0, "start": "2024-09-06 21:28:30.301196" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 06 September 2024 21:28:30 -0400 (0:00:00.429) 0:02:40.026 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 06 September 2024 21:28:30 -0400 (0:00:00.133) 0:02:40.160 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 06 September 2024 21:28:30 -0400 (0:00:00.240) 0:02:40.401 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 06 September 2024 21:28:31 -0400 (0:00:00.227) 0:02:40.629 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 06 September 2024 21:28:31 -0400 (0:00:00.289) 0:02:40.918 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004311", "end": "2024-09-06 21:28:31.779621", "rc": 0, "start": "2024-09-06 21:28:31.775310" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 06 September 2024 21:28:31 -0400 (0:00:00.590) 0:02:41.509 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 06 September 2024 21:28:32 -0400 (0:00:00.119) 0:02:41.628 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 06 September 2024 21:28:32 -0400 (0:00:00.196) 0:02:41.824 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 06 September 2024 21:28:32 -0400 (0:00:00.113) 0:02:41.938 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove certificates from hosts] ****************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:99 Friday 06 September 2024 21:28:32 -0400 (0:00:00.111) 0:02:42.050 ****** changed: [managed_node2] => (item=/etc/pki/tls/certs/ansible.gkYxXL) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/certs/ansible.gkYxXL", "path": "/etc/pki/tls/certs/ansible.gkYxXL", "state": "absent" } changed: [managed_node2] => (item=/etc/pki/tls/private/ansible.i2etj5) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/private/ansible.i2etj5", "path": "/etc/pki/tls/private/ansible.i2etj5", "state": "absent" } TASK [Copy certificates to hosts] ********************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:107 Friday 06 September 2024 21:28:33 -0400 (0:00:00.849) 0:02:42.899 ****** ok: [managed_node2] => (item=/tmp/ansible.gkYxXL) => { "ansible_loop_var": "item", "changed": false, "checksum": "8c926d8661f2f3ac85783edcff330b0baf9e797d", "dest": "/tmp/ansible.gkYxXL", "gid": 0, "group": "root", "item": "/tmp/ansible.gkYxXL", "mode": "0600", "owner": "root", "path": "/tmp/ansible.gkYxXL", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1103, "state": "file", "uid": 0 } ok: [managed_node2] => (item=/tmp/ansible.i2etj5) => { "ansible_loop_var": "item", "changed": false, "checksum": "49ce5d15ae761858a4230a3efab33d2cb49329ac", "dest": "/tmp/ansible.i2etj5", "gid": 0, "group": "root", "item": "/tmp/ansible.i2etj5", "mode": "0600", "owner": "root", "path": "/tmp/ansible.i2etj5", "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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:116 Friday 06 September 2024 21:28:34 -0400 (0:00:01.639) 0:02:44.539 ****** ok: [managed_node2] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.gkYxXL", "mssql_tls_private_key": "ansible.i2etj5" }, "changed": false } TASK [Test with certs on managed nodes] **************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:121 Friday 06 September 2024 21:28:35 -0400 (0:00:00.129) 0:02:44.668 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 06 September 2024 21:28:36 -0400 (0:00:01.727) 0:02:46.396 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 06 September 2024 21:28:37 -0400 (0:00:00.300) 0:02:46.697 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 06 September 2024 21:28:37 -0400 (0:00:00.170) 0:02:46.867 ****** 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-8E3/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-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 06 September 2024 21:28:37 -0400 (0:00:00.196) 0:02:47.063 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 06 September 2024 21:28:37 -0400 (0:00:00.118) 0:02:47.182 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 06 September 2024 21:28:37 -0400 (0:00:00.120) 0:02:47.302 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 06 September 2024 21:28:37 -0400 (0:00:00.202) 0:02:47.505 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 06 September 2024 21:28:38 -0400 (0:00:00.118) 0:02:47.623 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 06 September 2024 21:28:38 -0400 (0:00:00.111) 0:02:47.735 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 06 September 2024 21:28:38 -0400 (0:00:00.130) 0:02:47.865 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 06 September 2024 21:28:38 -0400 (0:00:00.135) 0:02:48.001 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 06 September 2024 21:28:38 -0400 (0:00:00.122) 0:02:48.124 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 06 September 2024 21:28:38 -0400 (0:00:00.111) 0:02:48.235 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Friday 06 September 2024 21:28:38 -0400 (0:00:00.117) 0:02:48.353 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Friday 06 September 2024 21:28:38 -0400 (0:00:00.195) 0:02:48.549 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Friday 06 September 2024 21:28:39 -0400 (0:00:00.123) 0:02:48.679 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Friday 06 September 2024 21:28:39 -0400 (0:00:00.134) 0:02:48.814 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 06 September 2024 21:28:39 -0400 (0:00:00.144) 0:02:48.959 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 06 September 2024 21:28:39 -0400 (0:00:00.141) 0:02:49.100 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Friday 06 September 2024 21:28:39 -0400 (0:00:00.117) 0:02:49.218 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Friday 06 September 2024 21:28:39 -0400 (0:00:00.361) 0:02:49.580 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Friday 06 September 2024 21:28:41 -0400 (0:00:01.466) 0:02:51.046 ****** skipping: [managed_node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed_node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed_node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 06 September 2024 21:28:41 -0400 (0:00:00.497) 0:02:51.543 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 06 September 2024 21:28:42 -0400 (0:00:00.262) 0:02:51.806 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Friday 06 September 2024 21:28:42 -0400 (0:00:00.121) 0:02:51.928 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Friday 06 September 2024 21:28:42 -0400 (0:00:00.222) 0:02:52.151 ****** ok: [managed_node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Friday 06 September 2024 21:28:43 -0400 (0:00:00.646) 0:02:52.798 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Friday 06 September 2024 21:28:43 -0400 (0:00:00.111) 0:02:52.909 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 06 September 2024 21:28:43 -0400 (0:00:00.122) 0:02:53.031 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Friday 06 September 2024 21:28:43 -0400 (0:00:00.233) 0:02:53.265 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 06 September 2024 21:28:43 -0400 (0:00:00.242) 0:02:53.507 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 06 September 2024 21:28:44 -0400 (0:00:00.141) 0:02:53.649 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Friday 06 September 2024 21:28:44 -0400 (0:00:00.115) 0:02:53.765 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 06 September 2024 21:28:44 -0400 (0:00:00.182) 0:02:53.947 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 06 September 2024 21:28:44 -0400 (0:00:00.142) 0:02:54.089 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 06 September 2024 21:28:45 -0400 (0:00:00.822) 0:02:54.912 ****** ok: [managed_node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Friday 06 September 2024 21:28:46 -0400 (0:00:00.692) 0:02:55.604 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Friday 06 September 2024 21:28:46 -0400 (0:00:00.108) 0:02:55.712 ****** 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.005228", "end": "2024-09-06 21:28:46.506779", "rc": 0, "start": "2024-09-06 21:28:46.501551" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Friday 06 September 2024 21:28:46 -0400 (0:00:00.587) 0:02:56.300 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Friday 06 September 2024 21:28:47 -0400 (0:00:01.126) 0:02:57.426 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Friday 06 September 2024 21:28:48 -0400 (0:00:00.239) 0:02:57.666 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Friday 06 September 2024 21:28:48 -0400 (0:00:00.128) 0:02:57.794 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Friday 06 September 2024 21:28:48 -0400 (0:00:00.123) 0:02:57.918 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Friday 06 September 2024 21:28:48 -0400 (0:00:00.297) 0:02:58.216 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Friday 06 September 2024 21:28:48 -0400 (0:00:00.128) 0:02:58.344 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Friday 06 September 2024 21:28:48 -0400 (0:00:00.109) 0:02:58.454 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 06 September 2024 21:28:49 -0400 (0:00:00.705) 0:02:59.160 ****** ok: [managed_node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-06 21:05:56 EDT", "ActiveEnterTimestampMonotonic": "43100735", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service system.slice systemd-journald.socket basic.target network.target systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-06 21:05:53 EDT", "AssertTimestampMonotonic": "39717099", "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-09-06 21:05:53 EDT", "ConditionTimestampMonotonic": "39717097", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "852", "ExecMainStartTimestamp": "Fri 2024-09-06 21:05:53 EDT", "ExecMainStartTimestampMonotonic": "39718871", "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-09-06 21:05:53 EDT", "InactiveExitTimestampMonotonic": "39718901", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "852", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service basic.target polkit.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-06 21:05:56 EDT", "WatchdogTimestampMonotonic": "43100105", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 06 September 2024 21:28:50 -0400 (0:00:00.666) 0:02:59.827 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.083635", "end": "2024-09-06 21:28:50.656625", "rc": 0, "start": "2024-09-06 21:28:50.572990" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Friday 06 September 2024 21:28:50 -0400 (0:00:00.623) 0:03:00.450 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 06 September 2024 21:28:51 -0400 (0:00:00.147) 0:03:00.598 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Friday 06 September 2024 21:28:51 -0400 (0:00:00.132) 0:03:00.731 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Friday 06 September 2024 21:28:51 -0400 (0:00:00.134) 0:03:00.865 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Friday 06 September 2024 21:28:51 -0400 (0:00:00.549) 0:03:01.415 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Friday 06 September 2024 21:28:52 -0400 (0:00:00.238) 0:03:01.653 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Friday 06 September 2024 21:28:52 -0400 (0:00:00.820) 0:03:02.473 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 06 September 2024 21:28:53 -0400 (0:00:00.133) 0:03:02.607 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Friday 06 September 2024 21:28:53 -0400 (0:00:00.113) 0:03:02.721 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 06 September 2024 21:28:53 -0400 (0:00:00.117) 0:03:02.839 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Friday 06 September 2024 21:28:53 -0400 (0:00:00.149) 0:03:02.988 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 06 September 2024 21:28:53 -0400 (0:00:00.229) 0:03:03.218 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 06 September 2024 21:28:53 -0400 (0:00:00.138) 0:03:03.357 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 06 September 2024 21:28:53 -0400 (0:00:00.177) 0:03:03.541 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Friday 06 September 2024 21:28:54 -0400 (0:00:00.187) 0:03:03.729 ****** 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.005215", "end": "2024-09-06 21:28:54.588313", "rc": 0, "start": "2024-09-06 21:28:54.583098" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 06 September 2024 21:28:54 -0400 (0:00:00.578) 0:03:04.308 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Friday 06 September 2024 21:28:54 -0400 (0:00:00.115) 0:03:04.423 ****** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Friday 06 September 2024 21:28:56 -0400 (0:00:01.546) 0:03:05.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 : Configure the IP address setting] ****** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 06 September 2024 21:28:56 -0400 (0:00:00.210) 0:03:06.180 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 06 September 2024 21:28:56 -0400 (0:00:00.180) 0:03:06.360 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Friday 06 September 2024 21:28:56 -0400 (0:00:00.117) 0:03:06.478 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Friday 06 September 2024 21:28:57 -0400 (0:00:00.119) 0:03:06.597 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:28:57 -0400 (0:00:00.319) 0:03:06.917 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003119", "end": "2024-09-06 21:28:57.829897", "failed_when_result": false, "rc": 1, "start": "2024-09-06 21:28:57.826778" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:28:57 -0400 (0:00:00.653) 0:03:07.570 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.119519", "end": "2024-09-06 21:28:58.440505", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:28:58.320986" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:28:58 -0400 (0:00:00.688) 0:03:08.259 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Friday 06 September 2024 21:28:58 -0400 (0:00:00.154) 0:03:08.414 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 06 September 2024 21:28:58 -0400 (0:00:00.130) 0:03:08.544 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 06 September 2024 21:28:59 -0400 (0:00:00.106) 0:03:08.650 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 06 September 2024 21:28:59 -0400 (0:00:00.134) 0:03:08.785 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 06 September 2024 21:28:59 -0400 (0:00:00.105) 0:03:08.891 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 06 September 2024 21:28:59 -0400 (0:00:00.111) 0:03:09.002 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Friday 06 September 2024 21:28:59 -0400 (0:00:00.142) 0:03:09.145 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Friday 06 September 2024 21:28:59 -0400 (0:00:00.114) 0:03:09.259 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 06 September 2024 21:28:59 -0400 (0:00:00.124) 0:03:09.383 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Friday 06 September 2024 21:28:59 -0400 (0:00:00.078) 0:03:09.461 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Friday 06 September 2024 21:29:00 -0400 (0:00:00.126) 0:03:09.588 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Friday 06 September 2024 21:29:00 -0400 (0:00:00.170) 0:03:09.759 ****** changed: [managed_node2] => (item=/tmp/ansible.gkYxXL) => { "ansible_loop_var": "item", "changed": true, "checksum": "8c926d8661f2f3ac85783edcff330b0baf9e797d", "dest": "/etc/pki/tls/certs/ansible.gkYxXL", "gid": 994, "group": "mssql", "item": "/tmp/ansible.gkYxXL", "md5sum": "68be222d7471a9af5659bda7741aa761", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1103, "src": "/tmp/ansible.gkYxXL", "state": "file", "uid": 996 } changed: [managed_node2] => (item=/tmp/ansible.i2etj5) => { "ansible_loop_var": "item", "changed": true, "checksum": "49ce5d15ae761858a4230a3efab33d2cb49329ac", "dest": "/etc/pki/tls/private/ansible.i2etj5", "gid": 994, "group": "mssql", "item": "/tmp/ansible.i2etj5", "md5sum": "f847d97e5f799ac3fed5231a4a7c5b53", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/tmp/ansible.i2etj5", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Friday 06 September 2024 21:29:00 -0400 (0:00:00.778) 0:03:10.537 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:29:01 -0400 (0:00:00.203) 0:03:10.741 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003186", "end": "2024-09-06 21:29:01.415970", "failed_when_result": false, "rc": 1, "start": "2024-09-06 21:29:01.412784" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:29:01 -0400 (0:00:00.390) 0:03:11.132 ****** 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.gkYxXL" ], "delta": "0:00:00.120185", "end": "2024-09-06 21:29:01.995710", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:29:01.875525" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:29:02 -0400 (0:00:00.673) 0:03:11.805 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Friday 06 September 2024 21:29:02 -0400 (0:00:00.122) 0:03:11.927 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:29:02 -0400 (0:00:00.232) 0:03:12.159 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003157", "end": "2024-09-06 21:29:02.916978", "failed_when_result": false, "rc": 1, "start": "2024-09-06 21:29:02.913821" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:29:03 -0400 (0:00:00.554) 0:03:12.714 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.i2etj5" ], "delta": "0:00:00.121558", "end": "2024-09-06 21:29:03.607529", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:29:03.485971" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:29:03 -0400 (0:00:00.665) 0:03:13.380 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 06 September 2024 21:29:03 -0400 (0:00:00.128) 0:03:13.508 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:29:04 -0400 (0:00:00.306) 0:03:13.815 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003175", "end": "2024-09-06 21:29:04.575672", "failed_when_result": false, "rc": 1, "start": "2024-09-06 21:29:04.572497" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:29:04 -0400 (0:00:00.495) 0:03:14.311 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.120485", "end": "2024-09-06 21:29:05.165190", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:29:05.044705" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:29:05 -0400 (0:00:00.713) 0:03:15.025 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Friday 06 September 2024 21:29:05 -0400 (0:00:00.224) 0:03:15.249 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:29:05 -0400 (0:00:00.269) 0:03:15.519 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003174", "end": "2024-09-06 21:29:06.354086", "failed_when_result": false, "rc": 1, "start": "2024-09-06 21:29:06.350912" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:29:06 -0400 (0:00:00.616) 0:03:16.136 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.116265", "end": "2024-09-06 21:29:06.982619", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:29:06.866354" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:29:07 -0400 (0:00:00.556) 0:03:16.692 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Friday 06 September 2024 21:29:07 -0400 (0:00:00.092) 0:03:16.785 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Friday 06 September 2024 21:29:07 -0400 (0:00:00.073) 0:03:16.859 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 06 September 2024 21:29:07 -0400 (0:00:00.070) 0:03:16.929 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 06 September 2024 21:29:07 -0400 (0:00:00.073) 0:03:17.002 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Friday 06 September 2024 21:29:07 -0400 (0:00:00.072) 0:03:17.075 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Friday 06 September 2024 21:29:07 -0400 (0:00:00.074) 0:03:17.149 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Friday 06 September 2024 21:29:07 -0400 (0:00:00.071) 0:03:17.221 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Friday 06 September 2024 21:29:07 -0400 (0:00:00.072) 0:03:17.293 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Friday 06 September 2024 21:29:07 -0400 (0:00:00.072) 0:03:17.366 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Friday 06 September 2024 21:29:07 -0400 (0:00:00.070) 0:03:17.436 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Friday 06 September 2024 21:29:07 -0400 (0:00:00.089) 0:03:17.526 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Friday 06 September 2024 21:29:08 -0400 (0:00:00.093) 0:03:17.619 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Friday 06 September 2024 21:29:08 -0400 (0:00:00.220) 0:03:17.840 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Friday 06 September 2024 21:29:08 -0400 (0:00:00.113) 0:03:17.953 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Friday 06 September 2024 21:29:08 -0400 (0:00:00.112) 0:03:18.066 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Friday 06 September 2024 21:29:08 -0400 (0:00:00.111) 0:03:18.177 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Friday 06 September 2024 21:29:08 -0400 (0:00:00.108) 0:03:18.285 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Friday 06 September 2024 21:29:08 -0400 (0:00:00.112) 0:03:18.398 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 06 September 2024 21:29:08 -0400 (0:00:00.106) 0:03:18.504 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Friday 06 September 2024 21:29:09 -0400 (0:00:00.108) 0:03:18.613 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 06 September 2024 21:29:09 -0400 (0:00:00.104) 0:03:18.717 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Friday 06 September 2024 21:29:09 -0400 (0:00:00.084) 0:03:18.801 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 06 September 2024 21:29:09 -0400 (0:00:00.095) 0:03:18.897 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 06 September 2024 21:29:09 -0400 (0:00:00.080) 0:03:18.978 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Friday 06 September 2024 21:29:09 -0400 (0:00:00.071) 0:03:19.049 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Friday 06 September 2024 21:29:09 -0400 (0:00:00.068) 0:03:19.118 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Friday 06 September 2024 21:29:09 -0400 (0:00:00.070) 0:03:19.189 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Friday 06 September 2024 21:29:09 -0400 (0:00:00.110) 0:03:19.299 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Friday 06 September 2024 21:29:09 -0400 (0:00:00.103) 0:03:19.403 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 06 September 2024 21:29:09 -0400 (0:00:00.108) 0:03:19.511 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 06 September 2024 21:29:10 -0400 (0:00:00.128) 0:03:19.640 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 06 September 2024 21:29:10 -0400 (0:00:00.210) 0:03:19.850 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1201 Friday 06 September 2024 21:29:10 -0400 (0:00:00.112) 0:03:19.963 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1211 Friday 06 September 2024 21:29:10 -0400 (0:00:00.115) 0:03:20.079 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Friday 06 September 2024 21:29:10 -0400 (0:00:00.112) 0:03:20.191 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1229 Friday 06 September 2024 21:29:10 -0400 (0:00:00.114) 0:03:20.305 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 06 September 2024 21:29:10 -0400 (0:00:00.114) 0:03:20.420 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1253 Friday 06 September 2024 21:29:10 -0400 (0:00:00.109) 0:03:20.530 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1262 Friday 06 September 2024 21:29:11 -0400 (0:00:00.109) 0:03:20.640 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1269 Friday 06 September 2024 21:29:11 -0400 (0:00:00.112) 0:03:20.752 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1276 Friday 06 September 2024 21:29:11 -0400 (0:00:00.106) 0:03:20.859 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1284 Friday 06 September 2024 21:29:11 -0400 (0:00:00.128) 0:03:20.987 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1291 Friday 06 September 2024 21:29:11 -0400 (0:00:00.096) 0:03:21.084 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Friday 06 September 2024 21:29:11 -0400 (0:00:00.089) 0:03:21.174 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 06 September 2024 21:29:11 -0400 (0:00:00.069) 0:03:21.243 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Friday 06 September 2024 21:29:11 -0400 (0:00:00.071) 0:03:21.314 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1325 Friday 06 September 2024 21:29:11 -0400 (0:00:00.068) 0:03:21.383 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 06 September 2024 21:29:11 -0400 (0:00:00.099) 0:03:21.483 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1346 Friday 06 September 2024 21:29:12 -0400 (0:00:00.127) 0:03:21.610 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Friday 06 September 2024 21:29:12 -0400 (0:00:00.090) 0:03:21.701 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Friday 06 September 2024 21:29:12 -0400 (0:00:00.174) 0:03:21.875 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1369 Friday 06 September 2024 21:29:12 -0400 (0:00:00.074) 0:03:21.949 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 06 September 2024 21:29:12 -0400 (0:00:00.076) 0:03:22.026 ****** changed: [managed_node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 06 September 2024 21:29:13 -0400 (0:00:00.556) 0:03:22.582 ****** changed: [managed_node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-06 21:28:19 EDT", "ActiveEnterTimestampMonotonic": "1385926251", "ActiveExitTimestamp": "Fri 2024-09-06 21:28:19 EDT", "ActiveExitTimestampMonotonic": "1385701756", "ActiveState": "active", "After": "-.mount system.slice auditd.service systemd-journald.socket basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-06 21:28:19 EDT", "AssertTimestampMonotonic": "1385925216", "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-09-06 21:28:19 EDT", "ConditionTimestampMonotonic": "1385925215", "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": "10574", "ExecMainStartTimestamp": "Fri 2024-09-06 21:28:19 EDT", "ExecMainStartTimestampMonotonic": "1385925928", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-09-06 21:28:19 EDT] ; stop_time=[n/a] ; pid=10574 ; 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-09-06 21:28:19 EDT", "InactiveEnterTimestampMonotonic": "1385923637", "InactiveExitTimestamp": "Fri 2024-09-06 21:28:19 EDT", "InactiveExitTimestampMonotonic": "1385926251", "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": "10574", "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-09-06 21:28:19 EDT", "WatchdogTimestampMonotonic": "1385925979", "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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 06 September 2024 21:29:13 -0400 (0:00:00.936) 0:03:23.519 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1398 Friday 06 September 2024 21:29:14 -0400 (0:00:00.080) 0:03:23.599 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:131 Friday 06 September 2024 21:29:14 -0400 (0:00:00.109) 0:03:23.708 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 06 September 2024 21:29:14 -0400 (0:00:00.717) 0:03:24.426 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 06 September 2024 21:29:14 -0400 (0:00:00.105) 0:03:24.531 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 06 September 2024 21:29:15 -0400 (0:00:00.107) 0:03:24.639 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 06 September 2024 21:29:15 -0400 (0:00:00.112) 0:03:24.752 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 06 September 2024 21:29:15 -0400 (0:00:00.099) 0:03:24.851 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 06 September 2024 21:29:15 -0400 (0:00:00.214) 0:03:25.065 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 06 September 2024 21:29:15 -0400 (0:00:00.105) 0:03:25.171 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 06 September 2024 21:29:15 -0400 (0:00:00.123) 0:03:25.294 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 06 September 2024 21:29:15 -0400 (0:00:00.231) 0:03:25.526 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 06 September 2024 21:29:16 -0400 (0:00:00.216) 0:03:25.743 ****** ok: [managed_node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-06 21:29:13 EDT", "ActiveEnterTimestampMonotonic": "1440105218", "ActiveExitTimestamp": "Fri 2024-09-06 21:29:13 EDT", "ActiveExitTimestampMonotonic": "1439870561", "ActiveState": "active", "After": "-.mount system.slice auditd.service systemd-journald.socket basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-06 21:29:13 EDT", "AssertTimestampMonotonic": "1440103762", "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-09-06 21:29:13 EDT", "ConditionTimestampMonotonic": "1440103761", "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": "12962", "ExecMainStartTimestamp": "Fri 2024-09-06 21:29:13 EDT", "ExecMainStartTimestampMonotonic": "1440104475", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-09-06 21:29:13 EDT] ; stop_time=[n/a] ; pid=12962 ; 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-09-06 21:29:13 EDT", "InactiveEnterTimestampMonotonic": "1440102391", "InactiveExitTimestamp": "Fri 2024-09-06 21:29:13 EDT", "InactiveExitTimestampMonotonic": "1440105218", "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": "12962", "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-09-06 21:29:13 EDT", "WatchdogTimestampMonotonic": "1440105187", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 06 September 2024 21:29:17 -0400 (0:00:01.156) 0:03:26.899 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004136", "end": "2024-09-06 21:29:17.755597", "failed_when_result": false, "rc": 1, "start": "2024-09-06 21:29:17.751461" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 06 September 2024 21:29:17 -0400 (0:00:00.566) 0:03:27.465 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003131", "end": "2024-09-06 21:29:18.178861", "failed_when_result": false, "rc": 1, "start": "2024-09-06 21:29:18.175730" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 06 September 2024 21:29:18 -0400 (0:00:00.392) 0:03:27.858 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 06 September 2024 21:29:18 -0400 (0:00:00.090) 0:03:27.948 ****** 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": 7352, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 06 September 2024 21:29:19 -0400 (0:00:01.368) 0:03:29.316 ****** 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.035907", "end": "2024-09-06 21:29:20.024541", "rc": 0, "start": "2024-09-06 21:29:19.988634" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU27) (KB5037331) - 15.0.4375.4 (X64) Jun 10 2024 18:00:07 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 06 September 2024 21:29:20 -0400 (0:00:00.519) 0:03:29.836 ****** ok: [managed_node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 06 September 2024 21:29:20 -0400 (0:00:00.095) 0:03:29.932 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 06 September 2024 21:29:20 -0400 (0:00:00.070) 0:03:30.002 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 06 September 2024 21:29:20 -0400 (0:00:00.074) 0:03:30.077 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 06 September 2024 21:29:20 -0400 (0:00:00.069) 0:03:30.147 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 06 September 2024 21:29:20 -0400 (0:00:00.072) 0:03:30.219 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 06 September 2024 21:29:20 -0400 (0:00:00.069) 0:03:30.289 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 06 September 2024 21:29:20 -0400 (0:00:00.070) 0:03:30.359 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 06 September 2024 21:29:20 -0400 (0:00:00.083) 0:03:30.443 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 06 September 2024 21:29:20 -0400 (0:00:00.124) 0:03:30.568 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004337", "end": "2024-09-06 21:29:21.245474", "rc": 0, "start": "2024-09-06 21:29:21.241137" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.gkYxXL TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 06 September 2024 21:29:21 -0400 (0:00:00.351) 0:03:30.920 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 06 September 2024 21:29:21 -0400 (0:00:00.093) 0:03:31.014 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.gkYxXL] ***************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 06 September 2024 21:29:21 -0400 (0:00:00.111) 0:03:31.125 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 06 September 2024 21:29:21 -0400 (0:00:00.101) 0:03:31.227 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 06 September 2024 21:29:21 -0400 (0:00:00.164) 0:03:31.391 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004260", "end": "2024-09-06 21:29:22.083610", "rc": 0, "start": "2024-09-06 21:29:22.079350" } STDOUT: tlskey = /etc/pki/tls/private/ansible.i2etj5 TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 06 September 2024 21:29:22 -0400 (0:00:00.484) 0:03:31.875 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 06 September 2024 21:29:22 -0400 (0:00:00.094) 0:03:31.970 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.i2etj5] *************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 06 September 2024 21:29:22 -0400 (0:00:00.079) 0:03:32.050 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 06 September 2024 21:29:22 -0400 (0:00:00.074) 0:03:32.124 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 06 September 2024 21:29:22 -0400 (0:00:00.139) 0:03:32.264 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004327", "end": "2024-09-06 21:29:23.044238", "rc": 0, "start": "2024-09-06 21:29:23.039911" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 06 September 2024 21:29:23 -0400 (0:00:00.501) 0:03:32.766 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 06 September 2024 21:29:23 -0400 (0:00:00.110) 0:03:32.877 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 06 September 2024 21:29:23 -0400 (0:00:00.088) 0:03:32.965 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 06 September 2024 21:29:23 -0400 (0:00:00.076) 0:03:33.042 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 06 September 2024 21:29:23 -0400 (0:00:00.196) 0:03:33.239 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004425", "end": "2024-09-06 21:29:23.926726", "rc": 0, "start": "2024-09-06 21:29:23.922301" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 06 September 2024 21:29:24 -0400 (0:00:00.443) 0:03:33.682 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 06 September 2024 21:29:24 -0400 (0:00:00.111) 0:03:33.793 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 06 September 2024 21:29:24 -0400 (0:00:00.148) 0:03:33.942 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 06 September 2024 21:29:24 -0400 (0:00:00.155) 0:03:34.097 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:137 Friday 06 September 2024 21:29:24 -0400 (0:00:00.197) 0:03:34.294 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/check_header.yml:4 Friday 06 September 2024 21:29:25 -0400 (0:00:00.722) 0:03:35.017 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003282", "end": "2024-09-06 21:29:25.926789", "rc": 0, "start": "2024-09-06 21:29:25.923507" } 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.gkYxXL tlskey = /etc/pki/tls/private/ansible.i2etj5 tlsprotocols = 1.2 forceencryption = 1 TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:141 Friday 06 September 2024 21:29:26 -0400 (0:00:00.617) 0:03:35.634 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 06 September 2024 21:29:27 -0400 (0:00:01.075) 0:03:36.709 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 06 September 2024 21:29:27 -0400 (0:00:00.248) 0:03:36.958 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 06 September 2024 21:29:27 -0400 (0:00:00.118) 0:03:37.077 ****** 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-8E3/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-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 06 September 2024 21:29:27 -0400 (0:00:00.177) 0:03:37.255 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 06 September 2024 21:29:27 -0400 (0:00:00.104) 0:03:37.360 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 06 September 2024 21:29:27 -0400 (0:00:00.093) 0:03:37.453 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 06 September 2024 21:29:27 -0400 (0:00:00.081) 0:03:37.534 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 06 September 2024 21:29:28 -0400 (0:00:00.069) 0:03:37.604 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 06 September 2024 21:29:28 -0400 (0:00:00.071) 0:03:37.676 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 06 September 2024 21:29:28 -0400 (0:00:00.071) 0:03:37.747 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 06 September 2024 21:29:28 -0400 (0:00:00.074) 0:03:37.822 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 06 September 2024 21:29:28 -0400 (0:00:00.078) 0:03:37.900 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 06 September 2024 21:29:28 -0400 (0:00:00.070) 0:03:37.970 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Friday 06 September 2024 21:29:28 -0400 (0:00:00.075) 0:03:38.046 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Friday 06 September 2024 21:29:28 -0400 (0:00:00.078) 0:03:38.125 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Friday 06 September 2024 21:29:28 -0400 (0:00:00.070) 0:03:38.195 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Friday 06 September 2024 21:29:28 -0400 (0:00:00.070) 0:03:38.266 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 06 September 2024 21:29:28 -0400 (0:00:00.067) 0:03:38.334 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 06 September 2024 21:29:28 -0400 (0:00:00.071) 0:03:38.405 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Friday 06 September 2024 21:29:28 -0400 (0:00:00.072) 0:03:38.477 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Friday 06 September 2024 21:29:29 -0400 (0:00:00.167) 0:03:38.644 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Friday 06 September 2024 21:29:30 -0400 (0:00:01.393) 0:03:40.038 ****** skipping: [managed_node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed_node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed_node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 06 September 2024 21:29:30 -0400 (0:00:00.310) 0:03:40.349 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 06 September 2024 21:29:30 -0400 (0:00:00.138) 0:03:40.487 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Friday 06 September 2024 21:29:31 -0400 (0:00:00.130) 0:03:40.617 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Friday 06 September 2024 21:29:31 -0400 (0:00:00.185) 0:03:40.802 ****** ok: [managed_node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Friday 06 September 2024 21:29:31 -0400 (0:00:00.647) 0:03:41.450 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Friday 06 September 2024 21:29:31 -0400 (0:00:00.117) 0:03:41.567 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 06 September 2024 21:29:32 -0400 (0:00:00.139) 0:03:41.706 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Friday 06 September 2024 21:29:32 -0400 (0:00:00.129) 0:03:41.836 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 06 September 2024 21:29:32 -0400 (0:00:00.123) 0:03:41.959 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 06 September 2024 21:29:32 -0400 (0:00:00.407) 0:03:42.367 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Friday 06 September 2024 21:29:32 -0400 (0:00:00.154) 0:03:42.522 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 06 September 2024 21:29:33 -0400 (0:00:00.155) 0:03:42.677 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 06 September 2024 21:29:33 -0400 (0:00:00.110) 0:03:42.788 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 06 September 2024 21:29:34 -0400 (0:00:00.892) 0:03:43.681 ****** ok: [managed_node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Friday 06 September 2024 21:29:34 -0400 (0:00:00.733) 0:03:44.415 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Friday 06 September 2024 21:29:34 -0400 (0:00:00.108) 0:03:44.524 ****** 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.005555", "end": "2024-09-06 21:29:35.348453", "rc": 0, "start": "2024-09-06 21:29:35.342898" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Friday 06 September 2024 21:29:35 -0400 (0:00:00.660) 0:03:45.185 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Friday 06 September 2024 21:29:36 -0400 (0:00:01.368) 0:03:46.553 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Friday 06 September 2024 21:29:37 -0400 (0:00:00.187) 0:03:46.741 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Friday 06 September 2024 21:29:37 -0400 (0:00:00.108) 0:03:46.849 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Friday 06 September 2024 21:29:37 -0400 (0:00:00.111) 0:03:46.960 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Friday 06 September 2024 21:29:37 -0400 (0:00:00.150) 0:03:47.111 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Friday 06 September 2024 21:29:37 -0400 (0:00:00.162) 0:03:47.274 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Friday 06 September 2024 21:29:37 -0400 (0:00:00.113) 0:03:47.387 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 06 September 2024 21:29:38 -0400 (0:00:01.085) 0:03:48.473 ****** ok: [managed_node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-06 21:05:56 EDT", "ActiveEnterTimestampMonotonic": "43100735", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service system.slice systemd-journald.socket basic.target network.target systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-06 21:05:53 EDT", "AssertTimestampMonotonic": "39717099", "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-09-06 21:05:53 EDT", "ConditionTimestampMonotonic": "39717097", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "852", "ExecMainStartTimestamp": "Fri 2024-09-06 21:05:53 EDT", "ExecMainStartTimestampMonotonic": "39718871", "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-09-06 21:05:53 EDT", "InactiveExitTimestampMonotonic": "39718901", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "852", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service basic.target polkit.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-06 21:05:56 EDT", "WatchdogTimestampMonotonic": "43100105", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 06 September 2024 21:29:40 -0400 (0:00:01.167) 0:03:49.640 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.086817", "end": "2024-09-06 21:29:40.569836", "rc": 0, "start": "2024-09-06 21:29:40.483019" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Friday 06 September 2024 21:29:40 -0400 (0:00:00.748) 0:03:50.388 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 06 September 2024 21:29:40 -0400 (0:00:00.120) 0:03:50.509 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Friday 06 September 2024 21:29:41 -0400 (0:00:00.160) 0:03:50.669 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Friday 06 September 2024 21:29:41 -0400 (0:00:00.117) 0:03:50.786 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Friday 06 September 2024 21:29:41 -0400 (0:00:00.768) 0:03:51.554 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Friday 06 September 2024 21:29:42 -0400 (0:00:00.158) 0:03:51.713 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Friday 06 September 2024 21:29:43 -0400 (0:00:01.051) 0:03:52.764 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 06 September 2024 21:29:43 -0400 (0:00:00.173) 0:03:52.937 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Friday 06 September 2024 21:29:43 -0400 (0:00:00.139) 0:03:53.076 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 06 September 2024 21:29:43 -0400 (0:00:00.112) 0:03:53.189 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Friday 06 September 2024 21:29:43 -0400 (0:00:00.130) 0:03:53.320 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 06 September 2024 21:29:43 -0400 (0:00:00.117) 0:03:53.437 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 06 September 2024 21:29:43 -0400 (0:00:00.123) 0:03:53.561 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 06 September 2024 21:29:44 -0400 (0:00:00.122) 0:03:53.683 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Friday 06 September 2024 21:29:44 -0400 (0:00:00.117) 0:03:53.801 ****** 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.004992", "end": "2024-09-06 21:29:44.651454", "rc": 0, "start": "2024-09-06 21:29:44.646462" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 06 September 2024 21:29:44 -0400 (0:00:00.579) 0:03:54.381 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Friday 06 September 2024 21:29:45 -0400 (0:00:00.307) 0:03:54.688 ****** ok: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Friday 06 September 2024 21:29:46 -0400 (0:00:01.735) 0:03:56.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 : Configure the IP address setting] ****** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 06 September 2024 21:29:47 -0400 (0:00:00.201) 0:03:56.625 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 06 September 2024 21:29:47 -0400 (0:00:00.114) 0:03:56.740 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Friday 06 September 2024 21:29:47 -0400 (0:00:00.114) 0:03:56.855 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Friday 06 September 2024 21:29:47 -0400 (0:00:00.157) 0:03:57.012 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:29:47 -0400 (0:00:00.415) 0:03:57.427 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003270", "end": "2024-09-06 21:29:48.468693", "failed_when_result": false, "rc": 1, "start": "2024-09-06 21:29:48.465423" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:29:48 -0400 (0:00:00.834) 0:03:58.262 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.117032", "end": "2024-09-06 21:29:49.169818", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:29:49.052786" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:29:49 -0400 (0:00:00.674) 0:03:58.937 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Friday 06 September 2024 21:29:49 -0400 (0:00:00.117) 0:03:59.054 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 06 September 2024 21:29:49 -0400 (0:00:00.107) 0:03:59.162 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 06 September 2024 21:29:49 -0400 (0:00:00.119) 0:03:59.282 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 06 September 2024 21:29:49 -0400 (0:00:00.275) 0:03:59.558 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 06 September 2024 21:29:50 -0400 (0:00:00.146) 0:03:59.704 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 06 September 2024 21:29:50 -0400 (0:00:00.161) 0:03:59.865 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Friday 06 September 2024 21:29:50 -0400 (0:00:00.119) 0:03:59.985 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Friday 06 September 2024 21:29:50 -0400 (0:00:00.151) 0:04:00.137 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 06 September 2024 21:29:50 -0400 (0:00:00.152) 0:04:00.289 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Friday 06 September 2024 21:29:50 -0400 (0:00:00.130) 0:04:00.420 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Friday 06 September 2024 21:29:50 -0400 (0:00:00.153) 0:04:00.573 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Friday 06 September 2024 21:29:51 -0400 (0:00:00.139) 0:04:00.712 ****** skipping: [managed_node2] => (item=/tmp/ansible.gkYxXL) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.gkYxXL", "skip_reason": "Conditional result was False" } skipping: [managed_node2] => (item=ansible.i2etj5) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.i2etj5", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Friday 06 September 2024 21:29:51 -0400 (0:00:00.182) 0:04:00.895 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:29:51 -0400 (0:00:00.238) 0:04:01.133 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003285", "end": "2024-09-06 21:29:51.863344", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:29:51.860059" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.gkYxXL TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:29:51 -0400 (0:00:00.406) 0:04:01.540 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:29:52 -0400 (0:00:00.084) 0:04:01.624 ****** 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.116427", "end": "2024-09-06 21:29:52.429761", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:29:52.313334" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Friday 06 September 2024 21:29:52 -0400 (0:00:00.487) 0:04:02.112 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:29:52 -0400 (0:00:00.179) 0:04:02.292 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003231", "end": "2024-09-06 21:29:53.136569", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:29:53.133338" } STDOUT: tlskey = /etc/pki/tls/private/ansible.i2etj5 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:29:53 -0400 (0:00:00.699) 0:04:02.991 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:29:53 -0400 (0:00:00.125) 0:04:03.117 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.121131", "end": "2024-09-06 21:29:54.193327", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:29:54.072196" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 06 September 2024 21:29:54 -0400 (0:00:00.851) 0:04:03.969 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:29:54 -0400 (0:00:00.403) 0:04:04.372 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003292", "end": "2024-09-06 21:29:55.274710", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:29:55.271418" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:29:55 -0400 (0:00:00.737) 0:04:05.110 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:29:55 -0400 (0:00:00.137) 0:04:05.247 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.115771", "end": "2024-09-06 21:29:56.321763", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:29:56.205992" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Friday 06 September 2024 21:29:56 -0400 (0:00:00.808) 0:04:06.055 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:29:56 -0400 (0:00:00.233) 0:04:06.288 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003223", "end": "2024-09-06 21:29:57.118293", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:29:57.115070" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:29:57 -0400 (0:00:00.553) 0:04:06.841 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:29:57 -0400 (0:00:00.132) 0:04:06.974 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.116583", "end": "2024-09-06 21:29:57.928897", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:29:57.812314" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Friday 06 September 2024 21:29:58 -0400 (0:00:00.758) 0:04:07.733 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Friday 06 September 2024 21:29:58 -0400 (0:00:00.128) 0:04:07.861 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 06 September 2024 21:29:58 -0400 (0:00:00.109) 0:04:07.971 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 06 September 2024 21:29:58 -0400 (0:00:00.235) 0:04:08.206 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Friday 06 September 2024 21:29:58 -0400 (0:00:00.078) 0:04:08.285 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Friday 06 September 2024 21:29:58 -0400 (0:00:00.074) 0:04:08.360 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Friday 06 September 2024 21:29:58 -0400 (0:00:00.075) 0:04:08.435 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Friday 06 September 2024 21:29:58 -0400 (0:00:00.072) 0:04:08.508 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Friday 06 September 2024 21:29:59 -0400 (0:00:00.073) 0:04:08.582 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Friday 06 September 2024 21:29:59 -0400 (0:00:00.074) 0:04:08.657 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Friday 06 September 2024 21:29:59 -0400 (0:00:00.102) 0:04:08.759 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Friday 06 September 2024 21:29:59 -0400 (0:00:00.112) 0:04:08.872 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Friday 06 September 2024 21:29:59 -0400 (0:00:00.166) 0:04:09.039 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Friday 06 September 2024 21:29:59 -0400 (0:00:00.186) 0:04:09.225 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Friday 06 September 2024 21:29:59 -0400 (0:00:00.193) 0:04:09.418 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Friday 06 September 2024 21:30:00 -0400 (0:00:00.212) 0:04:09.631 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Friday 06 September 2024 21:30:00 -0400 (0:00:00.115) 0:04:09.747 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Friday 06 September 2024 21:30:00 -0400 (0:00:00.124) 0:04:09.871 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 06 September 2024 21:30:00 -0400 (0:00:00.135) 0:04:10.007 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Friday 06 September 2024 21:30:00 -0400 (0:00:00.115) 0:04:10.122 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 06 September 2024 21:30:00 -0400 (0:00:00.150) 0:04:10.273 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Friday 06 September 2024 21:30:00 -0400 (0:00:00.230) 0:04:10.503 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 06 September 2024 21:30:01 -0400 (0:00:00.345) 0:04:10.849 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 06 September 2024 21:30:01 -0400 (0:00:00.121) 0:04:10.970 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Friday 06 September 2024 21:30:01 -0400 (0:00:00.120) 0:04:11.090 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Friday 06 September 2024 21:30:01 -0400 (0:00:00.109) 0:04:11.200 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Friday 06 September 2024 21:30:01 -0400 (0:00:00.108) 0:04:11.309 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Friday 06 September 2024 21:30:01 -0400 (0:00:00.145) 0:04:11.454 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Friday 06 September 2024 21:30:02 -0400 (0:00:00.128) 0:04:11.582 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 06 September 2024 21:30:02 -0400 (0:00:00.093) 0:04:11.676 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 06 September 2024 21:30:02 -0400 (0:00:00.100) 0:04:11.776 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 06 September 2024 21:30:02 -0400 (0:00:00.118) 0:04:11.894 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1201 Friday 06 September 2024 21:30:02 -0400 (0:00:00.132) 0:04:12.027 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1211 Friday 06 September 2024 21:30:02 -0400 (0:00:00.110) 0:04:12.138 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Friday 06 September 2024 21:30:02 -0400 (0:00:00.173) 0:04:12.312 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1229 Friday 06 September 2024 21:30:02 -0400 (0:00:00.134) 0:04:12.446 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 06 September 2024 21:30:02 -0400 (0:00:00.109) 0:04:12.555 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1253 Friday 06 September 2024 21:30:03 -0400 (0:00:00.102) 0:04:12.657 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1262 Friday 06 September 2024 21:30:03 -0400 (0:00:00.080) 0:04:12.738 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1269 Friday 06 September 2024 21:30:03 -0400 (0:00:00.114) 0:04:12.853 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1276 Friday 06 September 2024 21:30:03 -0400 (0:00:00.108) 0:04:12.961 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1284 Friday 06 September 2024 21:30:03 -0400 (0:00:00.457) 0:04:13.419 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1291 Friday 06 September 2024 21:30:03 -0400 (0:00:00.144) 0:04:13.563 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Friday 06 September 2024 21:30:04 -0400 (0:00:00.161) 0:04:13.725 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 06 September 2024 21:30:04 -0400 (0:00:00.090) 0:04:13.815 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Friday 06 September 2024 21:30:04 -0400 (0:00:00.112) 0:04:13.927 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1325 Friday 06 September 2024 21:30:04 -0400 (0:00:00.113) 0:04:14.041 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 06 September 2024 21:30:04 -0400 (0:00:00.177) 0:04:14.218 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1346 Friday 06 September 2024 21:30:04 -0400 (0:00:00.265) 0:04:14.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 [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Friday 06 September 2024 21:30:05 -0400 (0:00:00.133) 0:04:14.618 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Friday 06 September 2024 21:30:05 -0400 (0:00:00.145) 0:04:14.763 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1369 Friday 06 September 2024 21:30:05 -0400 (0:00:00.132) 0:04:14.895 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 06 September 2024 21:30:05 -0400 (0:00:00.112) 0:04:15.008 ****** changed: [managed_node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 06 September 2024 21:30:06 -0400 (0:00:00.635) 0:04:15.644 ****** changed: [managed_node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-06 21:29:13 EDT", "ActiveEnterTimestampMonotonic": "1440105218", "ActiveExitTimestamp": "Fri 2024-09-06 21:29:13 EDT", "ActiveExitTimestampMonotonic": "1439870561", "ActiveState": "active", "After": "-.mount system.slice auditd.service systemd-journald.socket basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-06 21:29:13 EDT", "AssertTimestampMonotonic": "1440103762", "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-09-06 21:29:13 EDT", "ConditionTimestampMonotonic": "1440103761", "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": "12962", "ExecMainStartTimestamp": "Fri 2024-09-06 21:29:13 EDT", "ExecMainStartTimestampMonotonic": "1440104475", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-09-06 21:29:13 EDT] ; stop_time=[n/a] ; pid=12962 ; 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-09-06 21:29:13 EDT", "InactiveEnterTimestampMonotonic": "1440102391", "InactiveExitTimestamp": "Fri 2024-09-06 21:29:13 EDT", "InactiveExitTimestampMonotonic": "1440105218", "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": "12962", "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-09-06 21:29:13 EDT", "WatchdogTimestampMonotonic": "1440105187", "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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 06 September 2024 21:30:06 -0400 (0:00:00.869) 0:04:16.514 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1398 Friday 06 September 2024 21:30:07 -0400 (0:00:00.119) 0:04:16.633 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:147 Friday 06 September 2024 21:30:07 -0400 (0:00:00.127) 0:04:16.761 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 06 September 2024 21:30:08 -0400 (0:00:01.084) 0:04:17.845 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 06 September 2024 21:30:08 -0400 (0:00:00.123) 0:04:17.969 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 06 September 2024 21:30:08 -0400 (0:00:00.139) 0:04:18.109 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 06 September 2024 21:30:08 -0400 (0:00:00.113) 0:04:18.222 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 06 September 2024 21:30:08 -0400 (0:00:00.129) 0:04:18.351 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 06 September 2024 21:30:08 -0400 (0:00:00.129) 0:04:18.481 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 06 September 2024 21:30:09 -0400 (0:00:00.129) 0:04:18.611 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 06 September 2024 21:30:09 -0400 (0:00:00.121) 0:04:18.732 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 06 September 2024 21:30:09 -0400 (0:00:00.113) 0:04:18.845 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 06 September 2024 21:30:09 -0400 (0:00:00.249) 0:04:19.095 ****** ok: [managed_node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-06 21:30:06 EDT", "ActiveEnterTimestampMonotonic": "1493074358", "ActiveExitTimestamp": "Fri 2024-09-06 21:30:06 EDT", "ActiveExitTimestampMonotonic": "1492846794", "ActiveState": "active", "After": "-.mount system.slice auditd.service systemd-journald.socket basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-06 21:30:06 EDT", "AssertTimestampMonotonic": "1493073511", "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-09-06 21:30:06 EDT", "ConditionTimestampMonotonic": "1493073509", "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": "15056", "ExecMainStartTimestamp": "Fri 2024-09-06 21:30:06 EDT", "ExecMainStartTimestampMonotonic": "1493074293", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-09-06 21:30:06 EDT] ; stop_time=[n/a] ; pid=15056 ; 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-09-06 21:30:06 EDT", "InactiveEnterTimestampMonotonic": "1493071743", "InactiveExitTimestamp": "Fri 2024-09-06 21:30:06 EDT", "InactiveExitTimestampMonotonic": "1493074358", "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": "15056", "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-09-06 21:30:06 EDT", "WatchdogTimestampMonotonic": "1493074333", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 06 September 2024 21:30:10 -0400 (0:00:01.073) 0:04:20.168 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003175", "end": "2024-09-06 21:30:10.987677", "failed_when_result": false, "rc": 1, "start": "2024-09-06 21:30:10.984502" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 06 September 2024 21:30:11 -0400 (0:00:00.615) 0:04:20.784 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003202", "end": "2024-09-06 21:30:11.675425", "failed_when_result": false, "rc": 1, "start": "2024-09-06 21:30:11.672223" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 06 September 2024 21:30:11 -0400 (0:00:00.626) 0:04:21.411 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 06 September 2024 21:30:11 -0400 (0:00:00.148) 0:04:21.560 ****** 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": 7262, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 06 September 2024 21:30:13 -0400 (0:00:01.376) 0:04:22.937 ****** 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.029335", "end": "2024-09-06 21:30:13.793421", "rc": 0, "start": "2024-09-06 21:30:13.764086" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU27) (KB5037331) - 15.0.4375.4 (X64) Jun 10 2024 18:00:07 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 06 September 2024 21:30:14 -0400 (0:00:00.653) 0:04:23.591 ****** ok: [managed_node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 06 September 2024 21:30:14 -0400 (0:00:00.136) 0:04:23.727 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 06 September 2024 21:30:14 -0400 (0:00:00.108) 0:04:23.835 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 06 September 2024 21:30:14 -0400 (0:00:00.084) 0:04:23.920 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 06 September 2024 21:30:14 -0400 (0:00:00.090) 0:04:24.011 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 06 September 2024 21:30:14 -0400 (0:00:00.074) 0:04:24.085 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 06 September 2024 21:30:14 -0400 (0:00:00.070) 0:04:24.155 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 06 September 2024 21:30:14 -0400 (0:00:00.070) 0:04:24.226 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 06 September 2024 21:30:14 -0400 (0:00:00.078) 0:04:24.305 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 06 September 2024 21:30:15 -0400 (0:00:00.292) 0:04:24.598 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004309", "end": "2024-09-06 21:30:15.620322", "rc": 0, "start": "2024-09-06 21:30:15.616013" } TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 06 September 2024 21:30:15 -0400 (0:00:00.829) 0:04:25.428 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 06 September 2024 21:30:15 -0400 (0:00:00.150) 0:04:25.578 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 06 September 2024 21:30:16 -0400 (0:00:00.116) 0:04:25.695 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 06 September 2024 21:30:16 -0400 (0:00:00.126) 0:04:25.822 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 06 September 2024 21:30:16 -0400 (0:00:00.219) 0:04:26.042 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004249", "end": "2024-09-06 21:30:16.910710", "rc": 0, "start": "2024-09-06 21:30:16.906461" } TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 06 September 2024 21:30:17 -0400 (0:00:00.557) 0:04:26.599 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 06 September 2024 21:30:17 -0400 (0:00:00.115) 0:04:26.714 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 06 September 2024 21:30:17 -0400 (0:00:00.112) 0:04:26.826 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 06 September 2024 21:30:17 -0400 (0:00:00.073) 0:04:26.900 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 06 September 2024 21:30:17 -0400 (0:00:00.132) 0:04:27.032 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004289", "end": "2024-09-06 21:30:17.721098", "rc": 0, "start": "2024-09-06 21:30:17.716809" } TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 06 September 2024 21:30:17 -0400 (0:00:00.402) 0:04:27.435 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 06 September 2024 21:30:17 -0400 (0:00:00.136) 0:04:27.571 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 06 September 2024 21:30:18 -0400 (0:00:00.117) 0:04:27.689 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 06 September 2024 21:30:18 -0400 (0:00:00.241) 0:04:27.931 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 06 September 2024 21:30:18 -0400 (0:00:00.215) 0:04:28.146 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004331", "end": "2024-09-06 21:30:18.843859", "rc": 0, "start": "2024-09-06 21:30:18.839528" } TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 06 September 2024 21:30:18 -0400 (0:00:00.401) 0:04:28.548 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 06 September 2024 21:30:19 -0400 (0:00:00.201) 0:04:28.750 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 06 September 2024 21:30:19 -0400 (0:00:00.152) 0:04:28.902 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 06 September 2024 21:30:19 -0400 (0:00:00.226) 0:04:29.129 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test with certs created by the certificate role] ************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:154 Friday 06 September 2024 21:30:19 -0400 (0:00:00.232) 0:04:29.362 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 06 September 2024 21:30:22 -0400 (0:00:02.333) 0:04:31.695 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 06 September 2024 21:30:22 -0400 (0:00:00.194) 0:04:31.890 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 06 September 2024 21:30:22 -0400 (0:00:00.168) 0:04:32.058 ****** 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-8E3/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-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 06 September 2024 21:30:22 -0400 (0:00:00.165) 0:04:32.224 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 06 September 2024 21:30:22 -0400 (0:00:00.124) 0:04:32.348 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 06 September 2024 21:30:22 -0400 (0:00:00.109) 0:04:32.457 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 06 September 2024 21:30:23 -0400 (0:00:00.127) 0:04:32.585 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 06 September 2024 21:30:23 -0400 (0:00:00.100) 0:04:32.686 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 06 September 2024 21:30:23 -0400 (0:00:00.080) 0:04:32.766 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 06 September 2024 21:30:23 -0400 (0:00:00.070) 0:04:32.837 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 06 September 2024 21:30:23 -0400 (0:00:00.072) 0:04:32.910 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 06 September 2024 21:30:23 -0400 (0:00:00.084) 0:04:32.994 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 06 September 2024 21:30:23 -0400 (0:00:00.081) 0:04:33.076 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Friday 06 September 2024 21:30:23 -0400 (0:00:00.268) 0:04:33.344 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Friday 06 September 2024 21:30:23 -0400 (0:00:00.097) 0:04:33.442 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Friday 06 September 2024 21:30:23 -0400 (0:00:00.075) 0:04:33.517 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Friday 06 September 2024 21:30:24 -0400 (0:00:00.071) 0:04:33.589 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 06 September 2024 21:30:24 -0400 (0:00:00.081) 0:04:33.671 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 06 September 2024 21:30:24 -0400 (0:00:00.123) 0:04:33.794 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Friday 06 September 2024 21:30:24 -0400 (0:00:00.093) 0:04:33.888 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Friday 06 September 2024 21:30:24 -0400 (0:00:00.093) 0:04:33.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 [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Friday 06 September 2024 21:30:25 -0400 (0:00:01.356) 0:04:35.337 ****** skipping: [managed_node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed_node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed_node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 06 September 2024 21:30:25 -0400 (0:00:00.227) 0:04:35.565 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 06 September 2024 21:30:26 -0400 (0:00:00.105) 0:04:35.670 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Friday 06 September 2024 21:30:26 -0400 (0:00:00.117) 0:04:35.788 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Friday 06 September 2024 21:30:26 -0400 (0:00:00.464) 0:04:36.252 ****** ok: [managed_node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Friday 06 September 2024 21:30:27 -0400 (0:00:00.884) 0:04:37.136 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Friday 06 September 2024 21:30:27 -0400 (0:00:00.134) 0:04:37.271 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 06 September 2024 21:30:27 -0400 (0:00:00.165) 0:04:37.437 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Friday 06 September 2024 21:30:28 -0400 (0:00:00.158) 0:04:37.595 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 06 September 2024 21:30:28 -0400 (0:00:00.138) 0:04:37.734 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 06 September 2024 21:30:28 -0400 (0:00:00.134) 0:04:37.868 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Friday 06 September 2024 21:30:28 -0400 (0:00:00.116) 0:04:37.985 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 06 September 2024 21:30:28 -0400 (0:00:00.158) 0:04:38.143 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 06 September 2024 21:30:28 -0400 (0:00:00.111) 0:04:38.255 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 06 September 2024 21:30:29 -0400 (0:00:00.904) 0:04:39.160 ****** ok: [managed_node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Friday 06 September 2024 21:30:30 -0400 (0:00:00.701) 0:04:39.862 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Friday 06 September 2024 21:30:30 -0400 (0:00:00.116) 0:04:39.979 ****** 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.005233", "end": "2024-09-06 21:30:30.717844", "rc": 0, "start": "2024-09-06 21:30:30.712611" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Friday 06 September 2024 21:30:30 -0400 (0:00:00.480) 0:04:40.459 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Friday 06 September 2024 21:30:32 -0400 (0:00:01.483) 0:04:41.942 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Friday 06 September 2024 21:30:32 -0400 (0:00:00.335) 0:04:42.278 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Friday 06 September 2024 21:30:32 -0400 (0:00:00.212) 0:04:42.491 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Friday 06 September 2024 21:30:33 -0400 (0:00:00.186) 0:04:42.677 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Friday 06 September 2024 21:30:33 -0400 (0:00:00.229) 0:04:42.907 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Friday 06 September 2024 21:30:33 -0400 (0:00:00.228) 0:04:43.135 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Friday 06 September 2024 21:30:33 -0400 (0:00:00.196) 0:04:43.331 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 06 September 2024 21:30:34 -0400 (0:00:00.736) 0:04:44.068 ****** ok: [managed_node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-06 21:05:56 EDT", "ActiveEnterTimestampMonotonic": "43100735", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service system.slice systemd-journald.socket basic.target network.target systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-06 21:05:53 EDT", "AssertTimestampMonotonic": "39717099", "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-09-06 21:05:53 EDT", "ConditionTimestampMonotonic": "39717097", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "852", "ExecMainStartTimestamp": "Fri 2024-09-06 21:05:53 EDT", "ExecMainStartTimestampMonotonic": "39718871", "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-09-06 21:05:53 EDT", "InactiveExitTimestampMonotonic": "39718901", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "852", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service basic.target polkit.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-06 21:05:56 EDT", "WatchdogTimestampMonotonic": "43100105", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 06 September 2024 21:30:35 -0400 (0:00:00.737) 0:04:44.806 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.085565", "end": "2024-09-06 21:30:35.717565", "rc": 0, "start": "2024-09-06 21:30:35.632000" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Friday 06 September 2024 21:30:35 -0400 (0:00:00.743) 0:04:45.549 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 06 September 2024 21:30:36 -0400 (0:00:00.161) 0:04:45.711 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Friday 06 September 2024 21:30:36 -0400 (0:00:00.177) 0:04:45.888 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Friday 06 September 2024 21:30:36 -0400 (0:00:00.142) 0:04:46.030 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Friday 06 September 2024 21:30:37 -0400 (0:00:00.750) 0:04:46.782 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Friday 06 September 2024 21:30:37 -0400 (0:00:00.321) 0:04:47.103 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Friday 06 September 2024 21:30:38 -0400 (0:00:00.622) 0:04:47.726 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 06 September 2024 21:30:38 -0400 (0:00:00.163) 0:04:47.890 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Friday 06 September 2024 21:30:38 -0400 (0:00:00.243) 0:04:48.133 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 06 September 2024 21:30:38 -0400 (0:00:00.184) 0:04:48.317 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Friday 06 September 2024 21:30:38 -0400 (0:00:00.153) 0:04:48.470 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 06 September 2024 21:30:39 -0400 (0:00:00.126) 0:04:48.597 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 06 September 2024 21:30:39 -0400 (0:00:00.138) 0:04:48.735 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 06 September 2024 21:30:39 -0400 (0:00:00.127) 0:04:48.863 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Friday 06 September 2024 21:30:39 -0400 (0:00:00.144) 0:04:49.008 ****** 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.004951", "end": "2024-09-06 21:30:39.919117", "rc": 0, "start": "2024-09-06 21:30:39.914166" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 06 September 2024 21:30:40 -0400 (0:00:00.635) 0:04:49.643 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Friday 06 September 2024 21:30:40 -0400 (0:00:00.107) 0:04:49.750 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Friday 06 September 2024 21:30:42 -0400 (0:00:02.068) 0:04:51.818 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 06 September 2024 21:30:42 -0400 (0:00:00.117) 0:04:51.936 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 06 September 2024 21:30:42 -0400 (0:00:00.125) 0:04:52.061 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Friday 06 September 2024 21:30:42 -0400 (0:00:00.102) 0:04:52.164 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Friday 06 September 2024 21:30:42 -0400 (0:00:00.093) 0:04:52.257 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:30:42 -0400 (0:00:00.199) 0:04:52.457 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003103", "end": "2024-09-06 21:30:43.210274", "failed_when_result": false, "rc": 1, "start": "2024-09-06 21:30:43.207171" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:30:43 -0400 (0:00:00.444) 0:04:52.902 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.121178", "end": "2024-09-06 21:30:43.748893", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:30:43.627715" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:30:43 -0400 (0:00:00.593) 0:04:53.495 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Friday 06 September 2024 21:30:44 -0400 (0:00:00.090) 0:04:53.586 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 06 September 2024 21:30:44 -0400 (0:00:00.096) 0:04:53.683 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 06 September 2024 21:30:44 -0400 (0:00:00.075) 0:04:53.759 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 06 September 2024 21:30:44 -0400 (0:00:00.076) 0:04:53.835 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 06 September 2024 21:30:44 -0400 (0:00:00.104) 0:04:53.939 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 06 September 2024 21:30:44 -0400 (0:00:00.103) 0:04:54.043 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Friday 06 September 2024 21:30:44 -0400 (0:00:00.091) 0:04:54.135 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Friday 06 September 2024 21:30:44 -0400 (0:00:00.083) 0:04:54.219 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 06 September 2024 21:30:44 -0400 (0:00:00.245) 0:04:54.465 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Friday 06 September 2024 21:30:44 -0400 (0:00:00.097) 0:04:54.562 ****** TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:2 Friday 06 September 2024 21:30:45 -0400 (0:00:00.185) 0:04:54.748 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:2 Friday 06 September 2024 21:30:45 -0400 (0:00:00.209) 0:04:54.958 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:10 Friday 06 September 2024 21:30:45 -0400 (0:00:00.153) 0:04:55.111 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:15 Friday 06 September 2024 21:30:45 -0400 (0:00:00.378) 0:04:55.489 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml:19 Friday 06 September 2024 21:30:45 -0400 (0:00:00.089) 0:04:55.579 ****** 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-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Friday 06 September 2024 21:30:46 -0400 (0:00:00.220) 0:04:55.799 ****** changed: [managed_node2] => { "changed": true, "changes": { "installed": [ "python-pyasn1", "python-cryptography" ] }, "rc": 0, "results": [ "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package python2-cryptography.x86_64 0:1.7.2-2.el7 will be installed\n--> Processing Dependency: python-idna >= 2.0 for package: python2-cryptography-1.7.2-2.el7.x86_64\n--> Processing Dependency: python-cffi >= 1.4.1 for package: python2-cryptography-1.7.2-2.el7.x86_64\n--> Processing Dependency: python-enum34 for package: python2-cryptography-1.7.2-2.el7.x86_64\n---> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed\n--> Running transaction check\n---> Package python-cffi.x86_64 0:1.6.0-5.el7 will be installed\n--> Processing Dependency: python-pycparser for package: python-cffi-1.6.0-5.el7.x86_64\n---> Package python-enum34.noarch 0:1.0.4-1.el7 will be installed\n---> Package python-idna.noarch 0:2.4-1.el7 will be installed\n--> Running transaction check\n---> Package python-pycparser.noarch 0:2.14-1.el7 will be installed\n--> Processing Dependency: python-ply for package: python-pycparser-2.14-1.el7.noarch\n--> Running transaction check\n---> Package python-ply.noarch 0:3.4-11.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n python2-cryptography x86_64 1.7.2-2.el7 base 502 k\n python2-pyasn1 noarch 0.1.9-7.el7 base 100 k\nInstalling for dependencies:\n python-cffi x86_64 1.6.0-5.el7 base 218 k\n python-enum34 noarch 1.0.4-1.el7 base 52 k\n python-idna noarch 2.4-1.el7 base 94 k\n python-ply noarch 3.4-11.el7 base 123 k\n python-pycparser noarch 2.14-1.el7 base 104 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+5 Dependent packages)\n\nTotal download size: 1.2 M\nInstalled size: 6.1 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 4.0 MB/s | 1.2 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python2-pyasn1-0.1.9-7.el7.noarch 1/7 \n Installing : python-enum34-1.0.4-1.el7.noarch 2/7 \n Installing : python-ply-3.4-11.el7.noarch 3/7 \n Installing : python-pycparser-2.14-1.el7.noarch 4/7 \n Installing : python-cffi-1.6.0-5.el7.x86_64 5/7 \n Installing : python-idna-2.4-1.el7.noarch 6/7 \n Installing : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \n Verifying : python-idna-2.4-1.el7.noarch 1/7 \n Verifying : python-pycparser-2.14-1.el7.noarch 2/7 \n Verifying : python-ply-3.4-11.el7.noarch 3/7 \n Verifying : python-cffi-1.6.0-5.el7.x86_64 4/7 \n Verifying : python-enum34-1.0.4-1.el7.noarch 5/7 \n Verifying : python2-pyasn1-0.1.9-7.el7.noarch 6/7 \n Verifying : python2-cryptography-1.7.2-2.el7.x86_64 7/7 \n\nInstalled:\n python2-cryptography.x86_64 0:1.7.2-2.el7 python2-pyasn1.noarch 0:0.1.9-7.el7\n\nDependency Installed:\n python-cffi.x86_64 0:1.6.0-5.el7 python-enum34.noarch 0:1.0.4-1.el7 \n python-idna.noarch 0:2.4-1.el7 python-ply.noarch 0:3.4-11.el7 \n python-pycparser.noarch 0:2.14-1.el7 \n\nComplete!\n" ] } lsrpackages: python-cryptography python-dbus python-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 Friday 06 September 2024 21:30:51 -0400 (0:00:04.821) 0:05:00.621 ****** 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.6 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-8E3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:35 Friday 06 September 2024 21:31:00 -0400 (0:00:09.547) 0:05:10.168 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:61 Friday 06 September 2024 21:31:01 -0400 (0:00:00.655) 0:05:10.823 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:90 Friday 06 September 2024 21:31:01 -0400 (0:00:00.526) 0:05:11.350 ****** 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": "basic.target syslog.target systemd-journald.socket dbus.service 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": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "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-8E3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Friday 06 September 2024 21:31:02 -0400 (0:00:00.710) 0:05:12.061 ****** changed: [managed_node2] => (item={u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.10.168', u'ca': u'self-sign', u'mode': u'0600'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "common_name": "10.31.10.168", "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-8E3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:152 Friday 06 September 2024 21:31:04 -0400 (0:00:01.523) 0:05:13.585 ****** 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.10.168', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "common_name": "10.31.10.168", "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.10.168', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "common_name": "10.31.10.168", "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.10.168', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "common_name": "10.31.10.168", "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-8E3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:160 Friday 06 September 2024 21:31:04 -0400 (0:00:00.126) 0:05:13.711 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:176 Friday 06 September 2024 21:31:04 -0400 (0:00:00.092) 0:05:13.804 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:181 Friday 06 September 2024 21:31:04 -0400 (0:00:00.094) 0:05:13.899 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Friday 06 September 2024 21:31:04 -0400 (0:00:00.138) 0:05:14.037 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Friday 06 September 2024 21:31:04 -0400 (0:00:00.133) 0:05:14.171 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Friday 06 September 2024 21:31:04 -0400 (0:00:00.147) 0:05:14.318 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:31:04 -0400 (0:00:00.206) 0:05:14.524 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003748", "end": "2024-09-06 21:31:05.253040", "failed_when_result": false, "rc": 1, "start": "2024-09-06 21:31:05.249292" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:31:05 -0400 (0:00:00.405) 0:05:14.930 ****** 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.117176", "end": "2024-09-06 21:31:05.733059", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:31:05.615883" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:31:05 -0400 (0:00:00.488) 0:05:15.418 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Friday 06 September 2024 21:31:06 -0400 (0:00:00.192) 0:05:15.611 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:31:06 -0400 (0:00:00.136) 0:05:15.748 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003236", "end": "2024-09-06 21:31:06.427526", "failed_when_result": false, "rc": 1, "start": "2024-09-06 21:31:06.424290" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:31:06 -0400 (0:00:00.355) 0:05:16.104 ****** 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.121611", "end": "2024-09-06 21:31:06.949121", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:31:06.827510" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:31:07 -0400 (0:00:00.578) 0:05:16.682 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 06 September 2024 21:31:07 -0400 (0:00:00.123) 0:05:16.805 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:31:07 -0400 (0:00:00.204) 0:05:17.010 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003307", "end": "2024-09-06 21:31:07.745507", "failed_when_result": false, "rc": 1, "start": "2024-09-06 21:31:07.742200" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:31:07 -0400 (0:00:00.448) 0:05:17.459 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.117258", "end": "2024-09-06 21:31:08.258260", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:31:08.141002" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:31:08 -0400 (0:00:00.487) 0:05:17.946 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Friday 06 September 2024 21:31:08 -0400 (0:00:00.076) 0:05:18.022 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:31:08 -0400 (0:00:00.154) 0:05:18.177 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003196", "end": "2024-09-06 21:31:08.853654", "failed_when_result": false, "rc": 1, "start": "2024-09-06 21:31:08.850458" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:31:08 -0400 (0:00:00.355) 0:05:18.532 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.120279", "end": "2024-09-06 21:31:09.374797", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:31:09.254518" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:31:09 -0400 (0:00:00.665) 0:05:19.198 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Friday 06 September 2024 21:31:09 -0400 (0:00:00.078) 0:05:19.277 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Friday 06 September 2024 21:31:09 -0400 (0:00:00.073) 0:05:19.351 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 06 September 2024 21:31:09 -0400 (0:00:00.075) 0:05:19.426 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 06 September 2024 21:31:09 -0400 (0:00:00.073) 0:05:19.499 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Friday 06 September 2024 21:31:09 -0400 (0:00:00.078) 0:05:19.578 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Friday 06 September 2024 21:31:10 -0400 (0:00:00.093) 0:05:19.671 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Friday 06 September 2024 21:31:10 -0400 (0:00:00.105) 0:05:19.777 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Friday 06 September 2024 21:31:10 -0400 (0:00:00.116) 0:05:19.893 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Friday 06 September 2024 21:31:10 -0400 (0:00:00.113) 0:05:20.006 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Friday 06 September 2024 21:31:10 -0400 (0:00:00.120) 0:05:20.127 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Friday 06 September 2024 21:31:10 -0400 (0:00:00.135) 0:05:20.262 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Friday 06 September 2024 21:31:10 -0400 (0:00:00.121) 0:05:20.384 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Friday 06 September 2024 21:31:10 -0400 (0:00:00.114) 0:05:20.498 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Friday 06 September 2024 21:31:11 -0400 (0:00:00.102) 0:05:20.601 ****** skipping: [managed_node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Friday 06 September 2024 21:31:11 -0400 (0:00:00.113) 0:05:20.715 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Friday 06 September 2024 21:31:11 -0400 (0:00:00.110) 0:05:20.825 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Friday 06 September 2024 21:31:11 -0400 (0:00:00.268) 0:05:21.094 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Friday 06 September 2024 21:31:11 -0400 (0:00:00.144) 0:05:21.239 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 06 September 2024 21:31:11 -0400 (0:00:00.123) 0:05:21.362 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Friday 06 September 2024 21:31:11 -0400 (0:00:00.090) 0:05:21.453 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 06 September 2024 21:31:11 -0400 (0:00:00.073) 0:05:21.527 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Friday 06 September 2024 21:31:12 -0400 (0:00:00.105) 0:05:21.632 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 06 September 2024 21:31:12 -0400 (0:00:00.111) 0:05:21.743 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 06 September 2024 21:31:12 -0400 (0:00:00.097) 0:05:21.841 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Friday 06 September 2024 21:31:12 -0400 (0:00:00.096) 0:05:21.937 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Friday 06 September 2024 21:31:12 -0400 (0:00:00.078) 0:05:22.015 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Friday 06 September 2024 21:31:12 -0400 (0:00:00.073) 0:05:22.089 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Friday 06 September 2024 21:31:12 -0400 (0:00:00.087) 0:05:22.177 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Friday 06 September 2024 21:31:12 -0400 (0:00:00.072) 0:05:22.249 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 06 September 2024 21:31:12 -0400 (0:00:00.080) 0:05:22.330 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 06 September 2024 21:31:12 -0400 (0:00:00.090) 0:05:22.420 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 06 September 2024 21:31:12 -0400 (0:00:00.073) 0:05:22.493 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1201 Friday 06 September 2024 21:31:12 -0400 (0:00:00.071) 0:05:22.565 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1211 Friday 06 September 2024 21:31:13 -0400 (0:00:00.072) 0:05:22.637 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Friday 06 September 2024 21:31:13 -0400 (0:00:00.070) 0:05:22.707 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1229 Friday 06 September 2024 21:31:13 -0400 (0:00:00.187) 0:05:22.895 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 06 September 2024 21:31:13 -0400 (0:00:00.073) 0:05:22.969 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1253 Friday 06 September 2024 21:31:13 -0400 (0:00:00.075) 0:05:23.044 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1262 Friday 06 September 2024 21:31:13 -0400 (0:00:00.075) 0:05:23.120 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1269 Friday 06 September 2024 21:31:13 -0400 (0:00:00.071) 0:05:23.191 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1276 Friday 06 September 2024 21:31:13 -0400 (0:00:00.076) 0:05:23.267 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1284 Friday 06 September 2024 21:31:13 -0400 (0:00:00.085) 0:05:23.353 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1291 Friday 06 September 2024 21:31:13 -0400 (0:00:00.075) 0:05:23.429 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Friday 06 September 2024 21:31:13 -0400 (0:00:00.091) 0:05:23.521 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 06 September 2024 21:31:14 -0400 (0:00:00.071) 0:05:23.592 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Friday 06 September 2024 21:31:14 -0400 (0:00:00.074) 0:05:23.666 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1325 Friday 06 September 2024 21:31:14 -0400 (0:00:00.071) 0:05:23.738 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 06 September 2024 21:31:14 -0400 (0:00:00.075) 0:05:23.813 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1346 Friday 06 September 2024 21:31:14 -0400 (0:00:00.079) 0:05:23.893 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Friday 06 September 2024 21:31:14 -0400 (0:00:00.072) 0:05:23.965 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Friday 06 September 2024 21:31:14 -0400 (0:00:00.073) 0:05:24.039 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1369 Friday 06 September 2024 21:31:14 -0400 (0:00:00.073) 0:05:24.112 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 06 September 2024 21:31:14 -0400 (0:00:00.074) 0:05:24.186 ****** changed: [managed_node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 06 September 2024 21:31:15 -0400 (0:00:00.616) 0:05:24.802 ****** changed: [managed_node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-06 21:30:06 EDT", "ActiveEnterTimestampMonotonic": "1493074358", "ActiveExitTimestamp": "Fri 2024-09-06 21:30:06 EDT", "ActiveExitTimestampMonotonic": "1492846794", "ActiveState": "active", "After": "-.mount basic.target network.target auditd.service systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-06 21:30:06 EDT", "AssertTimestampMonotonic": "1493073511", "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-09-06 21:30:06 EDT", "ConditionTimestampMonotonic": "1493073509", "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": "15056", "ExecMainStartTimestamp": "Fri 2024-09-06 21:30:06 EDT", "ExecMainStartTimestampMonotonic": "1493074293", "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-09-06 21:30:06 EDT", "InactiveEnterTimestampMonotonic": "1493071743", "InactiveExitTimestamp": "Fri 2024-09-06 21:30:06 EDT", "InactiveExitTimestampMonotonic": "1493074358", "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": "15056", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-06 21:30:06 EDT", "WatchdogTimestampMonotonic": "1493074333", "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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 06 September 2024 21:31:15 -0400 (0:00:00.775) 0:05:25.578 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1398 Friday 06 September 2024 21:31:16 -0400 (0:00:00.074) 0:05:25.652 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } META: ran handlers TASK [Verify connectivity and settings] **************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:168 Friday 06 September 2024 21:31:16 -0400 (0:00:00.075) 0:05:25.728 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 06 September 2024 21:31:17 -0400 (0:00:00.898) 0:05:26.626 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 06 September 2024 21:31:17 -0400 (0:00:00.070) 0:05:26.696 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 06 September 2024 21:31:17 -0400 (0:00:00.071) 0:05:26.768 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 06 September 2024 21:31:17 -0400 (0:00:00.072) 0:05:26.841 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 06 September 2024 21:31:17 -0400 (0:00:00.196) 0:05:27.037 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 06 September 2024 21:31:17 -0400 (0:00:00.082) 0:05:27.120 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 06 September 2024 21:31:17 -0400 (0:00:00.109) 0:05:27.229 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 06 September 2024 21:31:17 -0400 (0:00:00.103) 0:05:27.333 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 06 September 2024 21:31:17 -0400 (0:00:00.098) 0:05:27.431 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 06 September 2024 21:31:18 -0400 (0:00:00.154) 0:05:27.586 ****** ok: [managed_node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-06 21:31:15 EDT", "ActiveEnterTimestampMonotonic": "1562162848", "ActiveExitTimestamp": "Fri 2024-09-06 21:31:15 EDT", "ActiveExitTimestampMonotonic": "1561924105", "ActiveState": "active", "After": "-.mount basic.target network.target auditd.service systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-06 21:31:15 EDT", "AssertTimestampMonotonic": "1562161895", "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-09-06 21:31:15 EDT", "ConditionTimestampMonotonic": "1562161893", "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": "17647", "ExecMainStartTimestamp": "Fri 2024-09-06 21:31:15 EDT", "ExecMainStartTimestampMonotonic": "1562162793", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-09-06 21:31:15 EDT] ; stop_time=[n/a] ; pid=17647 ; 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-09-06 21:31:15 EDT", "InactiveEnterTimestampMonotonic": "1562160173", "InactiveExitTimestamp": "Fri 2024-09-06 21:31:15 EDT", "InactiveExitTimestampMonotonic": "1562162848", "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": "17647", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-06 21:31:15 EDT", "WatchdogTimestampMonotonic": "1562162828", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 06 September 2024 21:31:18 -0400 (0:00:00.736) 0:05:28.322 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004287", "end": "2024-09-06 21:31:19.576755", "failed_when_result": false, "rc": 1, "start": "2024-09-06 21:31:19.572468" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 06 September 2024 21:31:19 -0400 (0:00:00.954) 0:05:29.277 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003152", "end": "2024-09-06 21:31:20.104547", "failed_when_result": false, "rc": 1, "start": "2024-09-06 21:31:20.101395" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 06 September 2024 21:31:20 -0400 (0:00:00.561) 0:05:29.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 [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 06 September 2024 21:31:20 -0400 (0:00:00.142) 0:05:29.981 ****** 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": 7362, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 06 September 2024 21:31:21 -0400 (0:00:01.444) 0:05:31.425 ****** 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.039764", "end": "2024-09-06 21:31:22.223742", "rc": 0, "start": "2024-09-06 21:31:22.183978" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU27) (KB5037331) - 15.0.4375.4 (X64) Jun 10 2024 18:00:07 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 06 September 2024 21:31:22 -0400 (0:00:00.533) 0:05:31.959 ****** ok: [managed_node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 06 September 2024 21:31:22 -0400 (0:00:00.125) 0:05:32.085 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 06 September 2024 21:31:22 -0400 (0:00:00.304) 0:05:32.390 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 06 September 2024 21:31:22 -0400 (0:00:00.116) 0:05:32.506 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 06 September 2024 21:31:23 -0400 (0:00:00.149) 0:05:32.655 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 06 September 2024 21:31:23 -0400 (0:00:00.144) 0:05:32.800 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 06 September 2024 21:31:23 -0400 (0:00:00.121) 0:05:32.921 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 06 September 2024 21:31:23 -0400 (0:00:00.114) 0:05:33.036 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 06 September 2024 21:31:23 -0400 (0:00:00.111) 0:05:33.147 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 06 September 2024 21:31:23 -0400 (0:00:00.209) 0:05:33.356 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004258", "end": "2024-09-06 21:31:24.079040", "rc": 0, "start": "2024-09-06 21:31:24.074782" } STDOUT: tlscert = /etc/pki/tls/certs/mssql_2019_cert.crt TASK [Verify the setting when it is type str tlscert] ************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 06 September 2024 21:31:24 -0400 (0:00:00.450) 0:05:33.807 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 06 September 2024 21:31:24 -0400 (0:00:00.149) 0:05:33.957 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 06 September 2024 21:31:24 -0400 (0:00:00.135) 0:05:34.092 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 06 September 2024 21:31:24 -0400 (0:00:00.119) 0:05:34.211 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 06 September 2024 21:31:24 -0400 (0:00:00.212) 0:05:34.424 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004241", "end": "2024-09-06 21:31:25.158795", "rc": 0, "start": "2024-09-06 21:31:25.154554" } STDOUT: tlskey = /etc/pki/tls/private/mssql_2019_cert.key TASK [Verify the setting when it is type str tlskey] *************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 06 September 2024 21:31:25 -0400 (0:00:00.457) 0:05:34.881 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 06 September 2024 21:31:25 -0400 (0:00:00.142) 0:05:35.024 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 06 September 2024 21:31:25 -0400 (0:00:00.277) 0:05:35.301 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 06 September 2024 21:31:25 -0400 (0:00:00.082) 0:05:35.384 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 06 September 2024 21:31:25 -0400 (0:00:00.139) 0:05:35.523 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004391", "end": "2024-09-06 21:31:26.209687", "rc": 0, "start": "2024-09-06 21:31:26.205296" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 06 September 2024 21:31:26 -0400 (0:00:00.370) 0:05:35.894 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 06 September 2024 21:31:26 -0400 (0:00:00.090) 0:05:35.985 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 06 September 2024 21:31:26 -0400 (0:00:00.080) 0:05:36.065 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 06 September 2024 21:31:26 -0400 (0:00:00.103) 0:05:36.169 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 06 September 2024 21:31:26 -0400 (0:00:00.223) 0:05:36.393 ****** ok: [managed_node2] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004251", "end": "2024-09-06 21:31:27.131500", "rc": 0, "start": "2024-09-06 21:31:27.127249" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 06 September 2024 21:31:27 -0400 (0:00:00.474) 0:05:36.867 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 06 September 2024 21:31:27 -0400 (0:00:00.129) 0:05:36.996 ****** ok: [managed_node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 06 September 2024 21:31:27 -0400 (0:00:00.212) 0:05:37.209 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 06 September 2024 21:31:27 -0400 (0:00:00.124) 0:05:37.333 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:175 Friday 06 September 2024 21:31:27 -0400 (0:00:00.124) 0:05:37.457 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 06 September 2024 21:31:30 -0400 (0:00:02.408) 0:05:39.866 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 06 September 2024 21:31:30 -0400 (0:00:00.304) 0:05:40.170 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 06 September 2024 21:31:30 -0400 (0:00:00.157) 0:05:40.328 ****** 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-8E3/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-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 06 September 2024 21:31:30 -0400 (0:00:00.126) 0:05:40.455 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 06 September 2024 21:31:30 -0400 (0:00:00.072) 0:05:40.527 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 06 September 2024 21:31:31 -0400 (0:00:00.235) 0:05:40.762 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 06 September 2024 21:31:31 -0400 (0:00:00.118) 0:05:40.881 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 06 September 2024 21:31:31 -0400 (0:00:00.090) 0:05:40.972 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 06 September 2024 21:31:31 -0400 (0:00:00.089) 0:05:41.061 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 06 September 2024 21:31:31 -0400 (0:00:00.084) 0:05:41.146 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 06 September 2024 21:31:31 -0400 (0:00:00.074) 0:05:41.220 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 06 September 2024 21:31:31 -0400 (0:00:00.075) 0:05:41.296 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 06 September 2024 21:31:31 -0400 (0:00:00.071) 0:05:41.367 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Friday 06 September 2024 21:31:31 -0400 (0:00:00.079) 0:05:41.446 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Friday 06 September 2024 21:31:31 -0400 (0:00:00.081) 0:05:41.528 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Friday 06 September 2024 21:31:32 -0400 (0:00:00.075) 0:05:41.603 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Friday 06 September 2024 21:31:32 -0400 (0:00:00.070) 0:05:41.674 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 06 September 2024 21:31:32 -0400 (0:00:00.072) 0:05:41.747 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 06 September 2024 21:31:32 -0400 (0:00:00.072) 0:05:41.819 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Friday 06 September 2024 21:31:32 -0400 (0:00:00.073) 0:05:41.893 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Friday 06 September 2024 21:31:32 -0400 (0:00:00.074) 0:05:41.967 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Friday 06 September 2024 21:31:33 -0400 (0:00:01.396) 0:05:43.364 ****** skipping: [managed_node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed_node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed_node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 06 September 2024 21:31:33 -0400 (0:00:00.200) 0:05:43.565 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 06 September 2024 21:31:34 -0400 (0:00:00.074) 0:05:43.639 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Friday 06 September 2024 21:31:34 -0400 (0:00:00.083) 0:05:43.723 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Friday 06 September 2024 21:31:34 -0400 (0:00:00.144) 0:05:43.867 ****** ok: [managed_node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Friday 06 September 2024 21:31:34 -0400 (0:00:00.529) 0:05:44.397 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Friday 06 September 2024 21:31:34 -0400 (0:00:00.077) 0:05:44.475 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 06 September 2024 21:31:34 -0400 (0:00:00.078) 0:05:44.553 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Friday 06 September 2024 21:31:35 -0400 (0:00:00.078) 0:05:44.631 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 06 September 2024 21:31:35 -0400 (0:00:00.078) 0:05:44.710 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 06 September 2024 21:31:35 -0400 (0:00:00.076) 0:05:44.786 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Friday 06 September 2024 21:31:35 -0400 (0:00:00.077) 0:05:44.863 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 06 September 2024 21:31:35 -0400 (0:00:00.102) 0:05:44.966 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 06 September 2024 21:31:35 -0400 (0:00:00.073) 0:05:45.040 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 06 September 2024 21:31:36 -0400 (0:00:00.686) 0:05:45.726 ****** ok: [managed_node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Friday 06 September 2024 21:31:36 -0400 (0:00:00.606) 0:05:46.332 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Friday 06 September 2024 21:31:36 -0400 (0:00:00.082) 0:05:46.415 ****** 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.005255", "end": "2024-09-06 21:31:37.146765", "rc": 0, "start": "2024-09-06 21:31:37.141510" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Friday 06 September 2024 21:31:37 -0400 (0:00:00.461) 0:05:46.877 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Friday 06 September 2024 21:31:38 -0400 (0:00:00.949) 0:05:47.827 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Friday 06 September 2024 21:31:38 -0400 (0:00:00.105) 0:05:47.932 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Friday 06 September 2024 21:31:38 -0400 (0:00:00.081) 0:05:48.014 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Friday 06 September 2024 21:31:38 -0400 (0:00:00.090) 0:05:48.105 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Friday 06 September 2024 21:31:38 -0400 (0:00:00.137) 0:05:48.243 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Friday 06 September 2024 21:31:38 -0400 (0:00:00.132) 0:05:48.375 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Friday 06 September 2024 21:31:38 -0400 (0:00:00.127) 0:05:48.503 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Friday 06 September 2024 21:31:39 -0400 (0:00:00.628) 0:05:49.131 ****** ok: [managed_node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-06 21:05:56 EDT", "ActiveEnterTimestampMonotonic": "43100735", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service network.target systemd-journald.socket systemd-sysctl.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-06 21:05:53 EDT", "AssertTimestampMonotonic": "39717099", "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-09-06 21:05:53 EDT", "ConditionTimestampMonotonic": "39717097", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "852", "ExecMainStartTimestamp": "Fri 2024-09-06 21:05:53 EDT", "ExecMainStartTimestampMonotonic": "39718871", "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-09-06 21:05:53 EDT", "InactiveExitTimestampMonotonic": "39718901", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "852", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice 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-09-06 21:05:56 EDT", "WatchdogTimestampMonotonic": "43100105", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 06 September 2024 21:31:40 -0400 (0:00:00.468) 0:05:49.599 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.082357", "end": "2024-09-06 21:31:40.373224", "rc": 0, "start": "2024-09-06 21:31:40.290867" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Friday 06 September 2024 21:31:40 -0400 (0:00:00.452) 0:05:50.052 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Friday 06 September 2024 21:31:40 -0400 (0:00:00.218) 0:05:50.270 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Friday 06 September 2024 21:31:40 -0400 (0:00:00.078) 0:05:50.348 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Friday 06 September 2024 21:31:40 -0400 (0:00:00.084) 0:05:50.433 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Friday 06 September 2024 21:31:41 -0400 (0:00:00.356) 0:05:50.789 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Friday 06 September 2024 21:31:41 -0400 (0:00:00.072) 0:05:50.862 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Friday 06 September 2024 21:31:41 -0400 (0:00:00.559) 0:05:51.421 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 06 September 2024 21:31:41 -0400 (0:00:00.089) 0:05:51.511 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Friday 06 September 2024 21:31:42 -0400 (0:00:00.076) 0:05:51.587 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Friday 06 September 2024 21:31:42 -0400 (0:00:00.078) 0:05:51.666 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Friday 06 September 2024 21:31:42 -0400 (0:00:00.075) 0:05:51.742 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 06 September 2024 21:31:42 -0400 (0:00:00.079) 0:05:51.821 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Friday 06 September 2024 21:31:42 -0400 (0:00:00.078) 0:05:51.900 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Friday 06 September 2024 21:31:42 -0400 (0:00:00.073) 0:05:51.973 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Friday 06 September 2024 21:31:42 -0400 (0:00:00.075) 0:05:52.048 ****** 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.005285", "end": "2024-09-06 21:31:42.730803", "rc": 0, "start": "2024-09-06 21:31:42.725518" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Friday 06 September 2024 21:31:42 -0400 (0:00:00.361) 0:05:52.409 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Friday 06 September 2024 21:31:42 -0400 (0:00:00.083) 0:05:52.493 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Friday 06 September 2024 21:31:44 -0400 (0:00:01.552) 0:05:54.045 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 06 September 2024 21:31:44 -0400 (0:00:00.086) 0:05:54.132 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Friday 06 September 2024 21:31:44 -0400 (0:00:00.076) 0:05:54.208 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Friday 06 September 2024 21:31:44 -0400 (0:00:00.077) 0:05:54.286 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Friday 06 September 2024 21:31:44 -0400 (0:00:00.075) 0:05:54.362 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:31:44 -0400 (0:00:00.195) 0:05:54.557 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003342", "end": "2024-09-06 21:31:45.284987", "failed_when_result": false, "rc": 1, "start": "2024-09-06 21:31:45.281645" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:31:45 -0400 (0:00:00.462) 0:05:55.020 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.118192", "end": "2024-09-06 21:31:45.873500", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:31:45.755308" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:31:46 -0400 (0:00:00.569) 0:05:55.589 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Friday 06 September 2024 21:31:46 -0400 (0:00:00.085) 0:05:55.675 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Friday 06 September 2024 21:31:46 -0400 (0:00:00.085) 0:05:55.761 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Friday 06 September 2024 21:31:46 -0400 (0:00:00.119) 0:05:55.881 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 06 September 2024 21:31:46 -0400 (0:00:00.104) 0:05:55.985 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 06 September 2024 21:31:46 -0400 (0:00:00.121) 0:05:56.106 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Friday 06 September 2024 21:31:46 -0400 (0:00:00.089) 0:05:56.196 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Friday 06 September 2024 21:31:46 -0400 (0:00:00.224) 0:05:56.421 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Friday 06 September 2024 21:31:46 -0400 (0:00:00.077) 0:05:56.498 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 06 September 2024 21:31:46 -0400 (0:00:00.078) 0:05:56.576 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Friday 06 September 2024 21:31:47 -0400 (0:00:00.078) 0:05:56.655 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Friday 06 September 2024 21:31:47 -0400 (0:00:00.089) 0:05:56.745 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Friday 06 September 2024 21:31:47 -0400 (0:00:00.081) 0:05:56.826 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Friday 06 September 2024 21:31:47 -0400 (0:00:00.093) 0:05:56.919 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:31:47 -0400 (0:00:00.137) 0:05:57.057 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003274", "end": "2024-09-06 21:31:47.752200", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:31:47.748926" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:31:47 -0400 (0:00:00.430) 0:05:57.487 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:31:48 -0400 (0:00:00.126) 0:05:57.614 ****** 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.116424", "end": "2024-09-06 21:31:48.442612", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:31:48.326188" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Friday 06 September 2024 21:31:48 -0400 (0:00:00.538) 0:05:58.153 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:31:48 -0400 (0:00:00.151) 0:05:58.304 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003229", "end": "2024-09-06 21:31:49.023556", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:31:49.020327" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:31:49 -0400 (0:00:00.434) 0:05:58.739 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:31:49 -0400 (0:00:00.137) 0:05:58.877 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.116816", "end": "2024-09-06 21:31:49.732003", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:31:49.615187" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 06 September 2024 21:31:49 -0400 (0:00:00.548) 0:05:59.425 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:31:50 -0400 (0:00:00.361) 0:05:59.787 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003286", "end": "2024-09-06 21:31:50.526850", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:31:50.523564" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:31:50 -0400 (0:00:00.449) 0:06:00.237 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:31:50 -0400 (0:00:00.132) 0:06:00.370 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.119447", "end": "2024-09-06 21:31:51.195703", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:31:51.076256" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Friday 06 September 2024 21:31:51 -0400 (0:00:00.532) 0:06:00.902 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 06 September 2024 21:31:51 -0400 (0:00:00.146) 0:06:01.049 ****** ok: [managed_node2] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003287", "end": "2024-09-06 21:31:51.732949", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:31:51.729662" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 06 September 2024 21:31:51 -0400 (0:00:00.368) 0:06:01.417 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 06 September 2024 21:31:51 -0400 (0:00:00.128) 0:06:01.546 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.116356", "end": "2024-09-06 21:31:52.409729", "failed_when_result": false, "rc": 0, "start": "2024-09-06 21:31:52.293373" } 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Friday 06 September 2024 21:31:52 -0400 (0:00:00.587) 0:06:02.133 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Friday 06 September 2024 21:31:52 -0400 (0:00:00.130) 0:06:02.264 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Friday 06 September 2024 21:31:52 -0400 (0:00:00.101) 0:06:02.366 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 06 September 2024 21:31:52 -0400 (0:00:00.091) 0:06:02.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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Friday 06 September 2024 21:31:52 -0400 (0:00:00.105) 0:06:02.563 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Friday 06 September 2024 21:31:53 -0400 (0:00:00.095) 0:06:02.658 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Friday 06 September 2024 21:31:53 -0400 (0:00:00.093) 0:06:02.752 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Friday 06 September 2024 21:31:53 -0400 (0:00:00.076) 0:06:02.829 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Friday 06 September 2024 21:31:53 -0400 (0:00:00.291) 0:06:03.121 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Friday 06 September 2024 21:31:53 -0400 (0:00:00.087) 0:06:03.209 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Friday 06 September 2024 21:31:53 -0400 (0:00:00.074) 0:06:03.284 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Friday 06 September 2024 21:31:53 -0400 (0:00:00.110) 0:06:03.394 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Friday 06 September 2024 21:31:53 -0400 (0:00:00.115) 0:06:03.510 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Friday 06 September 2024 21:31:54 -0400 (0:00:00.119) 0:06:03.630 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Friday 06 September 2024 21:31:54 -0400 (0:00:00.120) 0:06:03.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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Friday 06 September 2024 21:31:54 -0400 (0:00:00.113) 0:06:03.863 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Friday 06 September 2024 21:31:54 -0400 (0:00:00.122) 0:06:03.985 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Friday 06 September 2024 21:31:54 -0400 (0:00:00.148) 0:06:04.134 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 06 September 2024 21:31:54 -0400 (0:00:00.120) 0:06:04.254 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Friday 06 September 2024 21:31:54 -0400 (0:00:00.121) 0:06:04.375 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 06 September 2024 21:31:54 -0400 (0:00:00.124) 0:06:04.500 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Friday 06 September 2024 21:31:55 -0400 (0:00:00.118) 0:06:04.618 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Friday 06 September 2024 21:31:55 -0400 (0:00:00.125) 0:06:04.744 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Friday 06 September 2024 21:31:55 -0400 (0:00:00.112) 0:06:04.857 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Friday 06 September 2024 21:31:55 -0400 (0:00:00.086) 0:06:04.943 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Friday 06 September 2024 21:31:55 -0400 (0:00:00.091) 0:06:05.035 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Friday 06 September 2024 21:31:55 -0400 (0:00:00.082) 0:06:05.118 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Friday 06 September 2024 21:31:55 -0400 (0:00:00.428) 0:06:05.546 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Friday 06 September 2024 21:31:56 -0400 (0:00:00.078) 0:06:05.625 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Friday 06 September 2024 21:31:56 -0400 (0:00:00.079) 0:06:05.705 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 06 September 2024 21:31:56 -0400 (0:00:00.140) 0:06:05.845 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 06 September 2024 21:31:56 -0400 (0:00:00.113) 0:06:05.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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1201 Friday 06 September 2024 21:31:56 -0400 (0:00:00.116) 0:06:06.074 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1211 Friday 06 September 2024 21:31:56 -0400 (0:00:00.125) 0:06:06.200 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1220 Friday 06 September 2024 21:31:56 -0400 (0:00:00.116) 0:06:06.317 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1229 Friday 06 September 2024 21:31:56 -0400 (0:00:00.095) 0:06:06.412 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1240 Friday 06 September 2024 21:31:56 -0400 (0:00:00.077) 0:06:06.490 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1253 Friday 06 September 2024 21:31:56 -0400 (0:00:00.073) 0:06:06.564 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1262 Friday 06 September 2024 21:31:57 -0400 (0:00:00.076) 0:06:06.640 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1269 Friday 06 September 2024 21:31:57 -0400 (0:00:00.074) 0:06:06.714 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1276 Friday 06 September 2024 21:31:57 -0400 (0:00:00.075) 0:06:06.790 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1284 Friday 06 September 2024 21:31:57 -0400 (0:00:00.073) 0:06:06.863 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1291 Friday 06 September 2024 21:31:57 -0400 (0:00:00.074) 0:06:06.938 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Friday 06 September 2024 21:31:57 -0400 (0:00:00.091) 0:06:07.029 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1312 Friday 06 September 2024 21:31:57 -0400 (0:00:00.070) 0:06:07.100 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Friday 06 September 2024 21:31:57 -0400 (0:00:00.227) 0:06:07.328 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1325 Friday 06 September 2024 21:31:57 -0400 (0:00:00.075) 0:06:07.404 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1333 Friday 06 September 2024 21:31:57 -0400 (0:00:00.079) 0:06:07.483 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1346 Friday 06 September 2024 21:31:57 -0400 (0:00:00.084) 0:06:07.568 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Friday 06 September 2024 21:31:58 -0400 (0:00:00.077) 0:06:07.645 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Friday 06 September 2024 21:31:58 -0400 (0:00:00.076) 0:06:07.721 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1369 Friday 06 September 2024 21:31:58 -0400 (0:00:00.073) 0:06:07.795 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 06 September 2024 21:31:58 -0400 (0:00:00.077) 0:06:07.872 ****** changed: [managed_node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 06 September 2024 21:31:58 -0400 (0:00:00.450) 0:06:08.323 ****** changed: [managed_node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-06 21:31:15 EDT", "ActiveEnterTimestampMonotonic": "1562162848", "ActiveExitTimestamp": "Fri 2024-09-06 21:31:15 EDT", "ActiveExitTimestampMonotonic": "1561924105", "ActiveState": "active", "After": "-.mount basic.target network.target auditd.service systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-06 21:31:15 EDT", "AssertTimestampMonotonic": "1562161895", "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-09-06 21:31:15 EDT", "ConditionTimestampMonotonic": "1562161893", "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": "17647", "ExecMainStartTimestamp": "Fri 2024-09-06 21:31:15 EDT", "ExecMainStartTimestampMonotonic": "1562162793", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-09-06 21:31:15 EDT] ; stop_time=[n/a] ; pid=17647 ; 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-09-06 21:31:15 EDT", "InactiveEnterTimestampMonotonic": "1562160173", "InactiveExitTimestamp": "Fri 2024-09-06 21:31:15 EDT", "InactiveExitTimestampMonotonic": "1562162848", "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": "17647", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-09-06 21:31:15 EDT", "WatchdogTimestampMonotonic": "1562162828", "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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 06 September 2024 21:31:59 -0400 (0:00:01.191) 0:06:09.514 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1398 Friday 06 September 2024 21:32:00 -0400 (0:00:00.075) 0:06:09.589 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up after the role invocation] ************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_tls_2019.yml:26 Friday 06 September 2024 21:32:00 -0400 (0:00:00.072) 0:06:09.662 ****** included: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml for managed_node2 TASK [Gather package facts] **************************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Friday 06 September 2024 21:32:00 -0400 (0:00:00.138) 0:06:09.800 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:6 Friday 06 September 2024 21:32:02 -0400 (0:00:01.956) 0:06:11.757 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:14 Friday 06 September 2024 21:32:02 -0400 (0:00:00.335) 0:06:12.093 ****** ok: [managed_node2] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:18 Friday 06 September 2024 21:32:02 -0400 (0:00:00.078) 0:06:12.171 ****** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 06 September 2024 21:32:02 -0400 (0:00:00.208) 0:06:12.379 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 06 September 2024 21:32:02 -0400 (0:00:00.140) 0:06:12.520 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 06 September 2024 21:32:03 -0400 (0:00:00.103) 0:06:12.623 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 06 September 2024 21:32:03 -0400 (0:00:00.856) 0:06:13.480 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 06 September 2024 21:32:03 -0400 (0:00:00.080) 0:06:13.560 ****** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 06 September 2024 21:32:04 -0400 (0:00:00.513) 0:06:14.074 ****** ok: [managed_node2] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 06 September 2024 21:32:04 -0400 (0:00:00.078) 0:06:14.153 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 06 September 2024 21:32:05 -0400 (0:00:00.573) 0:06:14.726 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 06 September 2024 21:32:05 -0400 (0:00:00.074) 0:06:14.801 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 06 September 2024 21:32:05 -0400 (0:00:00.072) 0:06:14.874 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 06 September 2024 21:32:05 -0400 (0:00:00.192) 0:06:15.066 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 06 September 2024 21:32:05 -0400 (0:00:00.076) 0:06:15.143 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 06 September 2024 21:32:05 -0400 (0:00:00.099) 0:06:15.242 ****** ok: [managed_node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2024-09-06 21:11:37 EDT", "ActiveEnterTimestampMonotonic": "384187061", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-06 21:11:36 EDT", "AssertTimestampMonotonic": "383147837", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-09-06 21:11:36 EDT", "ConditionTimestampMonotonic": "383147835", "Conflicts": "ip6tables.service iptables.service shutdown.target ebtables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9521", "ExecMainStartTimestamp": "Fri 2024-09-06 21:11:36 EDT", "ExecMainStartTimestampMonotonic": "383149136", "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-09-06 21:11:36 EDT", "InactiveExitTimestampMonotonic": "383149164", "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": "9521", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-09-06 21:11:37 EDT", "WatchdogTimestampMonotonic": "384186836", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 06 September 2024 21:32:06 -0400 (0:00:00.481) 0:06:15.724 ****** ok: [managed_node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-09-06 21:11:37 EDT", "ActiveEnterTimestampMonotonic": "384187061", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-09-06 21:11:36 EDT", "AssertTimestampMonotonic": "383147837", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-09-06 21:11:36 EDT", "ConditionTimestampMonotonic": "383147835", "Conflicts": "ip6tables.service iptables.service shutdown.target ebtables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "9521", "ExecMainStartTimestamp": "Fri 2024-09-06 21:11:36 EDT", "ExecMainStartTimestampMonotonic": "383149136", "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-09-06 21:11:36 EDT", "InactiveExitTimestampMonotonic": "383149164", "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": "9521", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2024-09-06 21:11:37 EDT", "WatchdogTimestampMonotonic": "384186836", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 06 September 2024 21:32:06 -0400 (0:00:00.462) 0:06:16.187 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 06 September 2024 21:32:06 -0400 (0:00:00.085) 0:06:16.272 ****** ok: [managed_node2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.10.168 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 06 September 2024 21:32:07 -0400 (0:00:00.375) 0:06:16.647 ****** ok: [managed_node2] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 06 September 2024 21:32:07 -0400 (0:00:00.082) 0:06:16.730 ****** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Friday 06 September 2024 21:32:07 -0400 (0:00:00.074) 0:06:16.805 ****** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Friday 06 September 2024 21:32:07 -0400 (0:00:00.077) 0:06:16.882 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Friday 06 September 2024 21:32:07 -0400 (0:00:00.081) 0:06:16.964 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Friday 06 September 2024 21:32:07 -0400 (0:00:00.075) 0:06:17.039 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Friday 06 September 2024 21:32:07 -0400 (0:00:00.073) 0:06:17.112 ****** ok: [managed_node2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.10.168 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Friday 06 September 2024 21:32:08 -0400 (0:00:00.479) 0:06:17.592 ****** ok: [managed_node2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Friday 06 September 2024 21:32:08 -0400 (0:00:00.087) 0:06:17.680 ****** skipping: [managed_node2] => {} TASK [Purge selinux configuration] ********************************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:26 Friday 06 September 2024 21:32:08 -0400 (0:00:00.081) 0:06:17.761 ****** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 06 September 2024 21:32:08 -0400 (0:00:00.179) 0:06:17.940 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 06 September 2024 21:32:08 -0400 (0:00:00.134) 0:06:18.075 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 06 September 2024 21:32:08 -0400 (0:00:00.100) 0:06:18.176 ****** included: /tmp/collections-8E3/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-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Friday 06 September 2024 21:32:08 -0400 (0:00:00.142) 0:06:18.319 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Friday 06 September 2024 21:32:09 -0400 (0:00:00.349) 0:06:18.668 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Friday 06 September 2024 21:32:09 -0400 (0:00:00.081) 0:06:18.750 ****** ok: [managed_node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Friday 06 September 2024 21:32:09 -0400 (0:00:00.359) 0:06:19.110 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Friday 06 September 2024 21:32:09 -0400 (0:00:00.079) 0:06:19.190 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Friday 06 September 2024 21:32:10 -0400 (0:00:00.591) 0:06:19.781 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Friday 06 September 2024 21:32:10 -0400 (0:00:00.074) 0:06:19.856 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Friday 06 September 2024 21:32:10 -0400 (0:00:00.195) 0:06:20.051 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Friday 06 September 2024 21:32:10 -0400 (0:00:00.079) 0:06:20.131 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Friday 06 September 2024 21:32:10 -0400 (0:00:00.075) 0:06:20.206 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Friday 06 September 2024 21:32:10 -0400 (0:00:00.078) 0:06:20.285 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Friday 06 September 2024 21:32:10 -0400 (0:00:00.075) 0:06:20.361 ****** ok: [managed_node2] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 06 September 2024 21:32:11 -0400 (0:00:00.659) 0:06:21.020 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Friday 06 September 2024 21:32:11 -0400 (0:00:00.103) 0:06:21.123 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Friday 06 September 2024 21:32:11 -0400 (0:00:00.117) 0:06:21.241 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Friday 06 September 2024 21:32:11 -0400 (0:00:00.114) 0:06:21.356 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Friday 06 September 2024 21:32:11 -0400 (0:00:00.075) 0:06:21.432 ****** skipping: [managed_node2] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Friday 06 September 2024 21:32:11 -0400 (0:00:00.082) 0:06:21.514 ****** 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.346500", "end": "2024-09-06 21:32:12.588595", "rc": 0, "start": "2024-09-06 21:32:12.242095" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Friday 06 September 2024 21:32:12 -0400 (0:00:00.757) 0:06:22.271 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 06 September 2024 21:32:12 -0400 (0:00:00.072) 0:06:22.344 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Friday 06 September 2024 21:32:12 -0400 (0:00:00.074) 0:06:22.418 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Friday 06 September 2024 21:32:12 -0400 (0:00:00.074) 0:06:22.493 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 06 September 2024 21:32:13 -0400 (0:00:00.290) 0:06:22.784 ****** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Friday 06 September 2024 21:32:13 -0400 (0:00:00.120) 0:06:22.904 ****** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Friday 06 September 2024 21:32:13 -0400 (0:00:00.115) 0:06:23.020 ****** TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Friday 06 September 2024 21:32:13 -0400 (0:00:00.115) 0:06:23.136 ****** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Friday 06 September 2024 21:32:13 -0400 (0:00:00.100) 0:06:23.236 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Friday 06 September 2024 21:32:16 -0400 (0:00:02.738) 0:06:25.974 ****** 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-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Friday 06 September 2024 21:32:16 -0400 (0:00:00.101) 0:06:26.075 ****** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Friday 06 September 2024 21:32:16 -0400 (0:00:00.096) 0:06:26.172 ****** TASK [Leave realm] ************************************************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:32 Friday 06 September 2024 21:32:16 -0400 (0:00:00.096) 0:06:26.268 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:40 Friday 06 September 2024 21:32:16 -0400 (0:00:00.254) 0:06:26.523 ****** skipping: [managed_node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:44 Friday 06 September 2024 21:32:17 -0400 (0:00:00.131) 0:06:26.655 ****** ok: [managed_node2] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:50 Friday 06 September 2024 21:32:17 -0400 (0:00:00.517) 0:06:27.172 ****** changed: [managed_node2] => { "changed": true, "changes": { "removed": [ "mssql-server", "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "adutil is not installed", "mssql-server-fts is not installed", "mssql-server-ha is not installed", "powershell is not installed", "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:15.0.4375.4-1 will be erased\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be erased\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n--> Finding unneeded leftover dependencies\n---> Marking msodbcsql17 to be removed - no longer needed by mssql-tools\n---> Marking unixODBC to be removed - no longer needed by unixODBC-devel\n---> Marking python3 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl to be removed - no longer needed by mssql-server\n---> Marking gdb to be removed - no longer needed by mssql-server\n---> Marking libatomic to be removed - no longer needed by mssql-server\n---> Marking libsss_nss_idmap to be removed - no longer needed by mssql-server\n---> Marking lsof to be removed - no longer needed by mssql-server\n---> Marking bzip2 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl-gssapi to be removed - no longer needed by mssql-server\n---> Marking libtool-ltdl to be removed - no longer needed by unixODBC\n---> Marking python3-libs to be removed - no longer needed by python3\n---> Marking python3-setuptools to be removed - no longer needed by python3\n---> Marking python3-pip to be removed - no longer needed by python3\nFound and removing 14 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package lsof.x86_64 0:4.87-6.el7 will be erased\n---> Package msodbcsql17.x86_64 0:17.10.6.1-1 will be erased\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be erased\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 15.0.4375.4-1 @packages-microsoft-com-mssql-server-2019\n 1.1 G\n mssql-tools x86_64 17.10.1.1-1 @packages-microsoft-com-prod 714 k\n unixODBC-devel x86_64 2.3.11-1.rh @packages-microsoft-com-prod 223 k\nRemoving for dependencies:\n bzip2 x86_64 1.0.6-13.el7 @base 82 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 @updates 141 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 @updates 36 k\n gdb x86_64 7.6.1-120.el7 @base 7.0 M\n libatomic x86_64 4.8.5-44.el7 @base 26 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 @updates 82 k\n libtool-ltdl x86_64 2.4.2-22.el7_3 @base 66 k\n lsof x86_64 4.87-6.el7 @base 927 k\n msodbcsql17 x86_64 17.10.6.1-1 @packages-microsoft-com-prod 2.2 M\n python3 x86_64 3.6.8-21.el7_9 @updates 39 k\n python3-libs x86_64 3.6.8-21.el7_9 @updates 35 M\n python3-pip noarch 9.0.3-8.el7 @base 9.1 M\n python3-setuptools\n noarch 39.2.0-10.el7 @base 3.6 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+14 Dependent packages)\n\nInstalled size: 1.2 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-15.0.4375.4-1.x86_64 1/17 \n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 2/17 \n Erasing : mssql-tools-17.10.1.1-1.x86_64 3/17 \n Erasing : python3-libs-3.6.8-21.el7_9.x86_64 4/17 \n Erasing : python3-pip-9.0.3-8.el7.noarch 5/17 \n Erasing : python3-setuptools-39.2.0-10.el7.noarch 6/17 \n Erasing : python3-3.6.8-21.el7_9.x86_64 7/17 \n Erasing : msodbcsql17-17.10.6.1-1.x86_64 8/17 \nODBC Driver 17 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-2.3.11-1.rh.x86_64 9/17 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 10/17 \n Erasing : libatomic-4.8.5-44.el7.x86_64 11/17 \n Erasing : bzip2-1.0.6-13.el7.x86_64 12/17 \n Erasing : gdb-7.6.1-120.el7.x86_64 13/17 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 14/17 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 15/17 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 16/17 \n Erasing : lsof-4.87-6.el7.x86_64 17/17 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/17 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 2/17 \n Verifying : python3-3.6.8-21.el7_9.x86_64 3/17 \n Verifying : mssql-server-15.0.4375.4-1.x86_64 4/17 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 5/17 \n Verifying : bzip2-1.0.6-13.el7.x86_64 6/17 \n Verifying : msodbcsql17-17.10.6.1-1.x86_64 7/17 \n Verifying : lsof-4.87-6.el7.x86_64 8/17 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 9/17 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 10/17 \n Verifying : gdb-7.6.1-120.el7.x86_64 11/17 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 12/17 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 13/17 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 14/17 \n Verifying : python3-pip-9.0.3-8.el7.noarch 15/17 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 16/17 \n Verifying : libatomic-4.8.5-44.el7.x86_64 17/17 \n\nRemoved:\n mssql-server.x86_64 0:15.0.4375.4-1 mssql-tools.x86_64 0:17.10.1.1-1 \n unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Removed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 \n lsof.x86_64 0:4.87-6.el7 \n msodbcsql17.x86_64 0:17.10.6.1-1 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:63 Friday 06 September 2024 21:32:21 -0400 (0:00:03.881) 0:06:31.054 ****** [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.009702", "end": "2024-09-06 21:32:21.733991", "rc": 0, "start": "2024-09-06 21:32:21.724289" } STDOUT: removed ‘/var/opt/mssql/mssql.conf’ removed ‘/var/opt/mssql/data/model.mdf’ removed ‘/var/opt/mssql/data/templog.ldf’ removed ‘/var/opt/mssql/data/tempdb.mdf’ removed ‘/var/opt/mssql/data/msdbdata.mdf’ removed ‘/var/opt/mssql/data/Entropy.bin’ removed ‘/var/opt/mssql/data/model_replicatedmaster.ldf’ removed ‘/var/opt/mssql/data/model_replicatedmaster.mdf’ removed ‘/var/opt/mssql/data/modellog.ldf’ removed ‘/var/opt/mssql/data/tempdb2.ndf’ removed ‘/var/opt/mssql/data/msdblog.ldf’ removed ‘/var/opt/mssql/data/mastlog.ldf’ removed ‘/var/opt/mssql/data/master.mdf’ removed ‘/var/opt/mssql/data/model_msdbdata.mdf’ removed ‘/var/opt/mssql/data/model_msdblog.ldf’ removed directory: ‘/var/opt/mssql/data’ removed ‘/var/opt/mssql/secrets/machine-key’ removed directory: ‘/var/opt/mssql/secrets’ removed ‘/var/opt/mssql/.system/system/lsa.hiv’ removed directory: ‘/var/opt/mssql/.system/system/Temp’ removed ‘/var/opt/mssql/.system/system/licensing.hiv’ removed ‘/var/opt/mssql/.system/system/lsasetup.log’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/1d74bcc2-3219-49ff-92b7-1cd8ab383093’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles/Scm’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles’ removed directory: ‘/var/opt/mssql/.system/system/system32’ removed ‘/var/opt/mssql/.system/system/security.hiv’ removed ‘/var/opt/mssql/.system/system/debug/PASSWD.LOG’ removed directory: ‘/var/opt/mssql/.system/system/debug’ removed directory: ‘/var/opt/mssql/.system/system’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Temp’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/LocalLow’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Desktop’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Documents’ removed directory: ‘/var/opt/mssql/.system/profiles/Client’ removed directory: ‘/var/opt/mssql/.system/profiles’ removed ‘/var/opt/mssql/.system/instance_id’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft’ removed directory: ‘/var/opt/mssql/.system/programdata’ removed directory: ‘/var/opt/mssql/.system’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133701460087830000.xel’ removed ‘/var/opt/mssql/log/errorlog.8’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133701460477070000.xel’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133701462091230000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133701461026170000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133701460482020000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133701462788760000.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_133701461561560000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133701462782500000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133701460102750000.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_133701463226920000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133701460150670000.xel’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/system_health_0_133701463232430000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133701461019710000.xel’ removed ‘/var/opt/mssql/log/log_5.trc’ removed ‘/var/opt/mssql/log/errorlog.4’ removed ‘/var/opt/mssql/log/errorlog.2’ removed ‘/var/opt/mssql/log/system_health_0_133701461566740000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133701462096690000.xel’ removed ‘/var/opt/mssql/log/errorlog.7’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/mssql-conf/mssql-conf.log’ removed directory: ‘/var/opt/mssql/log/mssql-conf’ removed ‘/var/opt/mssql/log/log_7.trc’ removed ‘/var/opt/mssql/log/system_health_0_133701460156930000.xel’ removed directory: ‘/var/opt/mssql/log’ removed directory: ‘/var/opt/mssql’ removed directory: ‘/opt/mssql’ removed directory: ‘/opt/mssql-tools’ removed ‘/etc/yum.repos.d/packages-microsoft-com-mssql-server-2019.repo’ removed ‘/etc/yum.repos.d/packages-microsoft-com-prod.repo’ removed ‘/etc/systemd/system/multi-user.target.wants/mssql-server.service’ TASK [Stop the mssql-server service] ******************************************* task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:77 Friday 06 September 2024 21:32:21 -0400 (0:00:00.393) 0:06:31.448 ****** ok: [managed_node2] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.348143", "end": "2024-09-06 21:32:22.484281", "rc": 0, "start": "2024-09-06 21:32:22.136138" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Friday 06 September 2024 21:32:22 -0400 (0:00:00.686) 0:06:32.134 ****** changed: [managed_node2] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.782191", "end": "2024-09-06 21:32:24.727584", "rc": 0, "start": "2024-09-06 21:32:22.945393" } 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 06 September 2024 21:32:24 -0400 (0:00:02.238) 0:06:34.373 ****** =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 42.80s /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 9.55s /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:23 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 8.51s /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 7.13s /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 4.82s /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:5 Remove related packages ------------------------------------------------- 3.88s /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:50 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 2.74s /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Disable TLS encryption -------------------------------------------------- 2.41s /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:175 Test with certs created by the certificate role ------------------------- 2.33s /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:154 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.24s /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 fedora.linux_system_roles.mssql : Gather package facts ------------------ 2.07s /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Gather package facts ---------------------------------------------------- 1.96s /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Test with certs on managed nodes ---------------------------------------- 1.73s /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:121 Copy certificates to hosts ---------------------------------------------- 1.64s /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml:107 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.55s /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.55s /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.52s /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/main.yml:101 Wait for mssql-server to prepare for client connections ----------------- 1.51s /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Wait for mssql-server to prepare for client connections ----------------- 1.49s /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 fedora.linux_system_roles.mssql : Gather system services facts ---------- 1.48s /tmp/collections-8E3/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323