Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles PLAY [Ensure that tls encryption configuration works] ************************** TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:29:11 -0400 (0:00:00.026) 0:00:00.026 ********* ok: [managed_node1] TASK [Run tests_tls with SQL Server 2017] ************************************** Thursday 25 July 2024 07:29:12 -0400 (0:00:00.909) 0:00:00.935 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_tls.yml for managed_node1 TASK [Assert fail on EL 7 with version = 2022 and EL 9 with version != 2022] *** Thursday 25 July 2024 07:29:12 -0400 (0:00:00.095) 0:00:01.030 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml for managed_node1 TASK [Ensure ansible_facts to get ansible_distribution] ************************ Thursday 25 July 2024 07:29:12 -0400 (0:00:00.032) 0:00:01.063 ********* ok: [managed_node1] TASK [Run the role] ************************************************************ Thursday 25 July 2024 07:29:12 -0400 (0:00:00.386) 0:00:01.450 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** Thursday 25 July 2024 07:29:13 -0400 (0:00:00.020) 0:00:01.470 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure the openssl package] ********************************************** Thursday 25 July 2024 07:29:13 -0400 (0:00:00.056) 0:00:01.526 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "1:openssl-1.0.2k-26.el7_9.x86_64 providing openssl is already installed" ] } lsrpackages: openssl TASK [Create a tempfile for a certificate on hosts] **************************** Thursday 25 July 2024 07:29:13 -0400 (0:00:00.678) 0:00:02.204 ********* changed: [managed_node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.5ceDhi", "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] **************************** Thursday 25 July 2024 07:29:14 -0400 (0:00:00.357) 0:00:02.562 ********* changed: [managed_node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.hJ9NP4", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [Generate a self-signed certificate and public key] *********************** Thursday 25 July 2024 07:29:14 -0400 (0:00:00.272) 0:00:02.834 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "openssl", "req", "-x509", "-nodes", "-newkey", "rsa:2048", "-subj", "/CN=10.31.45.245", "-out", "/tmp/ansible.5ceDhi", "-keyout", "/tmp/ansible.hJ9NP4", "-days", "365" ], "delta": "0:00:00.197246", "end": "2024-07-25 07:29:14.903069", "rc": 0, "start": "2024-07-25 07:29:14.705823" } STDERR: Generating a 2048 bit RSA private key ............................+++ ...............+++ writing new private key to '/tmp/ansible.hJ9NP4' ----- TASK [Copy certificate files to local tmp] ************************************* Thursday 25 July 2024 07:29:14 -0400 (0:00:00.570) 0:00:03.405 ********* changed: [managed_node1] => (item=/tmp/ansible.5ceDhi) => { "ansible_loop_var": "item", "changed": true, "checksum": "97a8f9313dd55f9e85d65566af2fb6b5c85c5742", "dest": "/tmp/ansible.5ceDhi", "item": "/tmp/ansible.5ceDhi", "md5sum": "82932785bf230ce6629d026a0cee0f5d", "remote_checksum": "97a8f9313dd55f9e85d65566af2fb6b5c85c5742", "remote_md5sum": null } changed: [managed_node1] => (item=/tmp/ansible.hJ9NP4) => { "ansible_loop_var": "item", "changed": true, "checksum": "9d4bace5f142156864196a0309ab96ce6f7370ab", "dest": "/tmp/ansible.hJ9NP4", "item": "/tmp/ansible.hJ9NP4", "md5sum": "e02db2807beee5f0a04268eb02c00389", "remote_checksum": "9d4bace5f142156864196a0309ab96ce6f7370ab", "remote_md5sum": null } TASK [Copy a private key to the playbook directory to test a relative path] **** Thursday 25 July 2024 07:29:15 -0400 (0:00:00.722) 0:00:04.128 ********* changed: [managed_node1 -> localhost] => { "changed": true, "checksum": "9d4bace5f142156864196a0309ab96ce6f7370ab", "dest": "./ansible.hJ9NP4", "gid": 0, "group": "root", "md5sum": "e02db2807beee5f0a04268eb02c00389", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1721906955.69-23525-16636026630635/source", "state": "file", "uid": 0 } TASK [Set mssql_tls_cert and mssql_tls_private_key for the following test] ***** Thursday 25 July 2024 07:29:16 -0400 (0:00:00.390) 0:00:04.518 ********* ok: [managed_node1] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.5ceDhi", "mssql_tls_private_key": "ansible.hJ9NP4" }, "changed": false } TASK [Run role] **************************************************************** Thursday 25 July 2024 07:29:16 -0400 (0:00:00.021) 0:00:04.540 ********* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** Thursday 25 July 2024 07:29:16 -0400 (0:00:00.293) 0:00:04.833 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** Thursday 25 July 2024 07:29:16 -0400 (0:00:00.027) 0:00:04.861 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** Thursday 25 July 2024 07:29:16 -0400 (0:00:00.025) 0:00:04.887 ********* ok: [managed_node1] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** Thursday 25 July 2024 07:29:16 -0400 (0:00:00.054) 0:00:04.941 ********* ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** Thursday 25 July 2024 07:29:16 -0400 (0:00:00.020) 0:00:04.962 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Thursday 25 July 2024 07:29:16 -0400 (0:00:00.019) 0:00:04.981 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** Thursday 25 July 2024 07:29:16 -0400 (0:00:00.020) 0:00:05.002 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** Thursday 25 July 2024 07:29:16 -0400 (0:00:00.019) 0:00:05.021 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** Thursday 25 July 2024 07:29:16 -0400 (0:00:00.019) 0:00:05.041 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** Thursday 25 July 2024 07:29:16 -0400 (0:00:00.023) 0:00:05.064 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** Thursday 25 July 2024 07:29:16 -0400 (0:00:00.019) 0:00:05.083 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** Thursday 25 July 2024 07:29:16 -0400 (0:00:00.019) 0:00:05.103 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** Thursday 25 July 2024 07:29:16 -0400 (0:00:00.025) 0:00:05.128 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** Thursday 25 July 2024 07:29:16 -0400 (0:00:00.059) 0:00:05.188 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** Thursday 25 July 2024 07:29:16 -0400 (0:00:00.020) 0:00:05.209 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** Thursday 25 July 2024 07:29:16 -0400 (0:00:00.021) 0:00:05.231 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** Thursday 25 July 2024 07:29:16 -0400 (0:00:00.020) 0:00:05.251 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** Thursday 25 July 2024 07:29:16 -0400 (0:00:00.020) 0:00:05.271 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** Thursday 25 July 2024 07:29:16 -0400 (0:00:00.023) 0:00:05.294 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:29:16 -0400 (0:00:00.020) 0:00:05.315 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** Thursday 25 July 2024 07:29:18 -0400 (0:00:01.410) 0:00:06.725 ********* skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** Thursday 25 July 2024 07:29:18 -0400 (0:00:00.103) 0:00:06.829 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** Thursday 25 July 2024 07:29:18 -0400 (0:00:00.052) 0:00:06.882 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** Thursday 25 July 2024 07:29:18 -0400 (0:00:00.058) 0:00:06.941 ********* skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** Thursday 25 July 2024 07:29:18 -0400 (0:00:00.085) 0:00:07.026 ********* ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** Thursday 25 July 2024 07:29:19 -0400 (0:00:00.668) 0:00:07.694 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** Thursday 25 July 2024 07:29:19 -0400 (0:00:00.053) 0:00:07.747 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** Thursday 25 July 2024 07:29:19 -0400 (0:00:00.053) 0:00:07.800 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** Thursday 25 July 2024 07:29:19 -0400 (0:00:00.096) 0:00:07.897 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** Thursday 25 July 2024 07:29:19 -0400 (0:00:00.053) 0:00:07.950 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** Thursday 25 July 2024 07:29:19 -0400 (0:00:00.055) 0:00:08.006 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** Thursday 25 July 2024 07:29:19 -0400 (0:00:00.054) 0:00:08.061 ********* changed: [managed_node1] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2017", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** Thursday 25 July 2024 07:29:20 -0400 (0:00:00.446) 0:00:08.507 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** Thursday 25 July 2024 07:29:20 -0400 (0:00:00.055) 0:00:08.562 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* Thursday 25 July 2024 07:29:20 -0400 (0:00:00.593) 0:00:09.156 ********* changed: [managed_node1] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3465.1-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-14.0.3465.1-1.x86_64\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be installed\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 14.0.3465.1-1 packages-microsoft-com-mssql-server-2017\n 200 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 base 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 updates 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 updates 41 k\n gdb x86_64 7.6.1-120.el7 base 2.4 M\n libatomic x86_64 4.8.5-44.el7 base 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 updates 170 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+6 Dependent packages)\n\nTotal size: 203 M\nInstalled size: 1.0 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libatomic-4.8.5-44.el7.x86_64 1/7 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 2/7 \n Installing : gdb-7.6.1-120.el7.x86_64 3/7 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Installing : bzip2-1.0.6-13.el7.x86_64 5/7 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 6/7 \n Installing : mssql-server-14.0.3465.1-1.x86_64 7/7 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\nSQL Server needs to be restarted in order to apply this setting. Please run\n'systemctl restart mssql-server.service'.\n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 1/7 \n Verifying : bzip2-1.0.6-13.el7.x86_64 2/7 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 3/7 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Verifying : gdb-7.6.1-120.el7.x86_64 5/7 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/7 \n Verifying : libatomic-4.8.5-44.el7.x86_64 7/7 \n\nInstalled:\n mssql-server.x86_64 0:14.0.3465.1-1 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n\nComplete!\n" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** Thursday 25 July 2024 07:29:53 -0400 (0:00:32.727) 0:00:41.883 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** Thursday 25 July 2024 07:29:53 -0400 (0:00:00.052) 0:00:41.936 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005842", "end": "2024-07-25 07:29:53.729017", "rc": 0, "start": "2024-07-25 07:29:53.723175" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** Thursday 25 July 2024 07:29:53 -0400 (0:00:00.329) 0:00:42.265 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** Thursday 25 July 2024 07:29:54 -0400 (0:00:01.049) 0:00:43.314 ********* ok: [managed_node1] => { "ansible_facts": { "__mssql_is_setup": false }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** Thursday 25 July 2024 07:29:54 -0400 (0:00:00.079) 0:00:43.393 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** Thursday 25 July 2024 07:29:55 -0400 (0:00:00.101) 0:00:43.495 ********* changed: [managed_node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** Thursday 25 July 2024 07:30:03 -0400 (0:00:08.276) 0:00:51.771 ********* skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** Thursday 25 July 2024 07:30:03 -0400 (0:00:00.070) 0:00:51.841 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** Thursday 25 July 2024 07:30:03 -0400 (0:00:00.059) 0:00:51.901 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** Thursday 25 July 2024 07:30:03 -0400 (0:00:00.062) 0:00:51.963 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** Thursday 25 July 2024 07:30:04 -0400 (0:00:00.743) 0:00:52.707 ********* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:07:59 EDT", "ActiveEnterTimestampMonotonic": "28047343", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice systemd-sysctl.service systemd-journald.socket dbus.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:07:57 EDT", "AssertTimestampMonotonic": "26119412", "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": "Thu 2024-07-25 07:07:57 EDT", "ConditionTimestampMonotonic": "26119411", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "850", "ExecMainStartTimestamp": "Thu 2024-07-25 07:07:57 EDT", "ExecMainStartTimestampMonotonic": "26120028", "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": "Thu 2024-07-25 07:07:57 EDT", "InactiveExitTimestampMonotonic": "26120069", "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": "850", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target polkit.service system.slice dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 07:07:59 EDT", "WatchdogTimestampMonotonic": "28047298", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* Thursday 25 July 2024 07:30:05 -0400 (0:00:01.125) 0:00:53.832 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.174106", "end": "2024-07-25 07:30:05.894954", "rc": 0, "start": "2024-07-25 07:30:05.720848" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** Thursday 25 July 2024 07:30:06 -0400 (0:00:00.635) 0:00:54.468 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** Thursday 25 July 2024 07:30:06 -0400 (0:00:00.061) 0:00:54.529 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** Thursday 25 July 2024 07:30:06 -0400 (0:00:00.064) 0:00:54.594 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** Thursday 25 July 2024 07:30:06 -0400 (0:00:00.061) 0:00:54.655 ********* changed: [managed_node1] => { "changed": true, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** Thursday 25 July 2024 07:30:06 -0400 (0:00:00.679) 0:00:55.335 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** Thursday 25 July 2024 07:30:06 -0400 (0:00:00.059) 0:00:55.395 ********* changed: [managed_node1] => { "changed": true, "changes": { "installed": [ "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be installed\n--> Processing Dependency: msodbcsql17 >= 17.3.0.0 for package: mssql-tools-17.10.1.1-1.x86_64\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: unixODBC = 2.3.11 for package: unixODBC-devel-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package msodbcsql17.x86_64 0:17.10.6.1-1 will be installed\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-tools x86_64 17.10.1.1-1 packages-microsoft-com-prod 291 k\n unixODBC-devel x86_64 2.3.11-1.rh packages-microsoft-com-prod 53 k\nInstalling for dependencies:\n libtool-ltdl x86_64 2.4.2-22.el7_3 base 49 k\n msodbcsql17 x86_64 17.10.6.1-1 packages-microsoft-com-prod 911 k\n unixODBC x86_64 2.3.11-1.rh packages-microsoft-com-prod 274 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+3 Dependent packages)\n\nTotal size: 1.5 M\nInstalled size: 3.8 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libtool-ltdl-2.4.2-22.el7_3.x86_64 1/5 \n Installing : unixODBC-2.3.11-1.rh.x86_64 2/5 \n Installing : msodbcsql17-17.10.6.1-1.x86_64 3/5 \nodbcinst: Driver installed. Usage count increased to 1. \n Target directory is /etc\n Installing : mssql-tools-17.10.1.1-1.x86_64 4/5 \n Installing : unixODBC-devel-2.3.11-1.rh.x86_64 5/5 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/5 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 2/5 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 3/5 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 4/5 \n Verifying : msodbcsql17-17.10.6.1-1.x86_64 5/5 \n\nInstalled:\n mssql-tools.x86_64 0:17.10.1.1-1 unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Installed:\n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 msodbcsql17.x86_64 0:17.10.6.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** Thursday 25 July 2024 07:30:11 -0400 (0:00:04.574) 0:00:59.970 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** Thursday 25 July 2024 07:30:11 -0400 (0:00:00.061) 0:01:00.031 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** Thursday 25 July 2024 07:30:11 -0400 (0:00:00.060) 0:01:00.092 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** Thursday 25 July 2024 07:30:11 -0400 (0:00:00.062) 0:01:00.155 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:30:11 -0400 (0:00:00.059) 0:01:00.214 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** Thursday 25 July 2024 07:30:11 -0400 (0:00:00.064) 0:01:00.278 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** Thursday 25 July 2024 07:30:11 -0400 (0:00:00.059) 0:01:00.338 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** Thursday 25 July 2024 07:30:11 -0400 (0:00:00.062) 0:01:00.400 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** Thursday 25 July 2024 07:30:12 -0400 (0:00:00.059) 0:01:00.460 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** Thursday 25 July 2024 07:30:12 -0400 (0:00:00.061) 0:01:00.522 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:30:12 -0400 (0:00:00.062) 0:01:00.584 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** Thursday 25 July 2024 07:30:12 -0400 (0:00:00.060) 0:01:00.645 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** Thursday 25 July 2024 07:30:12 -0400 (0:00:00.107) 0:01:00.752 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** Thursday 25 July 2024 07:30:12 -0400 (0:00:00.060) 0:01:00.813 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** Thursday 25 July 2024 07:30:12 -0400 (0:00:00.062) 0:01:00.876 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** Thursday 25 July 2024 07:30:12 -0400 (0:00:00.060) 0:01:00.936 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* Thursday 25 July 2024 07:30:12 -0400 (0:00:00.110) 0:01:01.047 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003618", "end": "2024-07-25 07:30:12.843615", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:30:12.839997" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** Thursday 25 July 2024 07:30:12 -0400 (0:00:00.335) 0:01:01.383 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.044751", "end": "2024-07-25 07:30:13.222338", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:30:13.177587" } 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] ***** Thursday 25 July 2024 07:30:13 -0400 (0:00:00.403) 0:01:01.787 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** Thursday 25 July 2024 07:30:13 -0400 (0:00:00.059) 0:01:01.846 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** Thursday 25 July 2024 07:30:13 -0400 (0:00:00.062) 0:01:01.909 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** Thursday 25 July 2024 07:30:13 -0400 (0:00:00.061) 0:01:01.971 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* Thursday 25 July 2024 07:30:13 -0400 (0:00:00.061) 0:01:02.032 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** Thursday 25 July 2024 07:30:13 -0400 (0:00:00.061) 0:01:02.094 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** Thursday 25 July 2024 07:30:13 -0400 (0:00:00.060) 0:01:02.155 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** Thursday 25 July 2024 07:30:13 -0400 (0:00:00.061) 0:01:02.216 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** Thursday 25 July 2024 07:30:13 -0400 (0:00:00.060) 0:01:02.277 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** Thursday 25 July 2024 07:30:13 -0400 (0:00:00.062) 0:01:02.339 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** Thursday 25 July 2024 07:30:13 -0400 (0:00:00.060) 0:01:02.400 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** Thursday 25 July 2024 07:30:14 -0400 (0:00:00.113) 0:01:02.513 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** Thursday 25 July 2024 07:30:14 -0400 (0:00:00.064) 0:01:02.578 ********* changed: [managed_node1] => (item=/tmp/ansible.5ceDhi) => { "ansible_loop_var": "item", "changed": true, "checksum": "97a8f9313dd55f9e85d65566af2fb6b5c85c5742", "dest": "/etc/pki/tls/certs/ansible.5ceDhi", "gid": 994, "group": "mssql", "item": "/tmp/ansible.5ceDhi", "md5sum": "82932785bf230ce6629d026a0cee0f5d", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1103, "src": "/root/.ansible/tmp/ansible-tmp-1721907014.18-23831-74096615725502/source", "state": "file", "uid": 996 } changed: [managed_node1] => (item=ansible.hJ9NP4) => { "ansible_loop_var": "item", "changed": true, "checksum": "9d4bace5f142156864196a0309ab96ce6f7370ab", "dest": "/etc/pki/tls/private/ansible.hJ9NP4", "gid": 994, "group": "mssql", "item": "ansible.hJ9NP4", "md5sum": "e02db2807beee5f0a04268eb02c00389", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1721907014.7-23831-255046274723087/source", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* Thursday 25 July 2024 07:30:15 -0400 (0:00:01.113) 0:01:03.692 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* Thursday 25 July 2024 07:30:15 -0400 (0:00:00.113) 0:01:03.806 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005486", "end": "2024-07-25 07:30:15.593397", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:30:15.587911" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** Thursday 25 July 2024 07:30:15 -0400 (0:00:00.328) 0:01:04.134 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/ansible.5ceDhi" ], "delta": "0:00:00.046714", "end": "2024-07-25 07:30:15.983899", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:30:15.937185" } 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] ***** Thursday 25 July 2024 07:30:16 -0400 (0:00:00.402) 0:01:04.537 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** Thursday 25 July 2024 07:30:16 -0400 (0:00:00.066) 0:01:04.604 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** Thursday 25 July 2024 07:30:16 -0400 (0:00:00.117) 0:01:04.721 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003151", "end": "2024-07-25 07:30:16.518030", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:30:16.514879" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** Thursday 25 July 2024 07:30:16 -0400 (0:00:00.345) 0:01:05.067 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.hJ9NP4" ], "delta": "0:00:00.047600", "end": "2024-07-25 07:30:16.921638", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:30:16.874038" } 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] ****** Thursday 25 July 2024 07:30:17 -0400 (0:00:00.401) 0:01:05.468 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** Thursday 25 July 2024 07:30:17 -0400 (0:00:00.066) 0:01:05.534 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** Thursday 25 July 2024 07:30:17 -0400 (0:00:00.122) 0:01:05.657 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003131", "end": "2024-07-25 07:30:17.451707", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:30:17.448576" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** Thursday 25 July 2024 07:30:17 -0400 (0:00:00.339) 0:01:05.996 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.048310", "end": "2024-07-25 07:30:17.840527", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:30:17.792217" } 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] *** Thursday 25 July 2024 07:30:17 -0400 (0:00:00.393) 0:01:06.389 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** Thursday 25 July 2024 07:30:17 -0400 (0:00:00.063) 0:01:06.453 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** Thursday 25 July 2024 07:30:18 -0400 (0:00:00.121) 0:01:06.575 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004422", "end": "2024-07-25 07:30:19.368593", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:30:18.364171" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** Thursday 25 July 2024 07:30:19 -0400 (0:00:01.340) 0:01:07.915 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.048233", "end": "2024-07-25 07:30:19.760999", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:30:19.712766" } 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] *** Thursday 25 July 2024 07:30:19 -0400 (0:00:00.441) 0:01:08.357 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** Thursday 25 July 2024 07:30:19 -0400 (0:00:00.063) 0:01:08.421 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** Thursday 25 July 2024 07:30:20 -0400 (0:00:00.062) 0:01:08.484 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** Thursday 25 July 2024 07:30:20 -0400 (0:00:00.063) 0:01:08.547 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** Thursday 25 July 2024 07:30:20 -0400 (0:00:00.058) 0:01:08.606 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** Thursday 25 July 2024 07:30:20 -0400 (0:00:00.065) 0:01:08.671 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** Thursday 25 July 2024 07:30:20 -0400 (0:00:00.063) 0:01:08.735 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** Thursday 25 July 2024 07:30:20 -0400 (0:00:00.062) 0:01:08.797 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** Thursday 25 July 2024 07:30:20 -0400 (0:00:00.062) 0:01:08.860 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ Thursday 25 July 2024 07:30:20 -0400 (0:00:00.061) 0:01:08.921 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** Thursday 25 July 2024 07:30:20 -0400 (0:00:00.063) 0:01:08.985 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** Thursday 25 July 2024 07:30:20 -0400 (0:00:00.059) 0:01:09.045 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** Thursday 25 July 2024 07:30:20 -0400 (0:00:00.062) 0:01:09.107 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** Thursday 25 July 2024 07:30:20 -0400 (0:00:00.061) 0:01:09.169 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* Thursday 25 July 2024 07:30:20 -0400 (0:00:00.063) 0:01:09.232 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** Thursday 25 July 2024 07:30:20 -0400 (0:00:00.059) 0:01:09.292 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** Thursday 25 July 2024 07:30:20 -0400 (0:00:00.062) 0:01:09.355 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* Thursday 25 July 2024 07:30:20 -0400 (0:00:00.062) 0:01:09.417 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** Thursday 25 July 2024 07:30:21 -0400 (0:00:00.060) 0:01:09.478 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** Thursday 25 July 2024 07:30:21 -0400 (0:00:00.116) 0:01:09.594 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** Thursday 25 July 2024 07:30:21 -0400 (0:00:00.058) 0:01:09.653 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** Thursday 25 July 2024 07:30:21 -0400 (0:00:00.063) 0:01:09.717 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** Thursday 25 July 2024 07:30:21 -0400 (0:00:00.060) 0:01:09.777 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** Thursday 25 July 2024 07:30:21 -0400 (0:00:00.064) 0:01:09.842 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** Thursday 25 July 2024 07:30:21 -0400 (0:00:00.062) 0:01:09.904 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** Thursday 25 July 2024 07:30:21 -0400 (0:00:00.061) 0:01:09.965 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** Thursday 25 July 2024 07:30:21 -0400 (0:00:00.061) 0:01:10.026 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** Thursday 25 July 2024 07:30:21 -0400 (0:00:00.062) 0:01:10.089 ********* skipping: [managed_node1] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** Thursday 25 July 2024 07:30:21 -0400 (0:00:00.074) 0:01:10.164 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** Thursday 25 July 2024 07:30:21 -0400 (0:00:00.060) 0:01:10.224 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** Thursday 25 July 2024 07:30:21 -0400 (0:00:00.062) 0:01:10.287 ********* skipping: [managed_node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** Thursday 25 July 2024 07:30:21 -0400 (0:00:00.076) 0:01:10.364 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** Thursday 25 July 2024 07:30:21 -0400 (0:00:00.061) 0:01:10.425 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** Thursday 25 July 2024 07:30:22 -0400 (0:00:00.059) 0:01:10.485 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:30:22 -0400 (0:00:00.062) 0:01:10.547 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* Thursday 25 July 2024 07:30:22 -0400 (0:00:00.059) 0:01:10.607 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:30:22 -0400 (0:00:00.063) 0:01:10.671 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** Thursday 25 July 2024 07:30:22 -0400 (0:00:00.061) 0:01:10.732 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** Thursday 25 July 2024 07:30:22 -0400 (0:00:00.062) 0:01:10.794 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** Thursday 25 July 2024 07:30:22 -0400 (0:00:00.116) 0:01:10.910 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** Thursday 25 July 2024 07:30:22 -0400 (0:00:00.061) 0:01:10.972 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** Thursday 25 July 2024 07:30:22 -0400 (0:00:00.062) 0:01:11.034 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** Thursday 25 July 2024 07:30:22 -0400 (0:00:00.060) 0:01:11.095 ********* skipping: [managed_node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** Thursday 25 July 2024 07:30:22 -0400 (0:00:00.077) 0:01:11.173 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** Thursday 25 July 2024 07:30:22 -0400 (0:00:00.060) 0:01:11.234 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ Thursday 25 July 2024 07:30:22 -0400 (0:00:00.060) 0:01:11.294 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:30:22 -0400 (0:00:00.062) 0:01:11.357 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** Thursday 25 July 2024 07:30:22 -0400 (0:00:00.062) 0:01:11.419 ********* skipping: [managed_node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** Thursday 25 July 2024 07:30:23 -0400 (0:00:00.071) 0:01:11.491 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** Thursday 25 July 2024 07:30:23 -0400 (0:00:00.059) 0:01:11.551 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** Thursday 25 July 2024 07:30:23 -0400 (0:00:00.061) 0:01:11.612 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** Thursday 25 July 2024 07:30:23 -0400 (0:00:00.063) 0:01:11.676 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** Thursday 25 July 2024 07:30:23 -0400 (0:00:00.060) 0:01:11.737 ********* changed: [managed_node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** Thursday 25 July 2024 07:30:23 -0400 (0:00:00.553) 0:01:12.291 ********* changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:30:03 EDT", "ActiveEnterTimestampMonotonic": "1351425104", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice systemd-journald.socket network.target -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:30:03 EDT", "AssertTimestampMonotonic": "1351424258", "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": "Thu 2024-07-25 07:30:03 EDT", "ConditionTimestampMonotonic": "1351424257", "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": "17795", "ExecMainStartTimestamp": "Thu 2024-07-25 07:30:03 EDT", "ExecMainStartTimestampMonotonic": "1351425042", "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": "Thu 2024-07-25 07:30:03 EDT", "InactiveExitTimestampMonotonic": "1351425104", "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": "17795", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount system.slice basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "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": "Thu 2024-07-25 07:30:03 EDT", "WatchdogTimestampMonotonic": "1351425082", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:30:24 -0400 (0:00:00.801) 0:01:13.092 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:30:24 -0400 (0:00:00.061) 0:01:13.154 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove a private key from the playbook directory] ************************ Thursday 25 July 2024 07:30:24 -0400 (0:00:00.065) 0:01:13.219 ********* changed: [managed_node1 -> localhost] => { "changed": true, "path": "ansible.hJ9NP4", "state": "absent" } TASK [Configure the mssql-server service start limit interval and burst] ******* Thursday 25 July 2024 07:30:25 -0400 (0:00:00.291) 0:01:13.510 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml for managed_node1 TASK [Modify the mssql-server service start limit interval] ******************** Thursday 25 July 2024 07:30:25 -0400 (0:00:00.106) 0:01:13.617 ********* changed: [managed_node1] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** Thursday 25 July 2024 07:30:25 -0400 (0:00:00.527) 0:01:14.144 ********* changed: [managed_node1] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** Thursday 25 July 2024 07:30:26 -0400 (0:00:00.463) 0:01:14.607 ********* ok: [managed_node1] => { "changed": false, "name": null, "status": {} } TASK [Verify connectivity and settings] **************************************** Thursday 25 July 2024 07:30:26 -0400 (0:00:00.736) 0:01:15.343 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed_node1 TASK [Check if the errorlog file exists and its location] ********************** Thursday 25 July 2024 07:30:27 -0400 (0:00:00.134) 0:01:15.478 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* Thursday 25 July 2024 07:30:27 -0400 (0:00:00.059) 0:01:15.538 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* Thursday 25 July 2024 07:30:27 -0400 (0:00:00.111) 0:01:15.650 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** Thursday 25 July 2024 07:30:27 -0400 (0:00:00.061) 0:01:15.711 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** Thursday 25 July 2024 07:30:27 -0400 (0:00:00.063) 0:01:15.774 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** Thursday 25 July 2024 07:30:27 -0400 (0:00:00.059) 0:01:15.834 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ Thursday 25 July 2024 07:30:27 -0400 (0:00:00.061) 0:01:15.896 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** Thursday 25 July 2024 07:30:27 -0400 (0:00:00.063) 0:01:15.959 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** Thursday 25 July 2024 07:30:27 -0400 (0:00:00.058) 0:01:16.018 ********* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** Thursday 25 July 2024 07:30:27 -0400 (0:00:00.120) 0:01:16.138 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:30:24 EDT", "ActiveEnterTimestampMonotonic": "1372824556", "ActiveExitTimestamp": "Thu 2024-07-25 07:30:24 EDT", "ActiveExitTimestampMonotonic": "1372574633", "ActiveState": "active", "After": "basic.target system.slice -.mount auditd.service systemd-journald.socket network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:30:24 EDT", "AssertTimestampMonotonic": "1372823644", "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": "Thu 2024-07-25 07:30:24 EDT", "ConditionTimestampMonotonic": "1372823642", "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": "19018", "ExecMainStartTimestamp": "Thu 2024-07-25 07:30:24 EDT", "ExecMainStartTimestampMonotonic": "1372824497", "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": "Thu 2024-07-25 07:30:24 EDT", "InactiveEnterTimestampMonotonic": "1372822536", "InactiveExitTimestamp": "Thu 2024-07-25 07:30:24 EDT", "InactiveExitTimestampMonotonic": "1372824556", "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": "19018", "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": "Thu 2024-07-25 07:30:24 EDT", "WatchdogTimestampMonotonic": "1372824536", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** Thursday 25 July 2024 07:30:28 -0400 (0:00:00.720) 0:01:16.859 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003050", "end": "2024-07-25 07:30:28.666820", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:30:28.663770" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** Thursday 25 July 2024 07:30:28 -0400 (0:00:00.349) 0:01:17.208 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003147", "end": "2024-07-25 07:30:28.998020", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:30:28.994873" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* Thursday 25 July 2024 07:30:29 -0400 (0:00:00.332) 0:01:17.540 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** Thursday 25 July 2024 07:30:29 -0400 (0:00:00.073) 0:01:17.615 ********* ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 6355, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** Thursday 25 July 2024 07:30:30 -0400 (0:00:01.482) 0:01:19.097 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.029437", "end": "2024-07-25 07:30:30.920090", "rc": 0, "start": "2024-07-25 07:30:30.890653" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* Thursday 25 July 2024 07:30:31 -0400 (0:00:00.373) 0:01:19.470 ********* ok: [managed_node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* Thursday 25 July 2024 07:30:31 -0400 (0:00:00.066) 0:01:19.537 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* Thursday 25 July 2024 07:30:31 -0400 (0:00:00.062) 0:01:19.600 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** Thursday 25 July 2024 07:30:31 -0400 (0:00:00.061) 0:01:19.661 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ Thursday 25 July 2024 07:30:31 -0400 (0:00:00.061) 0:01:19.723 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** Thursday 25 July 2024 07:30:31 -0400 (0:00:00.061) 0:01:19.784 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** Thursday 25 July 2024 07:30:31 -0400 (0:00:00.063) 0:01:19.848 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** Thursday 25 July 2024 07:30:31 -0400 (0:00:00.060) 0:01:19.908 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** Thursday 25 July 2024 07:30:31 -0400 (0:00:00.064) 0:01:19.973 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlscert] ************************************ Thursday 25 July 2024 07:30:31 -0400 (0:00:00.114) 0:01:20.088 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004242", "end": "2024-07-25 07:30:31.890349", "rc": 0, "start": "2024-07-25 07:30:31.886107" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.5ceDhi TASK [Verify the setting when it is type str tlscert] ************************** Thursday 25 July 2024 07:30:32 -0400 (0:00:00.402) 0:01:20.491 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* Thursday 25 July 2024 07:30:32 -0400 (0:00:00.080) 0:01:20.571 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.5ceDhi] ***************** Thursday 25 July 2024 07:30:32 -0400 (0:00:00.115) 0:01:20.686 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** Thursday 25 July 2024 07:30:32 -0400 (0:00:00.064) 0:01:20.751 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlskey] ************************************* Thursday 25 July 2024 07:30:32 -0400 (0:00:00.115) 0:01:20.867 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004223", "end": "2024-07-25 07:30:32.658083", "rc": 0, "start": "2024-07-25 07:30:32.653860" } STDOUT: tlskey = /etc/pki/tls/private/ansible.hJ9NP4 TASK [Verify the setting when it is type str tlskey] *************************** Thursday 25 July 2024 07:30:32 -0400 (0:00:00.333) 0:01:21.201 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** Thursday 25 July 2024 07:30:32 -0400 (0:00:00.078) 0:01:21.279 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.hJ9NP4] *************** Thursday 25 July 2024 07:30:32 -0400 (0:00:00.067) 0:01:21.347 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** Thursday 25 July 2024 07:30:32 -0400 (0:00:00.063) 0:01:21.410 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlsprotocols] ******************************* Thursday 25 July 2024 07:30:33 -0400 (0:00:00.117) 0:01:21.527 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004378", "end": "2024-07-25 07:30:33.326406", "rc": 0, "start": "2024-07-25 07:30:33.322028" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* Thursday 25 July 2024 07:30:33 -0400 (0:00:00.341) 0:01:21.869 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** Thursday 25 July 2024 07:30:33 -0400 (0:00:00.079) 0:01:21.948 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** Thursday 25 July 2024 07:30:33 -0400 (0:00:00.068) 0:01:22.017 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** Thursday 25 July 2024 07:30:33 -0400 (0:00:00.067) 0:01:22.084 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting forceencryption] **************************** Thursday 25 July 2024 07:30:33 -0400 (0:00:00.125) 0:01:22.210 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004243", "end": "2024-07-25 07:30:34.012839", "rc": 0, "start": "2024-07-25 07:30:34.008596" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** Thursday 25 July 2024 07:30:34 -0400 (0:00:00.382) 0:01:22.592 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** Thursday 25 July 2024 07:30:34 -0400 (0:00:00.067) 0:01:22.660 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** Thursday 25 July 2024 07:30:34 -0400 (0:00:00.079) 0:01:22.740 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** Thursday 25 July 2024 07:30:34 -0400 (0:00:00.063) 0:01:22.803 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** Thursday 25 July 2024 07:30:34 -0400 (0:00:00.059) 0:01:22.863 ********* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** Thursday 25 July 2024 07:30:34 -0400 (0:00:00.320) 0:01:23.184 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** Thursday 25 July 2024 07:30:34 -0400 (0:00:00.106) 0:01:23.291 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** Thursday 25 July 2024 07:30:34 -0400 (0:00:00.079) 0:01:23.370 ********* ok: [managed_node1] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** Thursday 25 July 2024 07:30:35 -0400 (0:00:00.097) 0:01:23.468 ********* ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** Thursday 25 July 2024 07:30:35 -0400 (0:00:00.062) 0:01:23.530 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Thursday 25 July 2024 07:30:35 -0400 (0:00:00.063) 0:01:23.594 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** Thursday 25 July 2024 07:30:35 -0400 (0:00:00.061) 0:01:23.656 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** Thursday 25 July 2024 07:30:35 -0400 (0:00:00.116) 0:01:23.772 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** Thursday 25 July 2024 07:30:35 -0400 (0:00:00.061) 0:01:23.834 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** Thursday 25 July 2024 07:30:35 -0400 (0:00:00.065) 0:01:23.899 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** Thursday 25 July 2024 07:30:35 -0400 (0:00:00.061) 0:01:23.961 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** Thursday 25 July 2024 07:30:35 -0400 (0:00:00.066) 0:01:24.027 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** Thursday 25 July 2024 07:30:35 -0400 (0:00:00.060) 0:01:24.088 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** Thursday 25 July 2024 07:30:35 -0400 (0:00:00.072) 0:01:24.160 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** Thursday 25 July 2024 07:30:35 -0400 (0:00:00.060) 0:01:24.221 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** Thursday 25 July 2024 07:30:35 -0400 (0:00:00.063) 0:01:24.285 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** Thursday 25 July 2024 07:30:35 -0400 (0:00:00.063) 0:01:24.349 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** Thursday 25 July 2024 07:30:35 -0400 (0:00:00.059) 0:01:24.409 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** Thursday 25 July 2024 07:30:36 -0400 (0:00:00.066) 0:01:24.475 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:30:36 -0400 (0:00:00.062) 0:01:24.537 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** Thursday 25 July 2024 07:30:37 -0400 (0:00:01.293) 0:01:25.831 ********* ok: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** Thursday 25 July 2024 07:30:37 -0400 (0:00:00.170) 0:01:26.001 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** Thursday 25 July 2024 07:30:37 -0400 (0:00:00.064) 0:01:26.065 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** Thursday 25 July 2024 07:30:37 -0400 (0:00:00.069) 0:01:26.135 ********* skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** Thursday 25 July 2024 07:30:37 -0400 (0:00:00.118) 0:01:26.254 ********* ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** Thursday 25 July 2024 07:30:38 -0400 (0:00:00.509) 0:01:26.763 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** Thursday 25 July 2024 07:30:38 -0400 (0:00:00.064) 0:01:26.827 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** Thursday 25 July 2024 07:30:38 -0400 (0:00:00.067) 0:01:26.895 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** Thursday 25 July 2024 07:30:38 -0400 (0:00:00.066) 0:01:26.962 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** Thursday 25 July 2024 07:30:38 -0400 (0:00:00.067) 0:01:27.029 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** Thursday 25 July 2024 07:30:38 -0400 (0:00:00.067) 0:01:27.097 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** Thursday 25 July 2024 07:30:38 -0400 (0:00:00.067) 0:01:27.165 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** Thursday 25 July 2024 07:30:38 -0400 (0:00:00.088) 0:01:27.253 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** Thursday 25 July 2024 07:30:38 -0400 (0:00:00.064) 0:01:27.317 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* Thursday 25 July 2024 07:30:39 -0400 (0:00:00.636) 0:01:27.953 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** Thursday 25 July 2024 07:30:40 -0400 (0:00:00.546) 0:01:28.500 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** Thursday 25 July 2024 07:30:40 -0400 (0:00:00.061) 0:01:28.562 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005245", "end": "2024-07-25 07:30:40.358905", "rc": 0, "start": "2024-07-25 07:30:40.353660" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** Thursday 25 July 2024 07:30:40 -0400 (0:00:00.338) 0:01:28.900 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** Thursday 25 July 2024 07:30:41 -0400 (0:00:00.900) 0:01:29.801 ********* ok: [managed_node1] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** Thursday 25 July 2024 07:30:41 -0400 (0:00:00.088) 0:01:29.890 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** Thursday 25 July 2024 07:30:41 -0400 (0:00:00.062) 0:01:29.952 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** Thursday 25 July 2024 07:30:41 -0400 (0:00:00.066) 0:01:30.018 ********* skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** Thursday 25 July 2024 07:30:41 -0400 (0:00:00.078) 0:01:30.097 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** Thursday 25 July 2024 07:30:41 -0400 (0:00:00.060) 0:01:30.158 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** Thursday 25 July 2024 07:30:41 -0400 (0:00:00.064) 0:01:30.222 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** Thursday 25 July 2024 07:30:42 -0400 (0:00:00.545) 0:01:30.768 ********* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:07:59 EDT", "ActiveEnterTimestampMonotonic": "28047343", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice systemd-sysctl.service systemd-journald.socket network.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:07:57 EDT", "AssertTimestampMonotonic": "26119412", "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": "Thu 2024-07-25 07:07:57 EDT", "ConditionTimestampMonotonic": "26119411", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "850", "ExecMainStartTimestamp": "Thu 2024-07-25 07:07:57 EDT", "ExecMainStartTimestampMonotonic": "26120028", "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": "Thu 2024-07-25 07:07:57 EDT", "InactiveExitTimestampMonotonic": "26120069", "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": "850", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target polkit.service dbus.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": "Thu 2024-07-25 07:07:59 EDT", "WatchdogTimestampMonotonic": "28047298", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* Thursday 25 July 2024 07:30:42 -0400 (0:00:00.429) 0:01:31.198 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.086082", "end": "2024-07-25 07:30:43.075804", "rc": 0, "start": "2024-07-25 07:30:42.989722" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** Thursday 25 July 2024 07:30:43 -0400 (0:00:00.421) 0:01:31.619 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** Thursday 25 July 2024 07:30:43 -0400 (0:00:00.064) 0:01:31.684 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** Thursday 25 July 2024 07:30:43 -0400 (0:00:00.068) 0:01:31.752 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** Thursday 25 July 2024 07:30:43 -0400 (0:00:00.067) 0:01:31.819 ********* ok: [managed_node1] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** Thursday 25 July 2024 07:30:43 -0400 (0:00:00.341) 0:01:32.161 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** Thursday 25 July 2024 07:30:43 -0400 (0:00:00.060) 0:01:32.222 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** Thursday 25 July 2024 07:30:44 -0400 (0:00:00.550) 0:01:32.773 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** Thursday 25 July 2024 07:30:44 -0400 (0:00:00.065) 0:01:32.838 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** Thursday 25 July 2024 07:30:44 -0400 (0:00:00.063) 0:01:32.902 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** Thursday 25 July 2024 07:30:44 -0400 (0:00:00.064) 0:01:32.967 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:30:44 -0400 (0:00:00.064) 0:01:33.031 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** Thursday 25 July 2024 07:30:44 -0400 (0:00:00.120) 0:01:33.152 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** Thursday 25 July 2024 07:30:44 -0400 (0:00:00.065) 0:01:33.217 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** Thursday 25 July 2024 07:30:44 -0400 (0:00:00.064) 0:01:33.282 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** Thursday 25 July 2024 07:30:44 -0400 (0:00:00.066) 0:01:33.348 ********* ok: [managed_node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005410", "end": "2024-07-25 07:30:45.139638", "rc": 0, "start": "2024-07-25 07:30:45.134228" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** Thursday 25 July 2024 07:30:45 -0400 (0:00:00.335) 0:01:33.684 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:30:45 -0400 (0:00:00.066) 0:01:33.750 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** Thursday 25 July 2024 07:30:46 -0400 (0:00:01.195) 0:01:34.946 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** Thursday 25 July 2024 07:30:46 -0400 (0:00:00.072) 0:01:35.019 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** Thursday 25 July 2024 07:30:46 -0400 (0:00:00.066) 0:01:35.086 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** Thursday 25 July 2024 07:30:46 -0400 (0:00:00.066) 0:01:35.152 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** Thursday 25 July 2024 07:30:46 -0400 (0:00:00.125) 0:01:35.278 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* Thursday 25 July 2024 07:30:46 -0400 (0:00:00.118) 0:01:35.397 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003111", "end": "2024-07-25 07:30:47.196945", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:30:47.193834" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** Thursday 25 July 2024 07:30:47 -0400 (0:00:00.347) 0:01:35.745 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.047922", "end": "2024-07-25 07:30:47.605783", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:30:47.557861" } 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] ***** Thursday 25 July 2024 07:30:47 -0400 (0:00:00.415) 0:01:36.160 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** Thursday 25 July 2024 07:30:47 -0400 (0:00:00.065) 0:01:36.226 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** Thursday 25 July 2024 07:30:47 -0400 (0:00:00.062) 0:01:36.288 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** Thursday 25 July 2024 07:30:47 -0400 (0:00:00.065) 0:01:36.354 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* Thursday 25 July 2024 07:30:47 -0400 (0:00:00.067) 0:01:36.421 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** Thursday 25 July 2024 07:30:48 -0400 (0:00:00.061) 0:01:36.483 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** Thursday 25 July 2024 07:30:48 -0400 (0:00:00.066) 0:01:36.549 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** Thursday 25 July 2024 07:30:48 -0400 (0:00:00.064) 0:01:36.613 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** Thursday 25 July 2024 07:30:48 -0400 (0:00:00.063) 0:01:36.677 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** Thursday 25 July 2024 07:30:48 -0400 (0:00:00.063) 0:01:36.741 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** Thursday 25 July 2024 07:30:48 -0400 (0:00:00.063) 0:01:36.804 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** Thursday 25 July 2024 07:30:48 -0400 (0:00:00.065) 0:01:36.870 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** Thursday 25 July 2024 07:30:48 -0400 (0:00:00.066) 0:01:36.936 ********* skipping: [managed_node1] => (item=/tmp/ansible.5ceDhi) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.5ceDhi", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ansible.hJ9NP4) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.hJ9NP4", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* Thursday 25 July 2024 07:30:48 -0400 (0:00:00.134) 0:01:37.070 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* Thursday 25 July 2024 07:30:48 -0400 (0:00:00.118) 0:01:37.189 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003228", "end": "2024-07-25 07:30:48.979701", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:30:48.976473" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.5ceDhi TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** Thursday 25 July 2024 07:30:49 -0400 (0:00:00.335) 0:01:37.524 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlscert] ***** Thursday 25 July 2024 07:30:49 -0400 (0:00:00.073) 0:01:37.598 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.047974", "end": "2024-07-25 07:30:49.445898", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:30:49.397924" } 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] ********** Thursday 25 July 2024 07:30:49 -0400 (0:00:00.397) 0:01:37.996 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** Thursday 25 July 2024 07:30:49 -0400 (0:00:00.121) 0:01:38.118 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003274", "end": "2024-07-25 07:30:49.909005", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:30:49.905731" } STDOUT: tlskey = /etc/pki/tls/private/ansible.hJ9NP4 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** Thursday 25 July 2024 07:30:49 -0400 (0:00:00.333) 0:01:38.452 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** Thursday 25 July 2024 07:30:50 -0400 (0:00:00.070) 0:01:38.522 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.047354", "end": "2024-07-25 07:30:50.364479", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:30:50.317125" } 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] **** Thursday 25 July 2024 07:30:50 -0400 (0:00:00.388) 0:01:38.910 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** Thursday 25 July 2024 07:30:50 -0400 (0:00:00.121) 0:01:39.032 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003205", "end": "2024-07-25 07:30:50.831983", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:30:50.828778" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** Thursday 25 July 2024 07:30:50 -0400 (0:00:00.399) 0:01:39.432 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlsprotocols] *** Thursday 25 July 2024 07:30:51 -0400 (0:00:00.072) 0:01:39.504 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.046126", "end": "2024-07-25 07:30:51.340002", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:30:51.293876" } 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] *** Thursday 25 July 2024 07:30:51 -0400 (0:00:00.381) 0:01:39.886 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** Thursday 25 July 2024 07:30:51 -0400 (0:00:00.124) 0:01:40.010 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003792", "end": "2024-07-25 07:30:51.808933", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:30:51.805141" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** Thursday 25 July 2024 07:30:51 -0400 (0:00:00.343) 0:01:40.354 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network forceencryption] *** Thursday 25 July 2024 07:30:51 -0400 (0:00:00.074) 0:01:40.428 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.049479", "end": "2024-07-25 07:30:52.266688", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:30:52.217209" } 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] *** Thursday 25 July 2024 07:30:52 -0400 (0:00:00.386) 0:01:40.815 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** Thursday 25 July 2024 07:30:52 -0400 (0:00:00.063) 0:01:40.878 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** Thursday 25 July 2024 07:30:52 -0400 (0:00:00.065) 0:01:40.944 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** Thursday 25 July 2024 07:30:52 -0400 (0:00:00.063) 0:01:41.008 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** Thursday 25 July 2024 07:30:52 -0400 (0:00:00.064) 0:01:41.072 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** Thursday 25 July 2024 07:30:52 -0400 (0:00:00.066) 0:01:41.138 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** Thursday 25 July 2024 07:30:52 -0400 (0:00:00.063) 0:01:41.202 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** Thursday 25 July 2024 07:30:52 -0400 (0:00:00.064) 0:01:41.266 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ Thursday 25 July 2024 07:30:52 -0400 (0:00:00.065) 0:01:41.331 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** Thursday 25 July 2024 07:30:52 -0400 (0:00:00.118) 0:01:41.450 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** Thursday 25 July 2024 07:30:53 -0400 (0:00:00.065) 0:01:41.515 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** Thursday 25 July 2024 07:30:53 -0400 (0:00:00.061) 0:01:41.577 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** Thursday 25 July 2024 07:30:53 -0400 (0:00:00.064) 0:01:41.641 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* Thursday 25 July 2024 07:30:53 -0400 (0:00:00.063) 0:01:41.704 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** Thursday 25 July 2024 07:30:53 -0400 (0:00:00.067) 0:01:41.772 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** Thursday 25 July 2024 07:30:53 -0400 (0:00:00.063) 0:01:41.835 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* Thursday 25 July 2024 07:30:53 -0400 (0:00:00.063) 0:01:41.899 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** Thursday 25 July 2024 07:30:53 -0400 (0:00:00.062) 0:01:41.962 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** Thursday 25 July 2024 07:30:53 -0400 (0:00:00.061) 0:01:42.023 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** Thursday 25 July 2024 07:30:53 -0400 (0:00:00.064) 0:01:42.088 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** Thursday 25 July 2024 07:30:53 -0400 (0:00:00.064) 0:01:42.153 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** Thursday 25 July 2024 07:30:53 -0400 (0:00:00.063) 0:01:42.216 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** Thursday 25 July 2024 07:30:53 -0400 (0:00:00.066) 0:01:42.283 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** Thursday 25 July 2024 07:30:53 -0400 (0:00:00.063) 0:01:42.346 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** Thursday 25 July 2024 07:30:53 -0400 (0:00:00.063) 0:01:42.410 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** Thursday 25 July 2024 07:30:54 -0400 (0:00:00.062) 0:01:42.472 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** Thursday 25 July 2024 07:30:54 -0400 (0:00:00.063) 0:01:42.535 ********* skipping: [managed_node1] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** Thursday 25 July 2024 07:30:54 -0400 (0:00:00.079) 0:01:42.615 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** Thursday 25 July 2024 07:30:54 -0400 (0:00:00.118) 0:01:42.734 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** Thursday 25 July 2024 07:30:54 -0400 (0:00:00.065) 0:01:42.799 ********* skipping: [managed_node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** Thursday 25 July 2024 07:30:54 -0400 (0:00:00.075) 0:01:42.875 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** Thursday 25 July 2024 07:30:54 -0400 (0:00:00.064) 0:01:42.939 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** Thursday 25 July 2024 07:30:54 -0400 (0:00:00.062) 0:01:43.002 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:30:54 -0400 (0:00:00.065) 0:01:43.067 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* Thursday 25 July 2024 07:30:54 -0400 (0:00:00.066) 0:01:43.133 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:30:54 -0400 (0:00:00.062) 0:01:43.195 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** Thursday 25 July 2024 07:30:54 -0400 (0:00:00.065) 0:01:43.261 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** Thursday 25 July 2024 07:30:54 -0400 (0:00:00.064) 0:01:43.325 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** Thursday 25 July 2024 07:30:54 -0400 (0:00:00.065) 0:01:43.391 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** Thursday 25 July 2024 07:30:55 -0400 (0:00:00.062) 0:01:43.454 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** Thursday 25 July 2024 07:30:55 -0400 (0:00:00.065) 0:01:43.520 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** Thursday 25 July 2024 07:30:55 -0400 (0:00:00.065) 0:01:43.585 ********* skipping: [managed_node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** Thursday 25 July 2024 07:30:55 -0400 (0:00:00.078) 0:01:43.664 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** Thursday 25 July 2024 07:30:55 -0400 (0:00:00.065) 0:01:43.729 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ Thursday 25 July 2024 07:30:55 -0400 (0:00:00.060) 0:01:43.789 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:30:55 -0400 (0:00:00.061) 0:01:43.851 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** Thursday 25 July 2024 07:30:55 -0400 (0:00:00.066) 0:01:43.917 ********* skipping: [managed_node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** Thursday 25 July 2024 07:30:55 -0400 (0:00:00.128) 0:01:44.046 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** Thursday 25 July 2024 07:30:55 -0400 (0:00:00.065) 0:01:44.112 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** Thursday 25 July 2024 07:30:55 -0400 (0:00:00.062) 0:01:44.175 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** Thursday 25 July 2024 07:30:55 -0400 (0:00:00.065) 0:01:44.240 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** Thursday 25 July 2024 07:30:55 -0400 (0:00:00.065) 0:01:44.305 ********* changed: [managed_node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** Thursday 25 July 2024 07:30:56 -0400 (0:00:00.424) 0:01:44.730 ********* changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:30:24 EDT", "ActiveEnterTimestampMonotonic": "1372824556", "ActiveExitTimestamp": "Thu 2024-07-25 07:30:24 EDT", "ActiveExitTimestampMonotonic": "1372574633", "ActiveState": "active", "After": "basic.target system.slice -.mount auditd.service systemd-journald.socket network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:30:24 EDT", "AssertTimestampMonotonic": "1372823644", "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": "Thu 2024-07-25 07:30:24 EDT", "ConditionTimestampMonotonic": "1372823642", "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": "19018", "ExecMainStartTimestamp": "Thu 2024-07-25 07:30:24 EDT", "ExecMainStartTimestampMonotonic": "1372824497", "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": "Thu 2024-07-25 07:30:24 EDT", "InactiveEnterTimestampMonotonic": "1372822536", "InactiveExitTimestamp": "Thu 2024-07-25 07:30:24 EDT", "InactiveExitTimestampMonotonic": "1372824556", "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": "19018", "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": "Thu 2024-07-25 07:30:24 EDT", "WatchdogTimestampMonotonic": "1372824536", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:30:57 -0400 (0:00:01.707) 0:01:46.437 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:30:58 -0400 (0:00:00.060) 0:01:46.498 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** Thursday 25 July 2024 07:30:58 -0400 (0:00:00.062) 0:01:46.561 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed_node1 TASK [Check if the errorlog file exists and its location] ********************** Thursday 25 July 2024 07:30:58 -0400 (0:00:00.283) 0:01:46.844 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* Thursday 25 July 2024 07:30:58 -0400 (0:00:00.065) 0:01:46.910 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* Thursday 25 July 2024 07:30:58 -0400 (0:00:00.063) 0:01:46.973 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** Thursday 25 July 2024 07:30:58 -0400 (0:00:00.063) 0:01:47.037 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** Thursday 25 July 2024 07:30:58 -0400 (0:00:00.065) 0:01:47.102 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** Thursday 25 July 2024 07:30:58 -0400 (0:00:00.062) 0:01:47.164 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ Thursday 25 July 2024 07:30:58 -0400 (0:00:00.065) 0:01:47.230 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** Thursday 25 July 2024 07:30:58 -0400 (0:00:00.061) 0:01:47.291 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** Thursday 25 July 2024 07:30:58 -0400 (0:00:00.062) 0:01:47.354 ********* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** Thursday 25 July 2024 07:30:59 -0400 (0:00:00.113) 0:01:47.467 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:30:57 EDT", "ActiveEnterTimestampMonotonic": "1406225223", "ActiveExitTimestamp": "Thu 2024-07-25 07:30:56 EDT", "ActiveExitTimestampMonotonic": "1405013104", "ActiveState": "active", "After": "basic.target system.slice -.mount auditd.service systemd-journald.socket network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:30:57 EDT", "AssertTimestampMonotonic": "1406224514", "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": "Thu 2024-07-25 07:30:57 EDT", "ConditionTimestampMonotonic": "1406224513", "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": "21253", "ExecMainStartTimestamp": "Thu 2024-07-25 07:30:57 EDT", "ExecMainStartTimestampMonotonic": "1406225160", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:30:57 EDT] ; stop_time=[n/a] ; pid=21253 ; 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": "Thu 2024-07-25 07:30:57 EDT", "InactiveEnterTimestampMonotonic": "1406223943", "InactiveExitTimestamp": "Thu 2024-07-25 07:30:57 EDT", "InactiveExitTimestampMonotonic": "1406225223", "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": "21253", "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": "Thu 2024-07-25 07:30:57 EDT", "WatchdogTimestampMonotonic": "1406225203", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** Thursday 25 July 2024 07:30:59 -0400 (0:00:00.764) 0:01:48.232 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004110", "end": "2024-07-25 07:31:00.175645", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:31:00.171535" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** Thursday 25 July 2024 07:31:00 -0400 (0:00:00.493) 0:01:48.726 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.059710", "end": "2024-07-25 07:31:00.858028", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:31:00.798318" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* Thursday 25 July 2024 07:31:01 -0400 (0:00:00.731) 0:01:49.457 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** Thursday 25 July 2024 07:31:01 -0400 (0:00:00.077) 0:01:49.535 ********* ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 6265, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** Thursday 25 July 2024 07:31:02 -0400 (0:00:01.557) 0:01:51.092 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.037896", "end": "2024-07-25 07:31:02.916011", "rc": 0, "start": "2024-07-25 07:31:02.878115" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* Thursday 25 July 2024 07:31:03 -0400 (0:00:00.382) 0:01:51.474 ********* ok: [managed_node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* Thursday 25 July 2024 07:31:03 -0400 (0:00:00.070) 0:01:51.545 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* Thursday 25 July 2024 07:31:03 -0400 (0:00:00.066) 0:01:51.612 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** Thursday 25 July 2024 07:31:03 -0400 (0:00:00.062) 0:01:51.675 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ Thursday 25 July 2024 07:31:03 -0400 (0:00:00.064) 0:01:51.740 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** Thursday 25 July 2024 07:31:03 -0400 (0:00:00.062) 0:01:51.802 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** Thursday 25 July 2024 07:31:03 -0400 (0:00:00.063) 0:01:51.866 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** Thursday 25 July 2024 07:31:03 -0400 (0:00:00.062) 0:01:51.928 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** Thursday 25 July 2024 07:31:03 -0400 (0:00:00.117) 0:01:52.046 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlscert] ************************************ Thursday 25 July 2024 07:31:03 -0400 (0:00:00.117) 0:01:52.164 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004183", "end": "2024-07-25 07:31:03.961712", "rc": 0, "start": "2024-07-25 07:31:03.957529" } TASK [Verify the setting when it is type str tlscert] ************************** Thursday 25 July 2024 07:31:04 -0400 (0:00:00.345) 0:01:52.510 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* Thursday 25 July 2024 07:31:04 -0400 (0:00:00.082) 0:01:52.592 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** Thursday 25 July 2024 07:31:04 -0400 (0:00:00.069) 0:01:52.662 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** Thursday 25 July 2024 07:31:04 -0400 (0:00:00.067) 0:01:52.729 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlskey] ************************************* Thursday 25 July 2024 07:31:04 -0400 (0:00:00.118) 0:01:52.847 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004241", "end": "2024-07-25 07:31:04.639756", "rc": 0, "start": "2024-07-25 07:31:04.635515" } TASK [Verify the setting when it is type str tlskey] *************************** Thursday 25 July 2024 07:31:04 -0400 (0:00:00.337) 0:01:53.184 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** Thursday 25 July 2024 07:31:04 -0400 (0:00:00.079) 0:01:53.264 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** Thursday 25 July 2024 07:31:04 -0400 (0:00:00.069) 0:01:53.333 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** Thursday 25 July 2024 07:31:04 -0400 (0:00:00.065) 0:01:53.399 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlsprotocols] ******************************* Thursday 25 July 2024 07:31:05 -0400 (0:00:00.120) 0:01:53.519 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004298", "end": "2024-07-25 07:31:05.320130", "rc": 0, "start": "2024-07-25 07:31:05.315832" } TASK [Verify the setting when it is type str tlsprotocols] ********************* Thursday 25 July 2024 07:31:05 -0400 (0:00:00.346) 0:01:53.866 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** Thursday 25 July 2024 07:31:05 -0400 (0:00:00.136) 0:01:54.002 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** Thursday 25 July 2024 07:31:05 -0400 (0:00:00.070) 0:01:54.073 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** Thursday 25 July 2024 07:31:05 -0400 (0:00:00.064) 0:01:54.137 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting forceencryption] **************************** Thursday 25 July 2024 07:31:05 -0400 (0:00:00.125) 0:01:54.263 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004176", "end": "2024-07-25 07:31:06.056666", "rc": 0, "start": "2024-07-25 07:31:06.052490" } TASK [Verify the setting when it is type str forceencryption] ****************** Thursday 25 July 2024 07:31:06 -0400 (0:00:00.339) 0:01:54.602 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** Thursday 25 July 2024 07:31:06 -0400 (0:00:00.069) 0:01:54.671 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* Thursday 25 July 2024 07:31:06 -0400 (0:00:00.082) 0:01:54.754 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** Thursday 25 July 2024 07:31:06 -0400 (0:00:00.063) 0:01:54.817 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove certificates from hosts] ****************************************** Thursday 25 July 2024 07:31:06 -0400 (0:00:00.063) 0:01:54.881 ********* changed: [managed_node1] => (item=/etc/pki/tls/certs/ansible.5ceDhi) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/certs/ansible.5ceDhi", "path": "/etc/pki/tls/certs/ansible.5ceDhi", "state": "absent" } changed: [managed_node1] => (item=/etc/pki/tls/private/ansible.hJ9NP4) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/private/ansible.hJ9NP4", "path": "/etc/pki/tls/private/ansible.hJ9NP4", "state": "absent" } TASK [Copy certificates to hosts] ********************************************** Thursday 25 July 2024 07:31:07 -0400 (0:00:00.636) 0:01:55.518 ********* ok: [managed_node1] => (item=/tmp/ansible.5ceDhi) => { "ansible_loop_var": "item", "changed": false, "checksum": "97a8f9313dd55f9e85d65566af2fb6b5c85c5742", "dest": "/tmp/ansible.5ceDhi", "gid": 0, "group": "root", "item": "/tmp/ansible.5ceDhi", "mode": "0600", "owner": "root", "path": "/tmp/ansible.5ceDhi", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1103, "state": "file", "uid": 0 } ok: [managed_node1] => (item=/tmp/ansible.hJ9NP4) => { "ansible_loop_var": "item", "changed": false, "checksum": "9d4bace5f142156864196a0309ab96ce6f7370ab", "dest": "/tmp/ansible.hJ9NP4", "gid": 0, "group": "root", "item": "/tmp/ansible.hJ9NP4", "mode": "0600", "owner": "root", "path": "/tmp/ansible.hJ9NP4", "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] ***** Thursday 25 July 2024 07:31:08 -0400 (0:00:01.005) 0:01:56.523 ********* ok: [managed_node1] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.5ceDhi", "mssql_tls_private_key": "ansible.hJ9NP4" }, "changed": false } TASK [Test with certs on managed nodes] **************************************** Thursday 25 July 2024 07:31:08 -0400 (0:00:00.125) 0:01:56.649 ********* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** Thursday 25 July 2024 07:31:08 -0400 (0:00:00.552) 0:01:57.202 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** Thursday 25 July 2024 07:31:08 -0400 (0:00:00.107) 0:01:57.309 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** Thursday 25 July 2024 07:31:08 -0400 (0:00:00.083) 0:01:57.392 ********* ok: [managed_node1] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** Thursday 25 July 2024 07:31:09 -0400 (0:00:00.098) 0:01:57.491 ********* ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** Thursday 25 July 2024 07:31:09 -0400 (0:00:00.062) 0:01:57.554 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Thursday 25 July 2024 07:31:09 -0400 (0:00:00.064) 0:01:57.618 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** Thursday 25 July 2024 07:31:09 -0400 (0:00:00.059) 0:01:57.678 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** Thursday 25 July 2024 07:31:09 -0400 (0:00:00.063) 0:01:57.741 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** Thursday 25 July 2024 07:31:09 -0400 (0:00:00.062) 0:01:57.804 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** Thursday 25 July 2024 07:31:09 -0400 (0:00:00.130) 0:01:57.935 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** Thursday 25 July 2024 07:31:09 -0400 (0:00:00.064) 0:01:58.000 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** Thursday 25 July 2024 07:31:09 -0400 (0:00:00.064) 0:01:58.064 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** Thursday 25 July 2024 07:31:09 -0400 (0:00:00.066) 0:01:58.131 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** Thursday 25 July 2024 07:31:09 -0400 (0:00:00.073) 0:01:58.204 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** Thursday 25 July 2024 07:31:09 -0400 (0:00:00.069) 0:01:58.274 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** Thursday 25 July 2024 07:31:09 -0400 (0:00:00.062) 0:01:58.337 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** Thursday 25 July 2024 07:31:09 -0400 (0:00:00.064) 0:01:58.402 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** Thursday 25 July 2024 07:31:10 -0400 (0:00:00.065) 0:01:58.467 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** Thursday 25 July 2024 07:31:10 -0400 (0:00:00.064) 0:01:58.531 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:31:10 -0400 (0:00:00.064) 0:01:58.595 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** Thursday 25 July 2024 07:31:11 -0400 (0:00:01.240) 0:01:59.836 ********* ok: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** Thursday 25 July 2024 07:31:11 -0400 (0:00:00.176) 0:02:00.013 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** Thursday 25 July 2024 07:31:11 -0400 (0:00:00.064) 0:02:00.078 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** Thursday 25 July 2024 07:31:11 -0400 (0:00:00.070) 0:02:00.148 ********* skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** Thursday 25 July 2024 07:31:11 -0400 (0:00:00.120) 0:02:00.269 ********* ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** Thursday 25 July 2024 07:31:12 -0400 (0:00:00.532) 0:02:00.802 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** Thursday 25 July 2024 07:31:12 -0400 (0:00:00.064) 0:02:00.866 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** Thursday 25 July 2024 07:31:12 -0400 (0:00:00.064) 0:02:00.931 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** Thursday 25 July 2024 07:31:12 -0400 (0:00:00.068) 0:02:01.000 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** Thursday 25 July 2024 07:31:12 -0400 (0:00:00.064) 0:02:01.064 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** Thursday 25 July 2024 07:31:12 -0400 (0:00:00.069) 0:02:01.133 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** Thursday 25 July 2024 07:31:12 -0400 (0:00:00.066) 0:02:01.200 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** Thursday 25 July 2024 07:31:12 -0400 (0:00:00.086) 0:02:01.287 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** Thursday 25 July 2024 07:31:12 -0400 (0:00:00.064) 0:02:01.351 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* Thursday 25 July 2024 07:31:13 -0400 (0:00:00.592) 0:02:01.943 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** Thursday 25 July 2024 07:31:14 -0400 (0:00:00.573) 0:02:02.517 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** Thursday 25 July 2024 07:31:14 -0400 (0:00:00.061) 0:02:02.579 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005194", "end": "2024-07-25 07:31:14.369757", "rc": 0, "start": "2024-07-25 07:31:14.364563" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** Thursday 25 July 2024 07:31:14 -0400 (0:00:00.333) 0:02:02.912 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** Thursday 25 July 2024 07:31:15 -0400 (0:00:00.913) 0:02:03.826 ********* ok: [managed_node1] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** Thursday 25 July 2024 07:31:15 -0400 (0:00:00.087) 0:02:03.914 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** Thursday 25 July 2024 07:31:15 -0400 (0:00:00.067) 0:02:03.982 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** Thursday 25 July 2024 07:31:15 -0400 (0:00:00.065) 0:02:04.048 ********* skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** Thursday 25 July 2024 07:31:15 -0400 (0:00:00.080) 0:02:04.128 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** Thursday 25 July 2024 07:31:15 -0400 (0:00:00.063) 0:02:04.192 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** Thursday 25 July 2024 07:31:15 -0400 (0:00:00.066) 0:02:04.259 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** Thursday 25 July 2024 07:31:16 -0400 (0:00:00.641) 0:02:04.900 ********* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:07:59 EDT", "ActiveEnterTimestampMonotonic": "28047343", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice systemd-sysctl.service systemd-journald.socket network.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:07:57 EDT", "AssertTimestampMonotonic": "26119412", "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": "Thu 2024-07-25 07:07:57 EDT", "ConditionTimestampMonotonic": "26119411", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "850", "ExecMainStartTimestamp": "Thu 2024-07-25 07:07:57 EDT", "ExecMainStartTimestampMonotonic": "26120028", "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": "Thu 2024-07-25 07:07:57 EDT", "InactiveExitTimestampMonotonic": "26120069", "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": "850", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target polkit.service dbus.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": "Thu 2024-07-25 07:07:59 EDT", "WatchdogTimestampMonotonic": "28047298", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* Thursday 25 July 2024 07:31:16 -0400 (0:00:00.438) 0:02:05.339 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.087601", "end": "2024-07-25 07:31:17.230506", "rc": 0, "start": "2024-07-25 07:31:17.142905" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** Thursday 25 July 2024 07:31:17 -0400 (0:00:00.450) 0:02:05.790 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** Thursday 25 July 2024 07:31:17 -0400 (0:00:00.067) 0:02:05.858 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** Thursday 25 July 2024 07:31:17 -0400 (0:00:00.067) 0:02:05.925 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** Thursday 25 July 2024 07:31:17 -0400 (0:00:00.065) 0:02:05.990 ********* ok: [managed_node1] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** Thursday 25 July 2024 07:31:17 -0400 (0:00:00.347) 0:02:06.338 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** Thursday 25 July 2024 07:31:17 -0400 (0:00:00.064) 0:02:06.403 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** Thursday 25 July 2024 07:31:18 -0400 (0:00:00.541) 0:02:06.944 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** Thursday 25 July 2024 07:31:18 -0400 (0:00:00.064) 0:02:07.009 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** Thursday 25 July 2024 07:31:18 -0400 (0:00:00.066) 0:02:07.076 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** Thursday 25 July 2024 07:31:18 -0400 (0:00:00.064) 0:02:07.141 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:31:18 -0400 (0:00:00.067) 0:02:07.209 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** Thursday 25 July 2024 07:31:18 -0400 (0:00:00.067) 0:02:07.276 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** Thursday 25 July 2024 07:31:18 -0400 (0:00:00.134) 0:02:07.411 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** Thursday 25 July 2024 07:31:19 -0400 (0:00:00.064) 0:02:07.476 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** Thursday 25 July 2024 07:31:19 -0400 (0:00:00.067) 0:02:07.544 ********* ok: [managed_node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.004884", "end": "2024-07-25 07:31:19.346863", "rc": 0, "start": "2024-07-25 07:31:19.341979" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** Thursday 25 July 2024 07:31:19 -0400 (0:00:00.348) 0:02:07.892 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:31:19 -0400 (0:00:00.069) 0:02:07.962 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** Thursday 25 July 2024 07:31:20 -0400 (0:00:01.184) 0:02:09.146 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** Thursday 25 July 2024 07:31:20 -0400 (0:00:00.069) 0:02:09.216 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** Thursday 25 July 2024 07:31:20 -0400 (0:00:00.063) 0:02:09.280 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** Thursday 25 July 2024 07:31:20 -0400 (0:00:00.067) 0:02:09.347 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** Thursday 25 July 2024 07:31:20 -0400 (0:00:00.061) 0:02:09.409 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* Thursday 25 July 2024 07:31:21 -0400 (0:00:00.181) 0:02:09.590 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003143", "end": "2024-07-25 07:31:21.386597", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:31:21.383454" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** Thursday 25 July 2024 07:31:21 -0400 (0:00:00.359) 0:02:09.950 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.047918", "end": "2024-07-25 07:31:21.802488", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:31:21.754570" } 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] ***** Thursday 25 July 2024 07:31:21 -0400 (0:00:00.410) 0:02:10.360 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** Thursday 25 July 2024 07:31:21 -0400 (0:00:00.065) 0:02:10.425 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** Thursday 25 July 2024 07:31:22 -0400 (0:00:00.066) 0:02:10.491 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** Thursday 25 July 2024 07:31:22 -0400 (0:00:00.065) 0:02:10.557 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* Thursday 25 July 2024 07:31:22 -0400 (0:00:00.063) 0:02:10.620 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** Thursday 25 July 2024 07:31:22 -0400 (0:00:00.064) 0:02:10.684 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** Thursday 25 July 2024 07:31:22 -0400 (0:00:00.063) 0:02:10.748 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** Thursday 25 July 2024 07:31:22 -0400 (0:00:00.064) 0:02:10.812 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** Thursday 25 July 2024 07:31:22 -0400 (0:00:00.064) 0:02:10.877 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** Thursday 25 July 2024 07:31:22 -0400 (0:00:00.060) 0:02:10.937 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** Thursday 25 July 2024 07:31:22 -0400 (0:00:00.064) 0:02:11.002 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** Thursday 25 July 2024 07:31:22 -0400 (0:00:00.065) 0:02:11.068 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** Thursday 25 July 2024 07:31:22 -0400 (0:00:00.068) 0:02:11.137 ********* changed: [managed_node1] => (item=/tmp/ansible.5ceDhi) => { "ansible_loop_var": "item", "changed": true, "checksum": "97a8f9313dd55f9e85d65566af2fb6b5c85c5742", "dest": "/etc/pki/tls/certs/ansible.5ceDhi", "gid": 994, "group": "mssql", "item": "/tmp/ansible.5ceDhi", "md5sum": "82932785bf230ce6629d026a0cee0f5d", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1103, "src": "/tmp/ansible.5ceDhi", "state": "file", "uid": 996 } changed: [managed_node1] => (item=/tmp/ansible.hJ9NP4) => { "ansible_loop_var": "item", "changed": true, "checksum": "9d4bace5f142156864196a0309ab96ce6f7370ab", "dest": "/etc/pki/tls/private/ansible.hJ9NP4", "gid": 994, "group": "mssql", "item": "/tmp/ansible.hJ9NP4", "md5sum": "e02db2807beee5f0a04268eb02c00389", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/tmp/ansible.hJ9NP4", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* Thursday 25 July 2024 07:31:23 -0400 (0:00:00.657) 0:02:11.794 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* Thursday 25 July 2024 07:31:23 -0400 (0:00:00.118) 0:02:11.912 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003141", "end": "2024-07-25 07:31:23.708891", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:31:23.705750" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** Thursday 25 July 2024 07:31:23 -0400 (0:00:00.343) 0:02:12.256 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/ansible.5ceDhi" ], "delta": "0:00:00.047273", "end": "2024-07-25 07:31:24.096086", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:31:24.048813" } 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] ***** Thursday 25 July 2024 07:31:24 -0400 (0:00:00.390) 0:02:12.646 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** Thursday 25 July 2024 07:31:24 -0400 (0:00:00.069) 0:02:12.716 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** Thursday 25 July 2024 07:31:24 -0400 (0:00:00.119) 0:02:12.835 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003083", "end": "2024-07-25 07:31:24.626145", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:31:24.623062" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** Thursday 25 July 2024 07:31:24 -0400 (0:00:00.331) 0:02:13.166 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.hJ9NP4" ], "delta": "0:00:00.046907", "end": "2024-07-25 07:31:25.012424", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:31:24.965517" } 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] ****** Thursday 25 July 2024 07:31:25 -0400 (0:00:00.397) 0:02:13.564 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** Thursday 25 July 2024 07:31:25 -0400 (0:00:00.070) 0:02:13.634 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** Thursday 25 July 2024 07:31:25 -0400 (0:00:00.124) 0:02:13.759 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003106", "end": "2024-07-25 07:31:25.549742", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:31:25.546636" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** Thursday 25 July 2024 07:31:25 -0400 (0:00:00.337) 0:02:14.097 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.047732", "end": "2024-07-25 07:31:25.939412", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:31:25.891680" } 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] *** Thursday 25 July 2024 07:31:26 -0400 (0:00:00.397) 0:02:14.494 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** Thursday 25 July 2024 07:31:26 -0400 (0:00:00.068) 0:02:14.562 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** Thursday 25 July 2024 07:31:26 -0400 (0:00:00.130) 0:02:14.692 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003242", "end": "2024-07-25 07:31:26.483787", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:31:26.480545" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** Thursday 25 July 2024 07:31:26 -0400 (0:00:00.336) 0:02:15.029 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.046831", "end": "2024-07-25 07:31:26.875467", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:31:26.828636" } 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] *** Thursday 25 July 2024 07:31:26 -0400 (0:00:00.402) 0:02:15.431 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** Thursday 25 July 2024 07:31:27 -0400 (0:00:00.064) 0:02:15.496 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** Thursday 25 July 2024 07:31:27 -0400 (0:00:00.065) 0:02:15.561 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** Thursday 25 July 2024 07:31:27 -0400 (0:00:00.063) 0:02:15.625 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** Thursday 25 July 2024 07:31:27 -0400 (0:00:00.061) 0:02:15.686 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** Thursday 25 July 2024 07:31:27 -0400 (0:00:00.067) 0:02:15.754 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** Thursday 25 July 2024 07:31:27 -0400 (0:00:00.065) 0:02:15.819 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** Thursday 25 July 2024 07:31:27 -0400 (0:00:00.063) 0:02:15.883 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** Thursday 25 July 2024 07:31:27 -0400 (0:00:00.065) 0:02:15.948 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ Thursday 25 July 2024 07:31:27 -0400 (0:00:00.130) 0:02:16.079 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** Thursday 25 July 2024 07:31:27 -0400 (0:00:00.068) 0:02:16.148 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** Thursday 25 July 2024 07:31:27 -0400 (0:00:00.062) 0:02:16.211 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** Thursday 25 July 2024 07:31:27 -0400 (0:00:00.066) 0:02:16.277 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** Thursday 25 July 2024 07:31:27 -0400 (0:00:00.063) 0:02:16.341 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* Thursday 25 July 2024 07:31:27 -0400 (0:00:00.064) 0:02:16.405 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** Thursday 25 July 2024 07:31:28 -0400 (0:00:00.065) 0:02:16.471 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** Thursday 25 July 2024 07:31:28 -0400 (0:00:00.062) 0:02:16.533 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* Thursday 25 July 2024 07:31:28 -0400 (0:00:00.064) 0:02:16.598 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** Thursday 25 July 2024 07:31:28 -0400 (0:00:00.063) 0:02:16.661 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** Thursday 25 July 2024 07:31:28 -0400 (0:00:00.066) 0:02:16.728 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** Thursday 25 July 2024 07:31:28 -0400 (0:00:00.062) 0:02:16.790 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** Thursday 25 July 2024 07:31:28 -0400 (0:00:00.067) 0:02:16.858 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** Thursday 25 July 2024 07:31:28 -0400 (0:00:00.064) 0:02:16.923 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** Thursday 25 July 2024 07:31:28 -0400 (0:00:00.066) 0:02:16.989 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** Thursday 25 July 2024 07:31:28 -0400 (0:00:00.063) 0:02:17.052 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** Thursday 25 July 2024 07:31:28 -0400 (0:00:00.062) 0:02:17.115 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** Thursday 25 July 2024 07:31:28 -0400 (0:00:00.063) 0:02:17.178 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** Thursday 25 July 2024 07:31:28 -0400 (0:00:00.065) 0:02:17.244 ********* skipping: [managed_node1] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** Thursday 25 July 2024 07:31:28 -0400 (0:00:00.201) 0:02:17.445 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** Thursday 25 July 2024 07:31:29 -0400 (0:00:00.067) 0:02:17.512 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** Thursday 25 July 2024 07:31:29 -0400 (0:00:00.064) 0:02:17.576 ********* skipping: [managed_node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** Thursday 25 July 2024 07:31:29 -0400 (0:00:00.082) 0:02:17.659 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** Thursday 25 July 2024 07:31:29 -0400 (0:00:00.064) 0:02:17.723 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** Thursday 25 July 2024 07:31:29 -0400 (0:00:00.065) 0:02:17.789 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:31:29 -0400 (0:00:00.065) 0:02:17.855 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* Thursday 25 July 2024 07:31:29 -0400 (0:00:00.064) 0:02:17.919 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:31:29 -0400 (0:00:00.065) 0:02:17.985 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** Thursday 25 July 2024 07:31:29 -0400 (0:00:00.063) 0:02:18.048 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** Thursday 25 July 2024 07:31:29 -0400 (0:00:00.065) 0:02:18.114 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** Thursday 25 July 2024 07:31:29 -0400 (0:00:00.065) 0:02:18.180 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** Thursday 25 July 2024 07:31:29 -0400 (0:00:00.063) 0:02:18.243 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** Thursday 25 July 2024 07:31:29 -0400 (0:00:00.066) 0:02:18.310 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** Thursday 25 July 2024 07:31:29 -0400 (0:00:00.063) 0:02:18.373 ********* skipping: [managed_node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** Thursday 25 July 2024 07:31:30 -0400 (0:00:00.079) 0:02:18.453 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** Thursday 25 July 2024 07:31:30 -0400 (0:00:00.062) 0:02:18.515 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ Thursday 25 July 2024 07:31:30 -0400 (0:00:00.064) 0:02:18.580 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:31:30 -0400 (0:00:00.135) 0:02:18.715 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** Thursday 25 July 2024 07:31:30 -0400 (0:00:00.066) 0:02:18.782 ********* skipping: [managed_node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** Thursday 25 July 2024 07:31:30 -0400 (0:00:00.079) 0:02:18.861 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** Thursday 25 July 2024 07:31:30 -0400 (0:00:00.062) 0:02:18.924 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** Thursday 25 July 2024 07:31:30 -0400 (0:00:00.065) 0:02:18.989 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** Thursday 25 July 2024 07:31:30 -0400 (0:00:00.064) 0:02:19.053 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** Thursday 25 July 2024 07:31:30 -0400 (0:00:00.064) 0:02:19.118 ********* changed: [managed_node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** Thursday 25 July 2024 07:31:31 -0400 (0:00:00.429) 0:02:19.547 ********* changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:30:57 EDT", "ActiveEnterTimestampMonotonic": "1406225223", "ActiveExitTimestamp": "Thu 2024-07-25 07:30:56 EDT", "ActiveExitTimestampMonotonic": "1405013104", "ActiveState": "active", "After": "basic.target system.slice -.mount auditd.service systemd-journald.socket network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:30:57 EDT", "AssertTimestampMonotonic": "1406224514", "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": "Thu 2024-07-25 07:30:57 EDT", "ConditionTimestampMonotonic": "1406224513", "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": "21253", "ExecMainStartTimestamp": "Thu 2024-07-25 07:30:57 EDT", "ExecMainStartTimestampMonotonic": "1406225160", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:30:57 EDT] ; stop_time=[n/a] ; pid=21253 ; 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": "Thu 2024-07-25 07:30:57 EDT", "InactiveEnterTimestampMonotonic": "1406223943", "InactiveExitTimestamp": "Thu 2024-07-25 07:30:57 EDT", "InactiveExitTimestampMonotonic": "1406225223", "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": "21253", "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": "Thu 2024-07-25 07:30:57 EDT", "WatchdogTimestampMonotonic": "1406225203", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:31:31 -0400 (0:00:00.732) 0:02:20.279 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:31:31 -0400 (0:00:00.068) 0:02:20.347 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** Thursday 25 July 2024 07:31:31 -0400 (0:00:00.068) 0:02:20.415 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed_node1 TASK [Check if the errorlog file exists and its location] ********************** Thursday 25 July 2024 07:31:32 -0400 (0:00:00.427) 0:02:20.843 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* Thursday 25 July 2024 07:31:32 -0400 (0:00:00.066) 0:02:20.909 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* Thursday 25 July 2024 07:31:32 -0400 (0:00:00.066) 0:02:20.976 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** Thursday 25 July 2024 07:31:32 -0400 (0:00:00.063) 0:02:21.039 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** Thursday 25 July 2024 07:31:32 -0400 (0:00:00.065) 0:02:21.104 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** Thursday 25 July 2024 07:31:32 -0400 (0:00:00.064) 0:02:21.169 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ Thursday 25 July 2024 07:31:32 -0400 (0:00:00.063) 0:02:21.232 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** Thursday 25 July 2024 07:31:32 -0400 (0:00:00.064) 0:02:21.297 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** Thursday 25 July 2024 07:31:32 -0400 (0:00:00.061) 0:02:21.358 ********* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** Thursday 25 July 2024 07:31:33 -0400 (0:00:00.114) 0:02:21.472 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:31:31 EDT", "ActiveEnterTimestampMonotonic": "1440062971", "ActiveExitTimestamp": "Thu 2024-07-25 07:31:31 EDT", "ActiveExitTimestampMonotonic": "1439828802", "ActiveState": "active", "After": "basic.target system.slice -.mount auditd.service systemd-journald.socket network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:31:31 EDT", "AssertTimestampMonotonic": "1440062277", "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": "Thu 2024-07-25 07:31:31 EDT", "ConditionTimestampMonotonic": "1440062276", "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": "23610", "ExecMainStartTimestamp": "Thu 2024-07-25 07:31:31 EDT", "ExecMainStartTimestampMonotonic": "1440062902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:31:31 EDT] ; stop_time=[n/a] ; pid=23610 ; 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": "Thu 2024-07-25 07:31:31 EDT", "InactiveEnterTimestampMonotonic": "1440061844", "InactiveExitTimestamp": "Thu 2024-07-25 07:31:31 EDT", "InactiveExitTimestampMonotonic": "1440062971", "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": "23610", "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": "Thu 2024-07-25 07:31:31 EDT", "WatchdogTimestampMonotonic": "1440062950", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** Thursday 25 July 2024 07:31:33 -0400 (0:00:00.681) 0:02:22.154 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004414", "end": "2024-07-25 07:31:34.027340", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:31:34.022926" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** Thursday 25 July 2024 07:31:34 -0400 (0:00:00.423) 0:02:22.578 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003871", "end": "2024-07-25 07:31:34.731164", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:31:34.727293" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* Thursday 25 July 2024 07:31:34 -0400 (0:00:00.830) 0:02:23.408 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** Thursday 25 July 2024 07:31:35 -0400 (0:00:00.081) 0:02:23.490 ********* ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 6355, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** Thursday 25 July 2024 07:31:36 -0400 (0:00:01.516) 0:02:25.007 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.043739", "end": "2024-07-25 07:31:36.841381", "rc": 0, "start": "2024-07-25 07:31:36.797642" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* Thursday 25 July 2024 07:31:36 -0400 (0:00:00.388) 0:02:25.396 ********* ok: [managed_node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* Thursday 25 July 2024 07:31:37 -0400 (0:00:00.070) 0:02:25.466 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* Thursday 25 July 2024 07:31:37 -0400 (0:00:00.066) 0:02:25.533 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** Thursday 25 July 2024 07:31:37 -0400 (0:00:00.064) 0:02:25.597 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ Thursday 25 July 2024 07:31:37 -0400 (0:00:00.066) 0:02:25.663 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** Thursday 25 July 2024 07:31:37 -0400 (0:00:00.061) 0:02:25.725 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** Thursday 25 July 2024 07:31:37 -0400 (0:00:00.065) 0:02:25.790 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** Thursday 25 July 2024 07:31:37 -0400 (0:00:00.065) 0:02:25.856 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** Thursday 25 July 2024 07:31:37 -0400 (0:00:00.064) 0:02:25.920 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlscert] ************************************ Thursday 25 July 2024 07:31:37 -0400 (0:00:00.193) 0:02:26.114 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004217", "end": "2024-07-25 07:31:37.905859", "rc": 0, "start": "2024-07-25 07:31:37.901642" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.5ceDhi TASK [Verify the setting when it is type str tlscert] ************************** Thursday 25 July 2024 07:31:37 -0400 (0:00:00.336) 0:02:26.450 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* Thursday 25 July 2024 07:31:38 -0400 (0:00:00.085) 0:02:26.536 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.5ceDhi] ***************** Thursday 25 July 2024 07:31:38 -0400 (0:00:00.070) 0:02:26.607 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** Thursday 25 July 2024 07:31:38 -0400 (0:00:00.067) 0:02:26.675 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlskey] ************************************* Thursday 25 July 2024 07:31:38 -0400 (0:00:00.124) 0:02:26.799 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004190", "end": "2024-07-25 07:31:38.614004", "rc": 0, "start": "2024-07-25 07:31:38.609814" } STDOUT: tlskey = /etc/pki/tls/private/ansible.hJ9NP4 TASK [Verify the setting when it is type str tlskey] *************************** Thursday 25 July 2024 07:31:38 -0400 (0:00:00.359) 0:02:27.158 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** Thursday 25 July 2024 07:31:38 -0400 (0:00:00.083) 0:02:27.242 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.hJ9NP4] *************** Thursday 25 July 2024 07:31:38 -0400 (0:00:00.072) 0:02:27.315 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** Thursday 25 July 2024 07:31:38 -0400 (0:00:00.065) 0:02:27.380 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlsprotocols] ******************************* Thursday 25 July 2024 07:31:39 -0400 (0:00:00.120) 0:02:27.501 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004217", "end": "2024-07-25 07:31:39.297862", "rc": 0, "start": "2024-07-25 07:31:39.293645" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* Thursday 25 July 2024 07:31:39 -0400 (0:00:00.342) 0:02:27.844 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** Thursday 25 July 2024 07:31:39 -0400 (0:00:00.084) 0:02:27.928 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** Thursday 25 July 2024 07:31:39 -0400 (0:00:00.144) 0:02:28.073 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** Thursday 25 July 2024 07:31:39 -0400 (0:00:00.066) 0:02:28.139 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting forceencryption] **************************** Thursday 25 July 2024 07:31:39 -0400 (0:00:00.131) 0:02:28.271 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004132", "end": "2024-07-25 07:31:40.058773", "rc": 0, "start": "2024-07-25 07:31:40.054641" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** Thursday 25 July 2024 07:31:40 -0400 (0:00:00.336) 0:02:28.608 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** Thursday 25 July 2024 07:31:40 -0400 (0:00:00.067) 0:02:28.675 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** Thursday 25 July 2024 07:31:40 -0400 (0:00:00.085) 0:02:28.761 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** Thursday 25 July 2024 07:31:40 -0400 (0:00:00.066) 0:02:28.827 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** Thursday 25 July 2024 07:31:40 -0400 (0:00:00.065) 0:02:28.892 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/check_header.yml for managed_node1 TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ Thursday 25 July 2024 07:31:40 -0400 (0:00:00.365) 0:02:29.258 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003113", "end": "2024-07-25 07:31:41.175924", "rc": 0, "start": "2024-07-25 07:31:41.172811" } 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.5ceDhi tlskey = /etc/pki/tls/private/ansible.hJ9NP4 tlsprotocols = 1.2 forceencryption = 1 TASK [Disable TLS encryption] ************************************************** Thursday 25 July 2024 07:31:41 -0400 (0:00:00.463) 0:02:29.721 ********* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** Thursday 25 July 2024 07:31:42 -0400 (0:00:00.747) 0:02:30.469 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** Thursday 25 July 2024 07:31:42 -0400 (0:00:00.111) 0:02:30.580 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** Thursday 25 July 2024 07:31:42 -0400 (0:00:00.084) 0:02:30.665 ********* ok: [managed_node1] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** Thursday 25 July 2024 07:31:42 -0400 (0:00:00.100) 0:02:30.765 ********* ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** Thursday 25 July 2024 07:31:42 -0400 (0:00:00.065) 0:02:30.830 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Thursday 25 July 2024 07:31:42 -0400 (0:00:00.062) 0:02:30.892 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** Thursday 25 July 2024 07:31:42 -0400 (0:00:00.064) 0:02:30.957 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** Thursday 25 July 2024 07:31:42 -0400 (0:00:00.063) 0:02:31.020 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** Thursday 25 July 2024 07:31:42 -0400 (0:00:00.062) 0:02:31.083 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** Thursday 25 July 2024 07:31:42 -0400 (0:00:00.064) 0:02:31.147 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** Thursday 25 July 2024 07:31:42 -0400 (0:00:00.156) 0:02:31.304 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** Thursday 25 July 2024 07:31:42 -0400 (0:00:00.066) 0:02:31.371 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** Thursday 25 July 2024 07:31:42 -0400 (0:00:00.065) 0:02:31.436 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** Thursday 25 July 2024 07:31:43 -0400 (0:00:00.077) 0:02:31.513 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** Thursday 25 July 2024 07:31:43 -0400 (0:00:00.064) 0:02:31.578 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** Thursday 25 July 2024 07:31:43 -0400 (0:00:00.068) 0:02:31.646 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** Thursday 25 July 2024 07:31:43 -0400 (0:00:00.066) 0:02:31.712 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** Thursday 25 July 2024 07:31:43 -0400 (0:00:00.067) 0:02:31.779 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** Thursday 25 July 2024 07:31:43 -0400 (0:00:00.067) 0:02:31.847 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:31:43 -0400 (0:00:00.064) 0:02:31.912 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** Thursday 25 July 2024 07:31:44 -0400 (0:00:01.177) 0:02:33.089 ********* ok: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** Thursday 25 July 2024 07:31:44 -0400 (0:00:00.328) 0:02:33.418 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** Thursday 25 July 2024 07:31:45 -0400 (0:00:00.068) 0:02:33.486 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** Thursday 25 July 2024 07:31:45 -0400 (0:00:00.071) 0:02:33.558 ********* skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** Thursday 25 July 2024 07:31:45 -0400 (0:00:00.126) 0:02:33.684 ********* ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** Thursday 25 July 2024 07:31:45 -0400 (0:00:00.530) 0:02:34.215 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** Thursday 25 July 2024 07:31:45 -0400 (0:00:00.066) 0:02:34.281 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** Thursday 25 July 2024 07:31:45 -0400 (0:00:00.070) 0:02:34.351 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** Thursday 25 July 2024 07:31:45 -0400 (0:00:00.068) 0:02:34.420 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** Thursday 25 July 2024 07:31:46 -0400 (0:00:00.069) 0:02:34.489 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** Thursday 25 July 2024 07:31:46 -0400 (0:00:00.067) 0:02:34.557 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** Thursday 25 July 2024 07:31:46 -0400 (0:00:00.072) 0:02:34.629 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** Thursday 25 July 2024 07:31:46 -0400 (0:00:00.090) 0:02:34.719 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** Thursday 25 July 2024 07:31:46 -0400 (0:00:00.063) 0:02:34.783 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* Thursday 25 July 2024 07:31:46 -0400 (0:00:00.593) 0:02:35.377 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** Thursday 25 July 2024 07:31:47 -0400 (0:00:00.564) 0:02:35.942 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** Thursday 25 July 2024 07:31:47 -0400 (0:00:00.069) 0:02:36.011 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005556", "end": "2024-07-25 07:31:47.805394", "rc": 0, "start": "2024-07-25 07:31:47.799838" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** Thursday 25 July 2024 07:31:47 -0400 (0:00:00.342) 0:02:36.354 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** Thursday 25 July 2024 07:31:48 -0400 (0:00:00.881) 0:02:37.235 ********* ok: [managed_node1] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** Thursday 25 July 2024 07:31:48 -0400 (0:00:00.090) 0:02:37.325 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** Thursday 25 July 2024 07:31:48 -0400 (0:00:00.068) 0:02:37.394 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** Thursday 25 July 2024 07:31:49 -0400 (0:00:00.067) 0:02:37.461 ********* skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** Thursday 25 July 2024 07:31:49 -0400 (0:00:00.079) 0:02:37.540 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** Thursday 25 July 2024 07:31:49 -0400 (0:00:00.068) 0:02:37.609 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** Thursday 25 July 2024 07:31:49 -0400 (0:00:00.065) 0:02:37.674 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** Thursday 25 July 2024 07:31:49 -0400 (0:00:00.547) 0:02:38.222 ********* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:07:59 EDT", "ActiveEnterTimestampMonotonic": "28047343", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice systemd-sysctl.service systemd-journald.socket network.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:07:57 EDT", "AssertTimestampMonotonic": "26119412", "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": "Thu 2024-07-25 07:07:57 EDT", "ConditionTimestampMonotonic": "26119411", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "850", "ExecMainStartTimestamp": "Thu 2024-07-25 07:07:57 EDT", "ExecMainStartTimestampMonotonic": "26120028", "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": "Thu 2024-07-25 07:07:57 EDT", "InactiveExitTimestampMonotonic": "26120069", "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": "850", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target polkit.service dbus.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": "Thu 2024-07-25 07:07:59 EDT", "WatchdogTimestampMonotonic": "28047298", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* Thursday 25 July 2024 07:31:50 -0400 (0:00:00.514) 0:02:38.736 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.083179", "end": "2024-07-25 07:31:50.616110", "rc": 0, "start": "2024-07-25 07:31:50.532931" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** Thursday 25 July 2024 07:31:50 -0400 (0:00:00.425) 0:02:39.162 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** Thursday 25 July 2024 07:31:50 -0400 (0:00:00.071) 0:02:39.233 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** Thursday 25 July 2024 07:31:50 -0400 (0:00:00.068) 0:02:39.302 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** Thursday 25 July 2024 07:31:50 -0400 (0:00:00.069) 0:02:39.372 ********* ok: [managed_node1] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** Thursday 25 July 2024 07:31:51 -0400 (0:00:00.338) 0:02:39.710 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** Thursday 25 July 2024 07:31:51 -0400 (0:00:00.063) 0:02:39.774 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** Thursday 25 July 2024 07:31:51 -0400 (0:00:00.546) 0:02:40.320 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** Thursday 25 July 2024 07:31:51 -0400 (0:00:00.065) 0:02:40.385 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** Thursday 25 July 2024 07:31:52 -0400 (0:00:00.069) 0:02:40.455 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** Thursday 25 July 2024 07:31:52 -0400 (0:00:00.065) 0:02:40.520 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:31:52 -0400 (0:00:00.068) 0:02:40.589 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** Thursday 25 July 2024 07:31:52 -0400 (0:00:00.067) 0:02:40.657 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** Thursday 25 July 2024 07:31:52 -0400 (0:00:00.067) 0:02:40.725 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** Thursday 25 July 2024 07:31:52 -0400 (0:00:00.149) 0:02:40.874 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** Thursday 25 July 2024 07:31:52 -0400 (0:00:00.065) 0:02:40.940 ********* ok: [managed_node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.004907", "end": "2024-07-25 07:31:52.745606", "rc": 0, "start": "2024-07-25 07:31:52.740699" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** Thursday 25 July 2024 07:31:52 -0400 (0:00:00.354) 0:02:41.294 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:31:52 -0400 (0:00:00.070) 0:02:41.365 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** Thursday 25 July 2024 07:31:54 -0400 (0:00:01.183) 0:02:42.548 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** Thursday 25 July 2024 07:31:54 -0400 (0:00:00.074) 0:02:42.623 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** Thursday 25 July 2024 07:31:54 -0400 (0:00:00.064) 0:02:42.688 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** Thursday 25 July 2024 07:31:54 -0400 (0:00:00.067) 0:02:42.755 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** Thursday 25 July 2024 07:31:54 -0400 (0:00:00.064) 0:02:42.819 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* Thursday 25 July 2024 07:31:54 -0400 (0:00:00.115) 0:02:42.934 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003057", "end": "2024-07-25 07:31:54.748340", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:31:54.745283" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** Thursday 25 July 2024 07:31:54 -0400 (0:00:00.366) 0:02:43.301 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.046796", "end": "2024-07-25 07:31:55.150626", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:31:55.103830" } 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] ***** Thursday 25 July 2024 07:31:55 -0400 (0:00:00.417) 0:02:43.718 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** Thursday 25 July 2024 07:31:55 -0400 (0:00:00.067) 0:02:43.786 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** Thursday 25 July 2024 07:31:55 -0400 (0:00:00.070) 0:02:43.856 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** Thursday 25 July 2024 07:31:55 -0400 (0:00:00.072) 0:02:43.929 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* Thursday 25 July 2024 07:31:55 -0400 (0:00:00.067) 0:02:43.996 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** Thursday 25 July 2024 07:31:55 -0400 (0:00:00.068) 0:02:44.065 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** Thursday 25 July 2024 07:31:55 -0400 (0:00:00.065) 0:02:44.130 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** Thursday 25 July 2024 07:31:55 -0400 (0:00:00.067) 0:02:44.198 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** Thursday 25 July 2024 07:31:55 -0400 (0:00:00.065) 0:02:44.263 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** Thursday 25 July 2024 07:31:55 -0400 (0:00:00.065) 0:02:44.329 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** Thursday 25 July 2024 07:31:55 -0400 (0:00:00.067) 0:02:44.396 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** Thursday 25 July 2024 07:31:56 -0400 (0:00:00.067) 0:02:44.464 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** Thursday 25 July 2024 07:31:56 -0400 (0:00:00.070) 0:02:44.534 ********* skipping: [managed_node1] => (item=/tmp/ansible.5ceDhi) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.5ceDhi", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ansible.hJ9NP4) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.hJ9NP4", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* Thursday 25 July 2024 07:31:56 -0400 (0:00:00.080) 0:02:44.614 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* Thursday 25 July 2024 07:31:56 -0400 (0:00:00.123) 0:02:44.738 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003107", "end": "2024-07-25 07:31:56.558790", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:31:56.555683" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.5ceDhi TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** Thursday 25 July 2024 07:31:56 -0400 (0:00:00.370) 0:02:45.108 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlscert] ***** Thursday 25 July 2024 07:31:56 -0400 (0:00:00.075) 0:02:45.184 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.046816", "end": "2024-07-25 07:31:57.032563", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:31:56.985747" } 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] ********** Thursday 25 July 2024 07:31:57 -0400 (0:00:00.399) 0:02:45.583 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** Thursday 25 July 2024 07:31:57 -0400 (0:00:00.130) 0:02:45.713 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003209", "end": "2024-07-25 07:31:57.514041", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:31:57.510832" } STDOUT: tlskey = /etc/pki/tls/private/ansible.hJ9NP4 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** Thursday 25 July 2024 07:31:57 -0400 (0:00:00.351) 0:02:46.065 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** Thursday 25 July 2024 07:31:57 -0400 (0:00:00.076) 0:02:46.142 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.047510", "end": "2024-07-25 07:31:57.986097", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:31:57.938587" } 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] **** Thursday 25 July 2024 07:31:58 -0400 (0:00:00.393) 0:02:46.535 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** Thursday 25 July 2024 07:31:58 -0400 (0:00:00.127) 0:02:46.663 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003164", "end": "2024-07-25 07:31:58.463782", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:31:58.460618" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** Thursday 25 July 2024 07:31:58 -0400 (0:00:00.346) 0:02:47.009 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlsprotocols] *** Thursday 25 July 2024 07:31:58 -0400 (0:00:00.075) 0:02:47.085 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.047246", "end": "2024-07-25 07:31:58.928774", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:31:58.881528" } 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] *** Thursday 25 July 2024 07:31:59 -0400 (0:00:00.476) 0:02:47.562 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** Thursday 25 July 2024 07:31:59 -0400 (0:00:00.133) 0:02:47.696 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004820", "end": "2024-07-25 07:31:59.490722", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:31:59.485902" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** Thursday 25 July 2024 07:31:59 -0400 (0:00:00.343) 0:02:48.039 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network forceencryption] *** Thursday 25 July 2024 07:31:59 -0400 (0:00:00.078) 0:02:48.118 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.046235", "end": "2024-07-25 07:31:59.971159", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:31:59.924924" } 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] *** Thursday 25 July 2024 07:32:00 -0400 (0:00:00.401) 0:02:48.519 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** Thursday 25 July 2024 07:32:00 -0400 (0:00:00.066) 0:02:48.586 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** Thursday 25 July 2024 07:32:00 -0400 (0:00:00.064) 0:02:48.651 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** Thursday 25 July 2024 07:32:00 -0400 (0:00:00.066) 0:02:48.718 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** Thursday 25 July 2024 07:32:00 -0400 (0:00:00.070) 0:02:48.788 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** Thursday 25 July 2024 07:32:00 -0400 (0:00:00.068) 0:02:48.856 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** Thursday 25 July 2024 07:32:00 -0400 (0:00:00.069) 0:02:48.926 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** Thursday 25 July 2024 07:32:00 -0400 (0:00:00.065) 0:02:48.991 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ Thursday 25 July 2024 07:32:00 -0400 (0:00:00.068) 0:02:49.060 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** Thursday 25 July 2024 07:32:00 -0400 (0:00:00.066) 0:02:49.127 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** Thursday 25 July 2024 07:32:00 -0400 (0:00:00.066) 0:02:49.193 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** Thursday 25 July 2024 07:32:00 -0400 (0:00:00.163) 0:02:49.357 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** Thursday 25 July 2024 07:32:00 -0400 (0:00:00.068) 0:02:49.426 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* Thursday 25 July 2024 07:32:01 -0400 (0:00:00.068) 0:02:49.495 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** Thursday 25 July 2024 07:32:01 -0400 (0:00:00.068) 0:02:49.563 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** Thursday 25 July 2024 07:32:01 -0400 (0:00:00.070) 0:02:49.633 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* Thursday 25 July 2024 07:32:01 -0400 (0:00:00.067) 0:02:49.700 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** Thursday 25 July 2024 07:32:01 -0400 (0:00:00.069) 0:02:49.770 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** Thursday 25 July 2024 07:32:01 -0400 (0:00:00.070) 0:02:49.840 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** Thursday 25 July 2024 07:32:01 -0400 (0:00:00.068) 0:02:49.908 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** Thursday 25 July 2024 07:32:01 -0400 (0:00:00.070) 0:02:49.979 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** Thursday 25 July 2024 07:32:01 -0400 (0:00:00.070) 0:02:50.050 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** Thursday 25 July 2024 07:32:01 -0400 (0:00:00.071) 0:02:50.121 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** Thursday 25 July 2024 07:32:01 -0400 (0:00:00.069) 0:02:50.191 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** Thursday 25 July 2024 07:32:01 -0400 (0:00:00.067) 0:02:50.258 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** Thursday 25 July 2024 07:32:01 -0400 (0:00:00.071) 0:02:50.330 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** Thursday 25 July 2024 07:32:01 -0400 (0:00:00.066) 0:02:50.396 ********* skipping: [managed_node1] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** Thursday 25 July 2024 07:32:02 -0400 (0:00:00.084) 0:02:50.480 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** Thursday 25 July 2024 07:32:02 -0400 (0:00:00.067) 0:02:50.548 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** Thursday 25 July 2024 07:32:02 -0400 (0:00:00.069) 0:02:50.618 ********* skipping: [managed_node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** Thursday 25 July 2024 07:32:02 -0400 (0:00:00.182) 0:02:50.800 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** Thursday 25 July 2024 07:32:02 -0400 (0:00:00.069) 0:02:50.870 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** Thursday 25 July 2024 07:32:02 -0400 (0:00:00.071) 0:02:50.942 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:32:02 -0400 (0:00:00.068) 0:02:51.011 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* Thursday 25 July 2024 07:32:02 -0400 (0:00:00.070) 0:02:51.081 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:32:02 -0400 (0:00:00.068) 0:02:51.150 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** Thursday 25 July 2024 07:32:02 -0400 (0:00:00.068) 0:02:51.218 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** Thursday 25 July 2024 07:32:02 -0400 (0:00:00.070) 0:02:51.289 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** Thursday 25 July 2024 07:32:02 -0400 (0:00:00.065) 0:02:51.355 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** Thursday 25 July 2024 07:32:02 -0400 (0:00:00.069) 0:02:51.424 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** Thursday 25 July 2024 07:32:03 -0400 (0:00:00.067) 0:02:51.491 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** Thursday 25 July 2024 07:32:03 -0400 (0:00:00.069) 0:02:51.561 ********* skipping: [managed_node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** Thursday 25 July 2024 07:32:03 -0400 (0:00:00.083) 0:02:51.644 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** Thursday 25 July 2024 07:32:03 -0400 (0:00:00.065) 0:02:51.710 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ Thursday 25 July 2024 07:32:03 -0400 (0:00:00.068) 0:02:51.778 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:32:03 -0400 (0:00:00.065) 0:02:51.844 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** Thursday 25 July 2024 07:32:03 -0400 (0:00:00.073) 0:02:51.917 ********* skipping: [managed_node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** Thursday 25 July 2024 07:32:03 -0400 (0:00:00.074) 0:02:51.992 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** Thursday 25 July 2024 07:32:03 -0400 (0:00:00.068) 0:02:52.060 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** Thursday 25 July 2024 07:32:03 -0400 (0:00:00.165) 0:02:52.226 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** Thursday 25 July 2024 07:32:03 -0400 (0:00:00.068) 0:02:52.295 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** Thursday 25 July 2024 07:32:03 -0400 (0:00:00.073) 0:02:52.369 ********* changed: [managed_node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** Thursday 25 July 2024 07:32:04 -0400 (0:00:00.430) 0:02:52.799 ********* changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:31:31 EDT", "ActiveEnterTimestampMonotonic": "1440062971", "ActiveExitTimestamp": "Thu 2024-07-25 07:31:31 EDT", "ActiveExitTimestampMonotonic": "1439828802", "ActiveState": "active", "After": "basic.target system.slice -.mount auditd.service systemd-journald.socket network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:31:31 EDT", "AssertTimestampMonotonic": "1440062277", "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": "Thu 2024-07-25 07:31:31 EDT", "ConditionTimestampMonotonic": "1440062276", "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": "23610", "ExecMainStartTimestamp": "Thu 2024-07-25 07:31:31 EDT", "ExecMainStartTimestampMonotonic": "1440062902", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:31:31 EDT] ; stop_time=[n/a] ; pid=23610 ; 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": "Thu 2024-07-25 07:31:31 EDT", "InactiveEnterTimestampMonotonic": "1440061844", "InactiveExitTimestamp": "Thu 2024-07-25 07:31:31 EDT", "InactiveExitTimestampMonotonic": "1440062971", "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": "23610", "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": "Thu 2024-07-25 07:31:31 EDT", "WatchdogTimestampMonotonic": "1440062950", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:32:05 -0400 (0:00:00.823) 0:02:53.622 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:32:05 -0400 (0:00:00.068) 0:02:53.691 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** Thursday 25 July 2024 07:32:05 -0400 (0:00:00.065) 0:02:53.757 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed_node1 TASK [Check if the errorlog file exists and its location] ********************** Thursday 25 July 2024 07:32:05 -0400 (0:00:00.480) 0:02:54.237 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* Thursday 25 July 2024 07:32:05 -0400 (0:00:00.065) 0:02:54.302 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* Thursday 25 July 2024 07:32:06 -0400 (0:00:00.158) 0:02:54.461 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** Thursday 25 July 2024 07:32:06 -0400 (0:00:00.069) 0:02:54.531 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** Thursday 25 July 2024 07:32:06 -0400 (0:00:00.070) 0:02:54.601 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** Thursday 25 July 2024 07:32:06 -0400 (0:00:00.063) 0:02:54.664 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ Thursday 25 July 2024 07:32:06 -0400 (0:00:00.070) 0:02:54.734 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** Thursday 25 July 2024 07:32:06 -0400 (0:00:00.066) 0:02:54.800 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** Thursday 25 July 2024 07:32:06 -0400 (0:00:00.065) 0:02:54.866 ********* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** Thursday 25 July 2024 07:32:06 -0400 (0:00:00.116) 0:02:54.983 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:32:05 EDT", "ActiveEnterTimestampMonotonic": "1473387873", "ActiveExitTimestamp": "Thu 2024-07-25 07:32:04 EDT", "ActiveExitTimestampMonotonic": "1473098050", "ActiveState": "active", "After": "basic.target system.slice -.mount auditd.service systemd-journald.socket network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:32:05 EDT", "AssertTimestampMonotonic": "1473387349", "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": "Thu 2024-07-25 07:32:05 EDT", "ConditionTimestampMonotonic": "1473387348", "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": "25676", "ExecMainStartTimestamp": "Thu 2024-07-25 07:32:05 EDT", "ExecMainStartTimestampMonotonic": "1473387825", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:32:05 EDT] ; stop_time=[n/a] ; pid=25676 ; 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": "Thu 2024-07-25 07:32:05 EDT", "InactiveEnterTimestampMonotonic": "1473385206", "InactiveExitTimestamp": "Thu 2024-07-25 07:32:05 EDT", "InactiveExitTimestampMonotonic": "1473387873", "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": "25676", "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": "Thu 2024-07-25 07:32:05 EDT", "WatchdogTimestampMonotonic": "1473387858", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** Thursday 25 July 2024 07:32:07 -0400 (0:00:00.749) 0:02:55.733 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004895", "end": "2024-07-25 07:32:07.634569", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:32:07.629674" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** Thursday 25 July 2024 07:32:07 -0400 (0:00:00.544) 0:02:56.277 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004027", "end": "2024-07-25 07:32:08.389356", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:32:08.385329" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* Thursday 25 July 2024 07:32:08 -0400 (0:00:00.669) 0:02:56.946 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** Thursday 25 July 2024 07:32:08 -0400 (0:00:00.079) 0:02:57.026 ********* ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 6265, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** Thursday 25 July 2024 07:32:10 -0400 (0:00:01.500) 0:02:58.527 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.029959", "end": "2024-07-25 07:32:10.344951", "rc": 0, "start": "2024-07-25 07:32:10.314992" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* Thursday 25 July 2024 07:32:10 -0400 (0:00:00.371) 0:02:58.899 ********* ok: [managed_node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* Thursday 25 July 2024 07:32:10 -0400 (0:00:00.072) 0:02:58.971 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* Thursday 25 July 2024 07:32:10 -0400 (0:00:00.065) 0:02:59.037 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** Thursday 25 July 2024 07:32:10 -0400 (0:00:00.065) 0:02:59.103 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ Thursday 25 July 2024 07:32:10 -0400 (0:00:00.067) 0:02:59.170 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** Thursday 25 July 2024 07:32:10 -0400 (0:00:00.067) 0:02:59.237 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** Thursday 25 July 2024 07:32:10 -0400 (0:00:00.065) 0:02:59.303 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** Thursday 25 July 2024 07:32:10 -0400 (0:00:00.063) 0:02:59.367 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** Thursday 25 July 2024 07:32:10 -0400 (0:00:00.064) 0:02:59.432 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlscert] ************************************ Thursday 25 July 2024 07:32:11 -0400 (0:00:00.116) 0:02:59.548 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004149", "end": "2024-07-25 07:32:11.339859", "rc": 0, "start": "2024-07-25 07:32:11.335710" } TASK [Verify the setting when it is type str tlscert] ************************** Thursday 25 July 2024 07:32:11 -0400 (0:00:00.335) 0:02:59.883 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* Thursday 25 July 2024 07:32:11 -0400 (0:00:00.086) 0:02:59.970 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** Thursday 25 July 2024 07:32:11 -0400 (0:00:00.071) 0:03:00.041 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** Thursday 25 July 2024 07:32:11 -0400 (0:00:00.067) 0:03:00.109 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlskey] ************************************* Thursday 25 July 2024 07:32:11 -0400 (0:00:00.209) 0:03:00.318 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004115", "end": "2024-07-25 07:32:12.111786", "rc": 0, "start": "2024-07-25 07:32:12.107671" } TASK [Verify the setting when it is type str tlskey] *************************** Thursday 25 July 2024 07:32:12 -0400 (0:00:00.342) 0:03:00.661 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** Thursday 25 July 2024 07:32:12 -0400 (0:00:00.089) 0:03:00.750 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** Thursday 25 July 2024 07:32:12 -0400 (0:00:00.072) 0:03:00.823 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** Thursday 25 July 2024 07:32:12 -0400 (0:00:00.069) 0:03:00.893 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlsprotocols] ******************************* Thursday 25 July 2024 07:32:12 -0400 (0:00:00.123) 0:03:01.017 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004220", "end": "2024-07-25 07:32:12.817461", "rc": 0, "start": "2024-07-25 07:32:12.813241" } TASK [Verify the setting when it is type str tlsprotocols] ********************* Thursday 25 July 2024 07:32:12 -0400 (0:00:00.351) 0:03:01.369 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** Thursday 25 July 2024 07:32:12 -0400 (0:00:00.084) 0:03:01.453 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** Thursday 25 July 2024 07:32:13 -0400 (0:00:00.071) 0:03:01.524 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** Thursday 25 July 2024 07:32:13 -0400 (0:00:00.068) 0:03:01.593 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting forceencryption] **************************** Thursday 25 July 2024 07:32:13 -0400 (0:00:00.127) 0:03:01.720 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004183", "end": "2024-07-25 07:32:13.537555", "rc": 0, "start": "2024-07-25 07:32:13.533372" } TASK [Verify the setting when it is type str forceencryption] ****************** Thursday 25 July 2024 07:32:13 -0400 (0:00:00.368) 0:03:02.088 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** Thursday 25 July 2024 07:32:13 -0400 (0:00:00.070) 0:03:02.159 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* Thursday 25 July 2024 07:32:13 -0400 (0:00:00.184) 0:03:02.344 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** Thursday 25 July 2024 07:32:13 -0400 (0:00:00.070) 0:03:02.414 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Test with certs created by the certificate role] ************************* Thursday 25 July 2024 07:32:14 -0400 (0:00:00.069) 0:03:02.484 ********* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** Thursday 25 July 2024 07:32:15 -0400 (0:00:01.044) 0:03:03.529 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** Thursday 25 July 2024 07:32:15 -0400 (0:00:00.232) 0:03:03.761 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** Thursday 25 July 2024 07:32:15 -0400 (0:00:00.096) 0:03:03.858 ********* ok: [managed_node1] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** Thursday 25 July 2024 07:32:15 -0400 (0:00:00.106) 0:03:03.965 ********* ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** Thursday 25 July 2024 07:32:15 -0400 (0:00:00.072) 0:03:04.037 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Thursday 25 July 2024 07:32:15 -0400 (0:00:00.069) 0:03:04.107 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** Thursday 25 July 2024 07:32:15 -0400 (0:00:00.070) 0:03:04.177 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** Thursday 25 July 2024 07:32:15 -0400 (0:00:00.071) 0:03:04.249 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** Thursday 25 July 2024 07:32:15 -0400 (0:00:00.066) 0:03:04.315 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** Thursday 25 July 2024 07:32:15 -0400 (0:00:00.069) 0:03:04.384 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** Thursday 25 July 2024 07:32:15 -0400 (0:00:00.068) 0:03:04.452 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** Thursday 25 July 2024 07:32:16 -0400 (0:00:00.068) 0:03:04.521 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** Thursday 25 July 2024 07:32:16 -0400 (0:00:00.067) 0:03:04.588 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** Thursday 25 July 2024 07:32:16 -0400 (0:00:00.074) 0:03:04.663 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** Thursday 25 July 2024 07:32:16 -0400 (0:00:00.070) 0:03:04.733 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** Thursday 25 July 2024 07:32:16 -0400 (0:00:00.067) 0:03:04.800 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** Thursday 25 July 2024 07:32:16 -0400 (0:00:00.071) 0:03:04.872 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** Thursday 25 July 2024 07:32:16 -0400 (0:00:00.068) 0:03:04.940 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** Thursday 25 July 2024 07:32:16 -0400 (0:00:00.068) 0:03:05.009 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:32:16 -0400 (0:00:00.192) 0:03:05.202 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** Thursday 25 July 2024 07:32:17 -0400 (0:00:01.213) 0:03:06.416 ********* ok: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** Thursday 25 July 2024 07:32:18 -0400 (0:00:00.182) 0:03:06.598 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** Thursday 25 July 2024 07:32:18 -0400 (0:00:00.072) 0:03:06.670 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** Thursday 25 July 2024 07:32:18 -0400 (0:00:00.073) 0:03:06.744 ********* skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** Thursday 25 July 2024 07:32:18 -0400 (0:00:00.125) 0:03:06.870 ********* ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** Thursday 25 July 2024 07:32:18 -0400 (0:00:00.537) 0:03:07.408 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** Thursday 25 July 2024 07:32:19 -0400 (0:00:00.069) 0:03:07.478 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** Thursday 25 July 2024 07:32:19 -0400 (0:00:00.075) 0:03:07.554 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** Thursday 25 July 2024 07:32:19 -0400 (0:00:00.075) 0:03:07.629 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** Thursday 25 July 2024 07:32:19 -0400 (0:00:00.070) 0:03:07.700 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** Thursday 25 July 2024 07:32:19 -0400 (0:00:00.193) 0:03:07.894 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** Thursday 25 July 2024 07:32:19 -0400 (0:00:00.075) 0:03:07.969 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** Thursday 25 July 2024 07:32:19 -0400 (0:00:00.100) 0:03:08.070 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** Thursday 25 July 2024 07:32:19 -0400 (0:00:00.069) 0:03:08.139 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* Thursday 25 July 2024 07:32:20 -0400 (0:00:00.606) 0:03:08.746 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** Thursday 25 July 2024 07:32:20 -0400 (0:00:00.558) 0:03:09.304 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** Thursday 25 July 2024 07:32:20 -0400 (0:00:00.070) 0:03:09.375 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005073", "end": "2024-07-25 07:32:21.179917", "rc": 0, "start": "2024-07-25 07:32:21.174844" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** Thursday 25 July 2024 07:32:21 -0400 (0:00:00.353) 0:03:09.728 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** Thursday 25 July 2024 07:32:22 -0400 (0:00:00.902) 0:03:10.631 ********* ok: [managed_node1] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** Thursday 25 July 2024 07:32:22 -0400 (0:00:00.095) 0:03:10.727 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** Thursday 25 July 2024 07:32:22 -0400 (0:00:00.068) 0:03:10.795 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** Thursday 25 July 2024 07:32:22 -0400 (0:00:00.069) 0:03:10.865 ********* skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** Thursday 25 July 2024 07:32:22 -0400 (0:00:00.086) 0:03:10.951 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** Thursday 25 July 2024 07:32:22 -0400 (0:00:00.066) 0:03:11.017 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** Thursday 25 July 2024 07:32:22 -0400 (0:00:00.068) 0:03:11.085 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** Thursday 25 July 2024 07:32:23 -0400 (0:00:00.559) 0:03:11.645 ********* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:07:59 EDT", "ActiveEnterTimestampMonotonic": "28047343", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice systemd-sysctl.service systemd-journald.socket network.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:07:57 EDT", "AssertTimestampMonotonic": "26119412", "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": "Thu 2024-07-25 07:07:57 EDT", "ConditionTimestampMonotonic": "26119411", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "850", "ExecMainStartTimestamp": "Thu 2024-07-25 07:07:57 EDT", "ExecMainStartTimestampMonotonic": "26120028", "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": "Thu 2024-07-25 07:07:57 EDT", "InactiveExitTimestampMonotonic": "26120069", "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": "850", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target polkit.service dbus.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": "Thu 2024-07-25 07:07:59 EDT", "WatchdogTimestampMonotonic": "28047298", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* Thursday 25 July 2024 07:32:23 -0400 (0:00:00.468) 0:03:12.113 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.083624", "end": "2024-07-25 07:32:24.012631", "rc": 0, "start": "2024-07-25 07:32:23.929007" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** Thursday 25 July 2024 07:32:24 -0400 (0:00:00.450) 0:03:12.564 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** Thursday 25 July 2024 07:32:24 -0400 (0:00:00.071) 0:03:12.636 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** Thursday 25 July 2024 07:32:24 -0400 (0:00:00.073) 0:03:12.709 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** Thursday 25 July 2024 07:32:24 -0400 (0:00:00.074) 0:03:12.784 ********* ok: [managed_node1] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** Thursday 25 July 2024 07:32:24 -0400 (0:00:00.361) 0:03:13.146 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** Thursday 25 July 2024 07:32:24 -0400 (0:00:00.070) 0:03:13.216 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** Thursday 25 July 2024 07:32:25 -0400 (0:00:00.563) 0:03:13.780 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** Thursday 25 July 2024 07:32:25 -0400 (0:00:00.073) 0:03:13.854 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** Thursday 25 July 2024 07:32:25 -0400 (0:00:00.070) 0:03:13.924 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** Thursday 25 July 2024 07:32:25 -0400 (0:00:00.075) 0:03:14.000 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:32:25 -0400 (0:00:00.070) 0:03:14.071 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** Thursday 25 July 2024 07:32:25 -0400 (0:00:00.074) 0:03:14.145 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** Thursday 25 July 2024 07:32:25 -0400 (0:00:00.072) 0:03:14.218 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** Thursday 25 July 2024 07:32:25 -0400 (0:00:00.190) 0:03:14.408 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** Thursday 25 July 2024 07:32:26 -0400 (0:00:00.072) 0:03:14.481 ********* ok: [managed_node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.004843", "end": "2024-07-25 07:32:26.292515", "rc": 0, "start": "2024-07-25 07:32:26.287672" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** Thursday 25 July 2024 07:32:26 -0400 (0:00:00.362) 0:03:14.843 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:32:26 -0400 (0:00:00.072) 0:03:14.916 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** Thursday 25 July 2024 07:32:27 -0400 (0:00:01.207) 0:03:16.124 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** Thursday 25 July 2024 07:32:27 -0400 (0:00:00.075) 0:03:16.200 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** Thursday 25 July 2024 07:32:27 -0400 (0:00:00.072) 0:03:16.272 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** Thursday 25 July 2024 07:32:27 -0400 (0:00:00.067) 0:03:16.339 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** Thursday 25 July 2024 07:32:27 -0400 (0:00:00.069) 0:03:16.409 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* Thursday 25 July 2024 07:32:28 -0400 (0:00:00.117) 0:03:16.526 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003156", "end": "2024-07-25 07:32:28.344383", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:32:28.341227" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** Thursday 25 July 2024 07:32:28 -0400 (0:00:00.484) 0:03:17.011 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.044684", "end": "2024-07-25 07:32:28.865799", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:32:28.821115" } 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] ***** Thursday 25 July 2024 07:32:28 -0400 (0:00:00.414) 0:03:17.425 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** Thursday 25 July 2024 07:32:29 -0400 (0:00:00.066) 0:03:17.492 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** Thursday 25 July 2024 07:32:29 -0400 (0:00:00.068) 0:03:17.561 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** Thursday 25 July 2024 07:32:29 -0400 (0:00:00.065) 0:03:17.627 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* Thursday 25 July 2024 07:32:29 -0400 (0:00:00.069) 0:03:17.696 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** Thursday 25 July 2024 07:32:29 -0400 (0:00:00.066) 0:03:17.762 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** Thursday 25 July 2024 07:32:29 -0400 (0:00:00.069) 0:03:17.832 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** Thursday 25 July 2024 07:32:29 -0400 (0:00:00.067) 0:03:17.899 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** Thursday 25 July 2024 07:32:29 -0400 (0:00:00.066) 0:03:17.966 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** Thursday 25 July 2024 07:32:29 -0400 (0:00:00.066) 0:03:18.033 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** Thursday 25 July 2024 07:32:29 -0400 (0:00:00.065) 0:03:18.098 ********* TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** Thursday 25 July 2024 07:32:29 -0400 (0:00:00.152) 0:03:18.251 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/certificate/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.certificate : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:32:29 -0400 (0:00:00.129) 0:03:18.380 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Check if system is ostree] ******* Thursday 25 July 2024 07:32:30 -0400 (0:00:00.212) 0:03:18.593 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.certificate : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:32:30 -0400 (0:00:00.348) 0:03:18.941 ********* ok: [managed_node1] => { "ansible_facts": { "__certificate_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.certificate : Set platform/version specific variables] *** Thursday 25 July 2024 07:32:30 -0400 (0:00:00.083) 0:03:19.024 ********* skipping: [managed_node1] => (item=RedHat.yml) => { "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__certificate_default_directory": "/etc/pki/tls", "__certificate_packages": [ "python-pyasn1", "python-cryptography", "python-dbus" ] }, "ansible_included_var_files": [ "/var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/certificate/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed] *** Thursday 25 July 2024 07:32:30 -0400 (0:00:00.209) 0:03:19.234 ********* changed: [managed_node1] => { "changed": true, "changes": { "installed": [ "python-pyasn1", "python-cryptography" ] }, "rc": 0, "results": [ "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed", "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\nResolving Dependencies\n--> Running transaction check\n---> Package python2-cryptography.x86_64 0:1.7.2-2.el7 will be installed\n--> Processing Dependency: python-idna >= 2.0 for package: python2-cryptography-1.7.2-2.el7.x86_64\n--> Processing Dependency: python-cffi >= 1.4.1 for package: python2-cryptography-1.7.2-2.el7.x86_64\n--> Processing Dependency: python-enum34 for package: python2-cryptography-1.7.2-2.el7.x86_64\n---> Package python2-pyasn1.noarch 0:0.1.9-7.el7 will be installed\n--> Running transaction check\n---> Package python-cffi.x86_64 0:1.6.0-5.el7 will be installed\n--> Processing Dependency: python-pycparser for package: python-cffi-1.6.0-5.el7.x86_64\n---> Package python-enum34.noarch 0:1.0.4-1.el7 will be installed\n---> Package python-idna.noarch 0:2.4-1.el7 will be installed\n--> Running transaction check\n---> Package python-pycparser.noarch 0:2.14-1.el7 will be installed\n--> Processing Dependency: python-ply for package: python-pycparser-2.14-1.el7.noarch\n--> Running transaction check\n---> Package python-ply.noarch 0:3.4-11.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n python2-cryptography x86_64 1.7.2-2.el7 base 502 k\n python2-pyasn1 noarch 0.1.9-7.el7 base 100 k\nInstalling for dependencies:\n python-cffi x86_64 1.6.0-5.el7 base 218 k\n python-enum34 noarch 1.0.4-1.el7 base 52 k\n python-idna noarch 2.4-1.el7 base 94 k\n python-ply noarch 3.4-11.el7 base 123 k\n python-pycparser noarch 2.14-1.el7 base 104 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+5 Dependent packages)\n\nTotal download size: 1.2 M\nInstalled size: 6.1 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 3.9 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] *** Thursday 25 July 2024 07:32:34 -0400 (0:00:03.415) 0:03:22.649 ********* changed: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "changes": { "installed": [ "certmonger" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\nResolving Dependencies\n--> Running transaction check\n---> Package certmonger.x86_64 0:0.78.4-17.el7_9 will be installed\n--> Processing Dependency: psmisc for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtevent.so.0(TEVENT_0.9.9)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2(TALLOC_2.0.2)(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_util.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc_client.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libxmlrpc.so.3()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtevent.so.0()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Processing Dependency: libtalloc.so.2()(64bit) for package: certmonger-0.78.4-17.el7_9.x86_64\n--> Running transaction check\n---> Package libtalloc.x86_64 0:2.1.16-1.el7 will be installed\n---> Package libtevent.x86_64 0:0.9.39-1.el7 will be installed\n---> Package psmisc.x86_64 0:22.20-17.el7 will be installed\n---> Package xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n---> Package xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n certmonger x86_64 0.78.4-17.el7_9 updates 608 k\nInstalling for dependencies:\n libtalloc x86_64 2.1.16-1.el7 base 33 k\n libtevent x86_64 0.9.39-1.el7 base 41 k\n psmisc x86_64 22.20-17.el7 base 141 k\n xmlrpc-c x86_64 1.32.5-1905.svn2451.el7 base 130 k\n xmlrpc-c-client x86_64 1.32.5-1905.svn2451.el7 base 32 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+5 Dependent packages)\n\nTotal download size: 984 k\nInstalled size: 3.7 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 2.7 MB/s | 984 kB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Installing : libtalloc-2.1.16-1.el7.x86_64 2/6 \n Installing : libtevent-0.9.39-1.el7.x86_64 3/6 \n Installing : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Installing : psmisc-22.20-17.el7.x86_64 5/6 \n Installing : certmonger-0.78.4-17.el7_9.x86_64 6/6 \n Verifying : xmlrpc-c-client-1.32.5-1905.svn2451.el7.x86_64 1/6 \n Verifying : libtevent-0.9.39-1.el7.x86_64 2/6 \n Verifying : libtalloc-2.1.16-1.el7.x86_64 3/6 \n Verifying : xmlrpc-c-1.32.5-1905.svn2451.el7.x86_64 4/6 \n Verifying : certmonger-0.78.4-17.el7_9.x86_64 5/6 \n Verifying : psmisc-22.20-17.el7.x86_64 6/6 \n\nInstalled:\n certmonger.x86_64 0:0.78.4-17.el7_9 \n\nDependency Installed:\n libtalloc.x86_64 0:2.1.16-1.el7 \n libtevent.x86_64 0:0.9.39-1.el7 \n psmisc.x86_64 0:22.20-17.el7 \n xmlrpc-c.x86_64 0:1.32.5-1905.svn2451.el7 \n xmlrpc-c-client.x86_64 0:1.32.5-1905.svn2451.el7 \n\nComplete!\n" ] } lsrpackages: certmonger TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** Thursday 25 July 2024 07:32:37 -0400 (0:00:03.275) 0:03:25.925 ********* changed: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** Thursday 25 July 2024 07:32:37 -0400 (0:00:00.423) 0:03:26.349 ********* changed: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** Thursday 25 July 2024 07:32:38 -0400 (0:00:00.416) 0:03:26.766 ********* changed: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": true, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestampMonotonic": "0", "ActiveExitTimestampMonotonic": "0", "ActiveState": "inactive", "After": "network.target basic.target dbus.service system.slice systemd-journald.socket syslog.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "no", "AssertTimestampMonotonic": "0", "Before": "shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "no", "ConditionTimestampMonotonic": "0", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "0", "ExecMainStartTimestampMonotonic": "0", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestampMonotonic": "0", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "certmonger.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/var/run/certmonger.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "disabled", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** Thursday 25 July 2024 07:32:38 -0400 (0:00:00.635) 0:03:27.402 ********* changed: [managed_node1] => (item={u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.45.245', u'ca': u'self-sign', u'mode': u'0600'}) => { "ansible_loop_var": "item", "changed": true, "item": { "ca": "self-sign", "common_name": "10.31.45.245", "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] *** Thursday 25 July 2024 07:32:40 -0400 (0:00:01.275) 0:03:28.677 ********* skipping: [managed_node1] => (item=[u'cert', {u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.45.245', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "cert", { "ca": "self-sign", "common_name": "10.31.45.245", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=[u'key', {u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.45.245', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "key", { "ca": "self-sign", "common_name": "10.31.45.245", "group": "mssql", "mode": "0600", "name": "mssql_2019_cert", "owner": "mssql" } ], "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=[u'ca', {u'owner': u'mssql', u'group': u'mssql', u'name': u'mssql_2019_cert', u'common_name': u'10.31.45.245', u'ca': u'self-sign', u'mode': u'0600'}]) => { "ansible_loop_var": "item", "changed": false, "item": [ "ca", { "ca": "self-sign", "common_name": "10.31.45.245", "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] ************** Thursday 25 July 2024 07:32:40 -0400 (0:00:00.122) 0:03:28.799 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Stop tracking certificates] ****** Thursday 25 July 2024 07:32:40 -0400 (0:00:00.077) 0:03:28.877 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** Thursday 25 July 2024 07:32:40 -0400 (0:00:00.082) 0:03:28.960 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** Thursday 25 July 2024 07:32:40 -0400 (0:00:00.081) 0:03:29.041 ********* ok: [managed_node1] => { "ansible_facts": { "mssql_tls_cert": "mssql_2019_cert.crt", "mssql_tls_private_key": "mssql_2019_cert.key" }, "changed": false } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** Thursday 25 July 2024 07:32:40 -0400 (0:00:00.085) 0:03:29.126 ********* skipping: [managed_node1] => (item=mssql_2019_cert.crt) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.crt", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=mssql_2019_cert.key) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* Thursday 25 July 2024 07:32:40 -0400 (0:00:00.226) 0:03:29.353 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* Thursday 25 July 2024 07:32:41 -0400 (0:00:00.131) 0:03:29.485 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003724", "end": "2024-07-25 07:32:41.312599", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:32:41.308875" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** Thursday 25 July 2024 07:32:41 -0400 (0:00:00.383) 0:03:29.868 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/mssql_2019_cert.crt" ], "delta": "0:00:00.046945", "end": "2024-07-25 07:32:41.729653", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:32:41.682708" } 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] ***** Thursday 25 July 2024 07:32:41 -0400 (0:00:00.419) 0:03:30.288 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** Thursday 25 July 2024 07:32:41 -0400 (0:00:00.074) 0:03:30.362 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** Thursday 25 July 2024 07:32:42 -0400 (0:00:00.131) 0:03:30.494 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003149", "end": "2024-07-25 07:32:42.300403", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:32:42.297254" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** Thursday 25 July 2024 07:32:42 -0400 (0:00:00.360) 0:03:30.855 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/mssql_2019_cert.key" ], "delta": "0:00:00.048429", "end": "2024-07-25 07:32:42.720292", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:32:42.671863" } 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] ****** Thursday 25 July 2024 07:32:42 -0400 (0:00:00.432) 0:03:31.287 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** Thursday 25 July 2024 07:32:42 -0400 (0:00:00.072) 0:03:31.360 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** Thursday 25 July 2024 07:32:43 -0400 (0:00:00.133) 0:03:31.493 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003193", "end": "2024-07-25 07:32:43.303371", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:32:43.300178" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** Thursday 25 July 2024 07:32:43 -0400 (0:00:00.358) 0:03:31.852 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.048363", "end": "2024-07-25 07:32:43.717641", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:32:43.669278" } 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] *** Thursday 25 July 2024 07:32:43 -0400 (0:00:00.422) 0:03:32.275 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** Thursday 25 July 2024 07:32:43 -0400 (0:00:00.075) 0:03:32.350 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** Thursday 25 July 2024 07:32:44 -0400 (0:00:00.254) 0:03:32.605 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003188", "end": "2024-07-25 07:32:44.408314", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:32:44.405126" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** Thursday 25 July 2024 07:32:44 -0400 (0:00:00.353) 0:03:32.959 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.047990", "end": "2024-07-25 07:32:44.831915", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:32:44.783925" } 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] *** Thursday 25 July 2024 07:32:44 -0400 (0:00:00.433) 0:03:33.393 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** Thursday 25 July 2024 07:32:45 -0400 (0:00:00.074) 0:03:33.468 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** Thursday 25 July 2024 07:32:45 -0400 (0:00:00.069) 0:03:33.537 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** Thursday 25 July 2024 07:32:45 -0400 (0:00:00.072) 0:03:33.610 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** Thursday 25 July 2024 07:32:45 -0400 (0:00:00.071) 0:03:33.682 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** Thursday 25 July 2024 07:32:45 -0400 (0:00:00.070) 0:03:33.752 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** Thursday 25 July 2024 07:32:45 -0400 (0:00:00.073) 0:03:33.826 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** Thursday 25 July 2024 07:32:45 -0400 (0:00:00.068) 0:03:33.894 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** Thursday 25 July 2024 07:32:45 -0400 (0:00:00.074) 0:03:33.969 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ Thursday 25 July 2024 07:32:45 -0400 (0:00:00.068) 0:03:34.037 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** Thursday 25 July 2024 07:32:45 -0400 (0:00:00.069) 0:03:34.107 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** Thursday 25 July 2024 07:32:45 -0400 (0:00:00.068) 0:03:34.176 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** Thursday 25 July 2024 07:32:45 -0400 (0:00:00.067) 0:03:34.243 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** Thursday 25 July 2024 07:32:45 -0400 (0:00:00.193) 0:03:34.436 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* Thursday 25 July 2024 07:32:46 -0400 (0:00:00.069) 0:03:34.506 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** Thursday 25 July 2024 07:32:46 -0400 (0:00:00.075) 0:03:34.581 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** Thursday 25 July 2024 07:32:46 -0400 (0:00:00.068) 0:03:34.649 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* Thursday 25 July 2024 07:32:46 -0400 (0:00:00.071) 0:03:34.720 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** Thursday 25 July 2024 07:32:46 -0400 (0:00:00.072) 0:03:34.792 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** Thursday 25 July 2024 07:32:46 -0400 (0:00:00.068) 0:03:34.861 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** Thursday 25 July 2024 07:32:46 -0400 (0:00:00.073) 0:03:34.935 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** Thursday 25 July 2024 07:32:46 -0400 (0:00:00.071) 0:03:35.006 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** Thursday 25 July 2024 07:32:46 -0400 (0:00:00.071) 0:03:35.078 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** Thursday 25 July 2024 07:32:46 -0400 (0:00:00.072) 0:03:35.150 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** Thursday 25 July 2024 07:32:46 -0400 (0:00:00.069) 0:03:35.219 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** Thursday 25 July 2024 07:32:46 -0400 (0:00:00.074) 0:03:35.294 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** Thursday 25 July 2024 07:32:46 -0400 (0:00:00.069) 0:03:35.363 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** Thursday 25 July 2024 07:32:46 -0400 (0:00:00.070) 0:03:35.434 ********* skipping: [managed_node1] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** Thursday 25 July 2024 07:32:47 -0400 (0:00:00.083) 0:03:35.517 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** Thursday 25 July 2024 07:32:47 -0400 (0:00:00.070) 0:03:35.588 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** Thursday 25 July 2024 07:32:47 -0400 (0:00:00.071) 0:03:35.659 ********* skipping: [managed_node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** Thursday 25 July 2024 07:32:47 -0400 (0:00:00.083) 0:03:35.742 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** Thursday 25 July 2024 07:32:47 -0400 (0:00:00.197) 0:03:35.940 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** Thursday 25 July 2024 07:32:47 -0400 (0:00:00.070) 0:03:36.010 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:32:47 -0400 (0:00:00.072) 0:03:36.082 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* Thursday 25 July 2024 07:32:47 -0400 (0:00:00.070) 0:03:36.153 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:32:47 -0400 (0:00:00.071) 0:03:36.224 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** Thursday 25 July 2024 07:32:47 -0400 (0:00:00.070) 0:03:36.294 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** Thursday 25 July 2024 07:32:47 -0400 (0:00:00.069) 0:03:36.364 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** Thursday 25 July 2024 07:32:47 -0400 (0:00:00.069) 0:03:36.433 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** Thursday 25 July 2024 07:32:48 -0400 (0:00:00.068) 0:03:36.502 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** Thursday 25 July 2024 07:32:48 -0400 (0:00:00.068) 0:03:36.571 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** Thursday 25 July 2024 07:32:48 -0400 (0:00:00.070) 0:03:36.641 ********* skipping: [managed_node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** Thursday 25 July 2024 07:32:48 -0400 (0:00:00.081) 0:03:36.723 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** Thursday 25 July 2024 07:32:48 -0400 (0:00:00.071) 0:03:36.794 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ Thursday 25 July 2024 07:32:48 -0400 (0:00:00.067) 0:03:36.862 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:32:48 -0400 (0:00:00.070) 0:03:36.932 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** Thursday 25 July 2024 07:32:48 -0400 (0:00:00.069) 0:03:37.002 ********* skipping: [managed_node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** Thursday 25 July 2024 07:32:48 -0400 (0:00:00.079) 0:03:37.081 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** Thursday 25 July 2024 07:32:48 -0400 (0:00:00.071) 0:03:37.153 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** Thursday 25 July 2024 07:32:48 -0400 (0:00:00.065) 0:03:37.219 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** Thursday 25 July 2024 07:32:48 -0400 (0:00:00.183) 0:03:37.402 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** Thursday 25 July 2024 07:32:49 -0400 (0:00:00.071) 0:03:37.474 ********* changed: [managed_node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** Thursday 25 July 2024 07:32:49 -0400 (0:00:00.445) 0:03:37.919 ********* changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:32:05 EDT", "ActiveEnterTimestampMonotonic": "1473387873", "ActiveExitTimestamp": "Thu 2024-07-25 07:32:04 EDT", "ActiveExitTimestampMonotonic": "1473098050", "ActiveState": "active", "After": "auditd.service basic.target -.mount system.slice network.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:32:05 EDT", "AssertTimestampMonotonic": "1473387349", "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": "Thu 2024-07-25 07:32:05 EDT", "ConditionTimestampMonotonic": "1473387348", "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": "25676", "ExecMainStartTimestamp": "Thu 2024-07-25 07:32:05 EDT", "ExecMainStartTimestampMonotonic": "1473387825", "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": "Thu 2024-07-25 07:32:05 EDT", "InactiveEnterTimestampMonotonic": "1473385206", "InactiveExitTimestamp": "Thu 2024-07-25 07:32:05 EDT", "InactiveExitTimestampMonotonic": "1473387873", "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": "25676", "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": "Thu 2024-07-25 07:32:05 EDT", "WatchdogTimestampMonotonic": "1473387858", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:32:50 -0400 (0:00:01.265) 0:03:39.185 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:32:50 -0400 (0:00:00.069) 0:03:39.255 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** Thursday 25 July 2024 07:32:50 -0400 (0:00:00.067) 0:03:39.322 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed_node1 TASK [Check if the errorlog file exists and its location] ********************** Thursday 25 July 2024 07:32:51 -0400 (0:00:00.714) 0:03:40.037 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* Thursday 25 July 2024 07:32:51 -0400 (0:00:00.071) 0:03:40.108 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* Thursday 25 July 2024 07:32:51 -0400 (0:00:00.067) 0:03:40.175 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** Thursday 25 July 2024 07:32:51 -0400 (0:00:00.072) 0:03:40.248 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** Thursday 25 July 2024 07:32:51 -0400 (0:00:00.068) 0:03:40.317 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** Thursday 25 July 2024 07:32:51 -0400 (0:00:00.073) 0:03:40.390 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ Thursday 25 July 2024 07:32:52 -0400 (0:00:00.066) 0:03:40.457 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** Thursday 25 July 2024 07:32:52 -0400 (0:00:00.069) 0:03:40.526 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** Thursday 25 July 2024 07:32:52 -0400 (0:00:00.067) 0:03:40.594 ********* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** Thursday 25 July 2024 07:32:52 -0400 (0:00:00.117) 0:03:40.712 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:32:50 EDT", "ActiveEnterTimestampMonotonic": "1518970052", "ActiveExitTimestamp": "Thu 2024-07-25 07:32:49 EDT", "ActiveExitTimestampMonotonic": "1518222442", "ActiveState": "active", "After": "auditd.service basic.target -.mount system.slice network.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:32:50 EDT", "AssertTimestampMonotonic": "1518969310", "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": "Thu 2024-07-25 07:32:50 EDT", "ConditionTimestampMonotonic": "1518969308", "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": "28158", "ExecMainStartTimestamp": "Thu 2024-07-25 07:32:50 EDT", "ExecMainStartTimestampMonotonic": "1518969970", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:32:50 EDT] ; stop_time=[n/a] ; pid=28158 ; 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": "Thu 2024-07-25 07:32:50 EDT", "InactiveEnterTimestampMonotonic": "1518967645", "InactiveExitTimestamp": "Thu 2024-07-25 07:32:50 EDT", "InactiveExitTimestampMonotonic": "1518970052", "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": "28158", "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": "Thu 2024-07-25 07:32:50 EDT", "WatchdogTimestampMonotonic": "1518970028", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** Thursday 25 July 2024 07:32:52 -0400 (0:00:00.674) 0:03:41.387 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003996", "end": "2024-07-25 07:32:53.506690", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:32:53.502694" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** Thursday 25 July 2024 07:32:53 -0400 (0:00:00.762) 0:03:42.149 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004894", "end": "2024-07-25 07:32:54.245537", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:32:54.240643" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* Thursday 25 July 2024 07:32:54 -0400 (0:00:00.650) 0:03:42.800 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** Thursday 25 July 2024 07:32:54 -0400 (0:00:00.217) 0:03:43.017 ********* ok: [managed_node1] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 6365, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** Thursday 25 July 2024 07:32:55 -0400 (0:00:01.358) 0:03:44.376 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.031498", "end": "2024-07-25 07:32:56.205656", "rc": 0, "start": "2024-07-25 07:32:56.174158" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* Thursday 25 July 2024 07:32:56 -0400 (0:00:00.386) 0:03:44.762 ********* ok: [managed_node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* Thursday 25 July 2024 07:32:56 -0400 (0:00:00.076) 0:03:44.839 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* Thursday 25 July 2024 07:32:56 -0400 (0:00:00.072) 0:03:44.912 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** Thursday 25 July 2024 07:32:56 -0400 (0:00:00.068) 0:03:44.980 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ Thursday 25 July 2024 07:32:56 -0400 (0:00:00.071) 0:03:45.052 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** Thursday 25 July 2024 07:32:56 -0400 (0:00:00.069) 0:03:45.121 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** Thursday 25 July 2024 07:32:56 -0400 (0:00:00.067) 0:03:45.188 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** Thursday 25 July 2024 07:32:56 -0400 (0:00:00.069) 0:03:45.258 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** Thursday 25 July 2024 07:32:56 -0400 (0:00:00.065) 0:03:45.324 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlscert] ************************************ Thursday 25 July 2024 07:32:56 -0400 (0:00:00.122) 0:03:45.446 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.007158", "end": "2024-07-25 07:32:57.252449", "rc": 0, "start": "2024-07-25 07:32:57.245291" } STDOUT: tlscert = /etc/pki/tls/certs/mssql_2019_cert.crt TASK [Verify the setting when it is type str tlscert] ************************** Thursday 25 July 2024 07:32:57 -0400 (0:00:00.469) 0:03:45.916 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* Thursday 25 July 2024 07:32:57 -0400 (0:00:00.091) 0:03:46.007 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/mssql_2019_cert.crt] ************ Thursday 25 July 2024 07:32:57 -0400 (0:00:00.083) 0:03:46.090 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** Thursday 25 July 2024 07:32:57 -0400 (0:00:00.069) 0:03:46.160 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlskey] ************************************* Thursday 25 July 2024 07:32:57 -0400 (0:00:00.129) 0:03:46.290 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004288", "end": "2024-07-25 07:32:58.098510", "rc": 0, "start": "2024-07-25 07:32:58.094222" } STDOUT: tlskey = /etc/pki/tls/private/mssql_2019_cert.key TASK [Verify the setting when it is type str tlskey] *************************** Thursday 25 July 2024 07:32:58 -0400 (0:00:00.363) 0:03:46.653 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** Thursday 25 July 2024 07:32:58 -0400 (0:00:00.088) 0:03:46.742 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/mssql_2019_cert.key] ********** Thursday 25 July 2024 07:32:58 -0400 (0:00:00.081) 0:03:46.823 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** Thursday 25 July 2024 07:32:58 -0400 (0:00:00.071) 0:03:46.894 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting tlsprotocols] ******************************* Thursday 25 July 2024 07:32:58 -0400 (0:00:00.131) 0:03:47.026 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004369", "end": "2024-07-25 07:32:58.834797", "rc": 0, "start": "2024-07-25 07:32:58.830428" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* Thursday 25 July 2024 07:32:58 -0400 (0:00:00.362) 0:03:47.388 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** Thursday 25 July 2024 07:32:59 -0400 (0:00:00.084) 0:03:47.473 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** Thursday 25 July 2024 07:32:59 -0400 (0:00:00.073) 0:03:47.546 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** Thursday 25 July 2024 07:32:59 -0400 (0:00:00.069) 0:03:47.616 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting forceencryption] **************************** Thursday 25 July 2024 07:32:59 -0400 (0:00:00.244) 0:03:47.861 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004258", "end": "2024-07-25 07:32:59.660239", "rc": 0, "start": "2024-07-25 07:32:59.655981" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** Thursday 25 July 2024 07:32:59 -0400 (0:00:00.355) 0:03:48.216 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool forceencryption] ***************** Thursday 25 July 2024 07:32:59 -0400 (0:00:00.077) 0:03:48.293 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** Thursday 25 July 2024 07:32:59 -0400 (0:00:00.092) 0:03:48.386 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** Thursday 25 July 2024 07:33:00 -0400 (0:00:00.075) 0:03:48.462 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** Thursday 25 July 2024 07:33:00 -0400 (0:00:00.069) 0:03:48.531 ********* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** Thursday 25 July 2024 07:33:01 -0400 (0:00:01.313) 0:03:49.844 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** Thursday 25 July 2024 07:33:01 -0400 (0:00:00.118) 0:03:49.962 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** Thursday 25 July 2024 07:33:01 -0400 (0:00:00.098) 0:03:50.061 ********* ok: [managed_node1] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed_node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed_node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** Thursday 25 July 2024 07:33:01 -0400 (0:00:00.110) 0:03:50.172 ********* ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** Thursday 25 July 2024 07:33:01 -0400 (0:00:00.073) 0:03:50.245 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Thursday 25 July 2024 07:33:01 -0400 (0:00:00.069) 0:03:50.315 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** Thursday 25 July 2024 07:33:01 -0400 (0:00:00.072) 0:03:50.388 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** Thursday 25 July 2024 07:33:02 -0400 (0:00:00.069) 0:03:50.458 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** Thursday 25 July 2024 07:33:02 -0400 (0:00:00.071) 0:03:50.529 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** Thursday 25 July 2024 07:33:02 -0400 (0:00:00.072) 0:03:50.602 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** Thursday 25 July 2024 07:33:02 -0400 (0:00:00.068) 0:03:50.671 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** Thursday 25 July 2024 07:33:02 -0400 (0:00:00.071) 0:03:50.742 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** Thursday 25 July 2024 07:33:02 -0400 (0:00:00.072) 0:03:50.815 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** Thursday 25 July 2024 07:33:02 -0400 (0:00:00.080) 0:03:50.895 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** Thursday 25 July 2024 07:33:02 -0400 (0:00:00.242) 0:03:51.137 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** Thursday 25 July 2024 07:33:02 -0400 (0:00:00.071) 0:03:51.209 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** Thursday 25 July 2024 07:33:02 -0400 (0:00:00.075) 0:03:51.285 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** Thursday 25 July 2024 07:33:02 -0400 (0:00:00.072) 0:03:51.358 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** Thursday 25 July 2024 07:33:02 -0400 (0:00:00.078) 0:03:51.437 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:33:03 -0400 (0:00:00.074) 0:03:51.511 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** Thursday 25 July 2024 07:33:04 -0400 (0:00:01.231) 0:03:52.742 ********* ok: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** Thursday 25 July 2024 07:33:04 -0400 (0:00:00.187) 0:03:52.930 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** Thursday 25 July 2024 07:33:04 -0400 (0:00:00.071) 0:03:53.001 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** Thursday 25 July 2024 07:33:04 -0400 (0:00:00.079) 0:03:53.081 ********* skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** Thursday 25 July 2024 07:33:04 -0400 (0:00:00.136) 0:03:53.217 ********* ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** Thursday 25 July 2024 07:33:05 -0400 (0:00:00.547) 0:03:53.765 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** Thursday 25 July 2024 07:33:05 -0400 (0:00:00.219) 0:03:53.984 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** Thursday 25 July 2024 07:33:05 -0400 (0:00:00.074) 0:03:54.059 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** Thursday 25 July 2024 07:33:05 -0400 (0:00:00.078) 0:03:54.137 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** Thursday 25 July 2024 07:33:05 -0400 (0:00:00.072) 0:03:54.210 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** Thursday 25 July 2024 07:33:05 -0400 (0:00:00.075) 0:03:54.285 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** Thursday 25 July 2024 07:33:05 -0400 (0:00:00.076) 0:03:54.362 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** Thursday 25 July 2024 07:33:06 -0400 (0:00:00.096) 0:03:54.458 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** Thursday 25 July 2024 07:33:06 -0400 (0:00:00.072) 0:03:54.531 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* Thursday 25 July 2024 07:33:06 -0400 (0:00:00.630) 0:03:55.161 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** Thursday 25 July 2024 07:33:07 -0400 (0:00:00.569) 0:03:55.731 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** Thursday 25 July 2024 07:33:07 -0400 (0:00:00.067) 0:03:55.799 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005318", "end": "2024-07-25 07:33:07.620626", "rc": 0, "start": "2024-07-25 07:33:07.615308" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** Thursday 25 July 2024 07:33:07 -0400 (0:00:00.380) 0:03:56.179 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** Thursday 25 July 2024 07:33:08 -0400 (0:00:00.934) 0:03:57.113 ********* ok: [managed_node1] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** Thursday 25 July 2024 07:33:08 -0400 (0:00:00.095) 0:03:57.209 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** Thursday 25 July 2024 07:33:08 -0400 (0:00:00.068) 0:03:57.277 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** Thursday 25 July 2024 07:33:08 -0400 (0:00:00.066) 0:03:57.344 ********* skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** Thursday 25 July 2024 07:33:08 -0400 (0:00:00.085) 0:03:57.429 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** Thursday 25 July 2024 07:33:09 -0400 (0:00:00.208) 0:03:57.638 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** Thursday 25 July 2024 07:33:09 -0400 (0:00:00.073) 0:03:57.711 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** Thursday 25 July 2024 07:33:09 -0400 (0:00:00.565) 0:03:58.276 ********* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:07:59 EDT", "ActiveEnterTimestampMonotonic": "28047343", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network.target system.slice systemd-journald.socket systemd-sysctl.service dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:07:57 EDT", "AssertTimestampMonotonic": "26119412", "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": "Thu 2024-07-25 07:07:57 EDT", "ConditionTimestampMonotonic": "26119411", "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": "850", "ExecMainStartTimestamp": "Thu 2024-07-25 07:07:57 EDT", "ExecMainStartTimestampMonotonic": "26120028", "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": "Thu 2024-07-25 07:07:57 EDT", "InactiveExitTimestampMonotonic": "26120069", "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": "850", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice polkit.service basic.target dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 07:07:59 EDT", "WatchdogTimestampMonotonic": "28047298", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* Thursday 25 July 2024 07:33:10 -0400 (0:00:00.466) 0:03:58.742 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.086933", "end": "2024-07-25 07:33:10.651907", "rc": 0, "start": "2024-07-25 07:33:10.564974" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** Thursday 25 July 2024 07:33:10 -0400 (0:00:00.463) 0:03:59.205 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** Thursday 25 July 2024 07:33:10 -0400 (0:00:00.075) 0:03:59.280 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** Thursday 25 July 2024 07:33:10 -0400 (0:00:00.076) 0:03:59.357 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** Thursday 25 July 2024 07:33:10 -0400 (0:00:00.074) 0:03:59.432 ********* ok: [managed_node1] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** Thursday 25 July 2024 07:33:11 -0400 (0:00:00.374) 0:03:59.807 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** Thursday 25 July 2024 07:33:11 -0400 (0:00:00.069) 0:03:59.877 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** Thursday 25 July 2024 07:33:11 -0400 (0:00:00.556) 0:04:00.434 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** Thursday 25 July 2024 07:33:12 -0400 (0:00:00.074) 0:04:00.508 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** Thursday 25 July 2024 07:33:12 -0400 (0:00:00.072) 0:04:00.581 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** Thursday 25 July 2024 07:33:12 -0400 (0:00:00.072) 0:04:00.653 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:33:12 -0400 (0:00:00.219) 0:04:00.873 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** Thursday 25 July 2024 07:33:12 -0400 (0:00:00.073) 0:04:00.946 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** Thursday 25 July 2024 07:33:12 -0400 (0:00:00.074) 0:04:01.021 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** Thursday 25 July 2024 07:33:12 -0400 (0:00:00.070) 0:04:01.091 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** Thursday 25 July 2024 07:33:12 -0400 (0:00:00.071) 0:04:01.163 ********* ok: [managed_node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.004873", "end": "2024-07-25 07:33:12.967925", "rc": 0, "start": "2024-07-25 07:33:12.963052" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** Thursday 25 July 2024 07:33:13 -0400 (0:00:00.361) 0:04:01.524 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:33:13 -0400 (0:00:00.074) 0:04:01.598 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** Thursday 25 July 2024 07:33:14 -0400 (0:00:01.212) 0:04:02.810 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** Thursday 25 July 2024 07:33:14 -0400 (0:00:00.079) 0:04:02.890 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** Thursday 25 July 2024 07:33:14 -0400 (0:00:00.069) 0:04:02.959 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** Thursday 25 July 2024 07:33:14 -0400 (0:00:00.072) 0:04:03.032 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** Thursday 25 July 2024 07:33:14 -0400 (0:00:00.069) 0:04:03.101 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* Thursday 25 July 2024 07:33:14 -0400 (0:00:00.125) 0:04:03.226 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003389", "end": "2024-07-25 07:33:15.029268", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:33:15.025879" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** Thursday 25 July 2024 07:33:15 -0400 (0:00:00.505) 0:04:03.732 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.045080", "end": "2024-07-25 07:33:15.589897", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:33:15.544817" } 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] ***** Thursday 25 July 2024 07:33:15 -0400 (0:00:00.425) 0:04:04.157 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** Thursday 25 July 2024 07:33:15 -0400 (0:00:00.076) 0:04:04.234 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** Thursday 25 July 2024 07:33:15 -0400 (0:00:00.071) 0:04:04.306 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** Thursday 25 July 2024 07:33:15 -0400 (0:00:00.077) 0:04:04.383 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* Thursday 25 July 2024 07:33:16 -0400 (0:00:00.074) 0:04:04.458 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** Thursday 25 July 2024 07:33:16 -0400 (0:00:00.074) 0:04:04.532 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** Thursday 25 July 2024 07:33:16 -0400 (0:00:00.075) 0:04:04.608 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** Thursday 25 July 2024 07:33:16 -0400 (0:00:00.069) 0:04:04.677 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** Thursday 25 July 2024 07:33:16 -0400 (0:00:00.077) 0:04:04.754 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** Thursday 25 July 2024 07:33:16 -0400 (0:00:00.071) 0:04:04.826 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** Thursday 25 July 2024 07:33:16 -0400 (0:00:00.072) 0:04:04.898 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** Thursday 25 July 2024 07:33:16 -0400 (0:00:00.072) 0:04:04.971 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** Thursday 25 July 2024 07:33:16 -0400 (0:00:00.077) 0:04:05.049 ********* skipping: [managed_node1] => (item=mssql_2019_cert.crt) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.crt", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=mssql_2019_cert.key) => { "ansible_loop_var": "item", "changed": false, "item": "mssql_2019_cert.key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* Thursday 25 July 2024 07:33:16 -0400 (0:00:00.090) 0:04:05.140 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlscert] ******* Thursday 25 July 2024 07:33:16 -0400 (0:00:00.131) 0:04:05.271 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003164", "end": "2024-07-25 07:33:17.084494", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:33:17.081330" } STDOUT: tlscert = /etc/pki/tls/certs/mssql_2019_cert.crt TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** Thursday 25 July 2024 07:33:17 -0400 (0:00:00.518) 0:04:05.789 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlscert] ***** Thursday 25 July 2024 07:33:17 -0400 (0:00:00.086) 0:04:05.875 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.047266", "end": "2024-07-25 07:33:17.757566", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:33:17.710300" } 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] ********** Thursday 25 July 2024 07:33:17 -0400 (0:00:00.443) 0:04:06.319 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlskey] ******** Thursday 25 July 2024 07:33:18 -0400 (0:00:00.137) 0:04:06.456 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003199", "end": "2024-07-25 07:33:18.274490", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:33:18.271291" } STDOUT: tlskey = /etc/pki/tls/private/mssql_2019_cert.key TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** Thursday 25 July 2024 07:33:18 -0400 (0:00:00.369) 0:04:06.826 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlskey] ****** Thursday 25 July 2024 07:33:18 -0400 (0:00:00.082) 0:04:06.909 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.048530", "end": "2024-07-25 07:33:18.772006", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:33:18.723476" } 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] **** Thursday 25 July 2024 07:33:18 -0400 (0:00:00.420) 0:04:07.329 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tlsprotocols] *** Thursday 25 July 2024 07:33:19 -0400 (0:00:00.133) 0:04:07.463 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003143", "end": "2024-07-25 07:33:19.272083", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:33:19.268940" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** Thursday 25 July 2024 07:33:19 -0400 (0:00:00.360) 0:04:07.824 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tlsprotocols] *** Thursday 25 July 2024 07:33:19 -0400 (0:00:00.084) 0:04:07.908 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.047438", "end": "2024-07-25 07:33:19.772019", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:33:19.724581" } 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] *** Thursday 25 July 2024 07:33:19 -0400 (0:00:00.417) 0:04:08.326 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network forceencryption] *** Thursday 25 July 2024 07:33:20 -0400 (0:00:00.135) 0:04:08.462 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003142", "end": "2024-07-25 07:33:20.272370", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:33:20.269228" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** Thursday 25 July 2024 07:33:20 -0400 (0:00:00.385) 0:04:08.847 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network forceencryption] *** Thursday 25 July 2024 07:33:20 -0400 (0:00:00.082) 0:04:08.929 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.045636", "end": "2024-07-25 07:33:20.788719", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:33:20.743083" } 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] *** Thursday 25 July 2024 07:33:20 -0400 (0:00:00.414) 0:04:09.344 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** Thursday 25 July 2024 07:33:20 -0400 (0:00:00.070) 0:04:09.415 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** Thursday 25 July 2024 07:33:21 -0400 (0:00:00.067) 0:04:09.483 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** Thursday 25 July 2024 07:33:21 -0400 (0:00:00.073) 0:04:09.556 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** Thursday 25 July 2024 07:33:21 -0400 (0:00:00.070) 0:04:09.626 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** Thursday 25 July 2024 07:33:21 -0400 (0:00:00.073) 0:04:09.700 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** Thursday 25 July 2024 07:33:21 -0400 (0:00:00.071) 0:04:09.772 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** Thursday 25 July 2024 07:33:21 -0400 (0:00:00.070) 0:04:09.843 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ Thursday 25 July 2024 07:33:21 -0400 (0:00:00.074) 0:04:09.917 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** Thursday 25 July 2024 07:33:21 -0400 (0:00:00.068) 0:04:09.986 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** Thursday 25 July 2024 07:33:21 -0400 (0:00:00.071) 0:04:10.058 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** Thursday 25 July 2024 07:33:21 -0400 (0:00:00.069) 0:04:10.128 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** Thursday 25 July 2024 07:33:21 -0400 (0:00:00.067) 0:04:10.196 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* Thursday 25 July 2024 07:33:21 -0400 (0:00:00.072) 0:04:10.268 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** Thursday 25 July 2024 07:33:21 -0400 (0:00:00.070) 0:04:10.339 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** Thursday 25 July 2024 07:33:22 -0400 (0:00:00.211) 0:04:10.551 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* Thursday 25 July 2024 07:33:22 -0400 (0:00:00.071) 0:04:10.622 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** Thursday 25 July 2024 07:33:22 -0400 (0:00:00.073) 0:04:10.696 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** Thursday 25 July 2024 07:33:22 -0400 (0:00:00.072) 0:04:10.769 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** Thursday 25 July 2024 07:33:22 -0400 (0:00:00.069) 0:04:10.838 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** Thursday 25 July 2024 07:33:22 -0400 (0:00:00.074) 0:04:10.913 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** Thursday 25 July 2024 07:33:22 -0400 (0:00:00.070) 0:04:10.983 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** Thursday 25 July 2024 07:33:22 -0400 (0:00:00.075) 0:04:11.059 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** Thursday 25 July 2024 07:33:22 -0400 (0:00:00.070) 0:04:11.129 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** Thursday 25 July 2024 07:33:22 -0400 (0:00:00.074) 0:04:11.203 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** Thursday 25 July 2024 07:33:22 -0400 (0:00:00.071) 0:04:11.275 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** Thursday 25 July 2024 07:33:22 -0400 (0:00:00.069) 0:04:11.345 ********* skipping: [managed_node1] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** Thursday 25 July 2024 07:33:22 -0400 (0:00:00.089) 0:04:11.435 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** Thursday 25 July 2024 07:33:23 -0400 (0:00:00.069) 0:04:11.504 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** Thursday 25 July 2024 07:33:23 -0400 (0:00:00.074) 0:04:11.579 ********* skipping: [managed_node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** Thursday 25 July 2024 07:33:23 -0400 (0:00:00.092) 0:04:11.671 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** Thursday 25 July 2024 07:33:23 -0400 (0:00:00.069) 0:04:11.740 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** Thursday 25 July 2024 07:33:23 -0400 (0:00:00.073) 0:04:11.814 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:33:23 -0400 (0:00:00.068) 0:04:11.882 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* Thursday 25 July 2024 07:33:23 -0400 (0:00:00.220) 0:04:12.103 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:33:23 -0400 (0:00:00.076) 0:04:12.180 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** Thursday 25 July 2024 07:33:23 -0400 (0:00:00.074) 0:04:12.254 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** Thursday 25 July 2024 07:33:23 -0400 (0:00:00.076) 0:04:12.331 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** Thursday 25 July 2024 07:33:23 -0400 (0:00:00.071) 0:04:12.402 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** Thursday 25 July 2024 07:33:24 -0400 (0:00:00.071) 0:04:12.473 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** Thursday 25 July 2024 07:33:24 -0400 (0:00:00.069) 0:04:12.543 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** Thursday 25 July 2024 07:33:24 -0400 (0:00:00.074) 0:04:12.617 ********* skipping: [managed_node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** Thursday 25 July 2024 07:33:24 -0400 (0:00:00.086) 0:04:12.704 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** Thursday 25 July 2024 07:33:24 -0400 (0:00:00.068) 0:04:12.772 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ Thursday 25 July 2024 07:33:24 -0400 (0:00:00.069) 0:04:12.842 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 07:33:24 -0400 (0:00:00.070) 0:04:12.913 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** Thursday 25 July 2024 07:33:24 -0400 (0:00:00.072) 0:04:12.985 ********* skipping: [managed_node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** Thursday 25 July 2024 07:33:24 -0400 (0:00:00.080) 0:04:13.065 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** Thursday 25 July 2024 07:33:24 -0400 (0:00:00.068) 0:04:13.134 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** Thursday 25 July 2024 07:33:24 -0400 (0:00:00.071) 0:04:13.205 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** Thursday 25 July 2024 07:33:24 -0400 (0:00:00.072) 0:04:13.278 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** Thursday 25 July 2024 07:33:24 -0400 (0:00:00.072) 0:04:13.350 ********* changed: [managed_node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** Thursday 25 July 2024 07:33:25 -0400 (0:00:00.656) 0:04:14.007 ********* changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:32:50 EDT", "ActiveEnterTimestampMonotonic": "1518970052", "ActiveExitTimestamp": "Thu 2024-07-25 07:32:49 EDT", "ActiveExitTimestampMonotonic": "1518222442", "ActiveState": "active", "After": "auditd.service basic.target -.mount system.slice network.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:32:50 EDT", "AssertTimestampMonotonic": "1518969310", "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": "Thu 2024-07-25 07:32:50 EDT", "ConditionTimestampMonotonic": "1518969308", "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": "28158", "ExecMainStartTimestamp": "Thu 2024-07-25 07:32:50 EDT", "ExecMainStartTimestampMonotonic": "1518969970", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:32:50 EDT] ; stop_time=[n/a] ; pid=28158 ; 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": "Thu 2024-07-25 07:32:50 EDT", "InactiveEnterTimestampMonotonic": "1518967645", "InactiveExitTimestamp": "Thu 2024-07-25 07:32:50 EDT", "InactiveExitTimestampMonotonic": "1518970052", "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": "28158", "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": "Thu 2024-07-25 07:32:50 EDT", "WatchdogTimestampMonotonic": "1518970028", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:33:26 -0400 (0:00:00.829) 0:04:14.836 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:33:26 -0400 (0:00:00.072) 0:04:14.909 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up after the role invocation] ************************************** Thursday 25 July 2024 07:33:26 -0400 (0:00:00.073) 0:04:14.983 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml for managed_node1 TASK [Gather package facts] **************************************************** Thursday 25 July 2024 07:33:26 -0400 (0:00:00.130) 0:04:15.114 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Purge cluster configuration] ********************************************* Thursday 25 July 2024 07:33:28 -0400 (0:00:01.723) 0:04:16.837 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** Thursday 25 July 2024 07:33:28 -0400 (0:00:00.099) 0:04:16.937 ********* ok: [managed_node1] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** Thursday 25 July 2024 07:33:28 -0400 (0:00:00.075) 0:04:17.012 ********* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** Thursday 25 July 2024 07:33:28 -0400 (0:00:00.179) 0:04:17.191 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed_node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:33:29 -0400 (0:00:00.286) 0:04:17.478 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** Thursday 25 July 2024 07:33:29 -0400 (0:00:00.096) 0:04:17.575 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:33:29 -0400 (0:00:00.747) 0:04:18.322 ********* ok: [managed_node1] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** Thursday 25 July 2024 07:33:29 -0400 (0:00:00.082) 0:04:18.404 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** Thursday 25 July 2024 07:33:30 -0400 (0:00:00.455) 0:04:18.860 ********* ok: [managed_node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** Thursday 25 July 2024 07:33:30 -0400 (0:00:00.080) 0:04:18.940 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** Thursday 25 July 2024 07:33:31 -0400 (0:00:00.588) 0:04:19.529 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** Thursday 25 July 2024 07:33:31 -0400 (0:00:00.072) 0:04:19.601 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** Thursday 25 July 2024 07:33:31 -0400 (0:00:00.071) 0:04:19.673 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** Thursday 25 July 2024 07:33:31 -0400 (0:00:00.068) 0:04:19.741 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** Thursday 25 July 2024 07:33:31 -0400 (0:00:00.074) 0:04:19.815 ********* skipping: [managed_node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** Thursday 25 July 2024 07:33:31 -0400 (0:00:00.090) 0:04:19.906 ********* ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:11:16 EDT", "ActiveEnterTimestampMonotonic": "224562844", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:11:15 EDT", "AssertTimestampMonotonic": "223566636", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-07-25 07:11:15 EDT", "ConditionTimestampMonotonic": "223566634", "Conflicts": "ebtables.service ipset.service shutdown.target iptables.service ip6tables.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": "8433", "ExecMainStartTimestamp": "Thu 2024-07-25 07:11:15 EDT", "ExecMainStartTimestampMonotonic": "223568521", "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": "Thu 2024-07-25 07:11:15 EDT", "InactiveExitTimestampMonotonic": "223568552", "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": "8433", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2024-07-25 07:11:16 EDT", "WatchdogTimestampMonotonic": "224562789", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** Thursday 25 July 2024 07:33:31 -0400 (0:00:00.480) 0:04:20.386 ********* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:11:16 EDT", "ActiveEnterTimestampMonotonic": "224562844", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice polkit.service basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:11:15 EDT", "AssertTimestampMonotonic": "223566636", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-07-25 07:11:15 EDT", "ConditionTimestampMonotonic": "223566634", "Conflicts": "ebtables.service ipset.service shutdown.target iptables.service ip6tables.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": "8433", "ExecMainStartTimestamp": "Thu 2024-07-25 07:11:15 EDT", "ExecMainStartTimestampMonotonic": "223568521", "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": "Thu 2024-07-25 07:11:15 EDT", "InactiveExitTimestampMonotonic": "223568552", "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": "8433", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2024-07-25 07:11:16 EDT", "WatchdogTimestampMonotonic": "224562789", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** Thursday 25 July 2024 07:33:32 -0400 (0:00:00.468) 0:04:20.855 ********* ok: [managed_node1] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** Thursday 25 July 2024 07:33:32 -0400 (0:00:00.195) 0:04:21.051 ********* ok: [managed_node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.45.245 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** Thursday 25 July 2024 07:33:32 -0400 (0:00:00.364) 0:04:21.415 ********* ok: [managed_node1] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** Thursday 25 July 2024 07:33:33 -0400 (0:00:00.078) 0:04:21.494 ********* TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** Thursday 25 July 2024 07:33:33 -0400 (0:00:00.070) 0:04:21.564 ********* TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* Thursday 25 July 2024 07:33:33 -0400 (0:00:00.071) 0:04:21.636 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** Thursday 25 July 2024 07:33:33 -0400 (0:00:00.077) 0:04:21.714 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* Thursday 25 July 2024 07:33:33 -0400 (0:00:00.069) 0:04:21.784 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** Thursday 25 July 2024 07:33:33 -0400 (0:00:00.073) 0:04:21.857 ********* ok: [managed_node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.45.245 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* Thursday 25 July 2024 07:33:33 -0400 (0:00:00.346) 0:04:22.203 ********* ok: [managed_node1] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* Thursday 25 July 2024 07:33:33 -0400 (0:00:00.081) 0:04:22.285 ********* skipping: [managed_node1] => {} TASK [Purge selinux configuration] ********************************************* Thursday 25 July 2024 07:33:33 -0400 (0:00:00.071) 0:04:22.356 ********* TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** Thursday 25 July 2024 07:33:34 -0400 (0:00:00.163) 0:04:22.520 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for managed_node1 TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** Thursday 25 July 2024 07:33:34 -0400 (0:00:00.123) 0:04:22.643 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* Thursday 25 July 2024 07:33:34 -0400 (0:00:00.211) 0:04:22.854 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for managed_node1 TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** Thursday 25 July 2024 07:33:34 -0400 (0:00:00.135) 0:04:22.989 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** Thursday 25 July 2024 07:33:34 -0400 (0:00:00.348) 0:04:23.338 ********* ok: [managed_node1] => { "ansible_facts": { "__selinux_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** Thursday 25 July 2024 07:33:34 -0400 (0:00:00.078) 0:04:23.416 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** Thursday 25 July 2024 07:33:35 -0400 (0:00:00.358) 0:04:23.775 ********* ok: [managed_node1] => { "ansible_facts": { "__selinux_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* Thursday 25 July 2024 07:33:35 -0400 (0:00:00.075) 0:04:23.851 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } lsrpackages: libselinux-python policycoreutils-python TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* Thursday 25 July 2024 07:33:35 -0400 (0:00:00.566) 0:04:24.417 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* Thursday 25 July 2024 07:33:36 -0400 (0:00:00.068) 0:04:24.485 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* Thursday 25 July 2024 07:33:36 -0400 (0:00:00.069) 0:04:24.555 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** Thursday 25 July 2024 07:33:36 -0400 (0:00:00.072) 0:04:24.628 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** Thursday 25 July 2024 07:33:36 -0400 (0:00:00.069) 0:04:24.697 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is needed and not set] *** Thursday 25 July 2024 07:33:36 -0400 (0:00:00.068) 0:04:24.766 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** Thursday 25 July 2024 07:33:36 -0400 (0:00:00.070) 0:04:24.837 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** Thursday 25 July 2024 07:33:36 -0400 (0:00:00.585) 0:04:25.423 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** Thursday 25 July 2024 07:33:37 -0400 (0:00:00.191) 0:04:25.614 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* Thursday 25 July 2024 07:33:37 -0400 (0:00:00.074) 0:04:25.688 ********* ok: [managed_node1] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** Thursday 25 July 2024 07:33:37 -0400 (0:00:00.073) 0:04:25.762 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* Thursday 25 July 2024 07:33:37 -0400 (0:00:00.066) 0:04:25.829 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** Thursday 25 July 2024 07:33:37 -0400 (0:00:00.071) 0:04:25.900 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:00.355633", "end": "2024-07-25 07:33:38.059803", "rc": 0, "start": "2024-07-25 07:33:37.704170" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** Thursday 25 July 2024 07:33:38 -0400 (0:00:00.711) 0:04:26.611 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** Thursday 25 July 2024 07:33:38 -0400 (0:00:00.070) 0:04:26.682 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** Thursday 25 July 2024 07:33:38 -0400 (0:00:00.066) 0:04:26.749 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** Thursday 25 July 2024 07:33:38 -0400 (0:00:00.069) 0:04:26.819 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** Thursday 25 July 2024 07:33:38 -0400 (0:00:00.070) 0:04:26.889 ********* TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** Thursday 25 July 2024 07:33:38 -0400 (0:00:00.066) 0:04:26.955 ********* TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** Thursday 25 July 2024 07:33:38 -0400 (0:00:00.070) 0:04:27.026 ********* TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** Thursday 25 July 2024 07:33:38 -0400 (0:00:00.065) 0:04:27.091 ********* TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** Thursday 25 July 2024 07:33:38 -0400 (0:00:00.068) 0:04:27.160 ********* ok: [managed_node1] => { "ansible_facts": { "selinux_checksums": false, "selinux_installed_modules": { "abrt": { "100": { "checksum": "", "enabled": 1 } }, "accountsd": { "100": { "checksum": "", "enabled": 1 } }, "acct": { "100": { "checksum": "", "enabled": 1 } }, "afs": { "100": { "checksum": "", "enabled": 1 } }, "aiccu": { "100": { "checksum": "", "enabled": 1 } }, "aide": { "100": { "checksum": "", "enabled": 1 } }, "ajaxterm": { "100": { "checksum": "", "enabled": 1 } }, "alsa": { "100": { "checksum": "", "enabled": 1 } }, "amanda": { "100": { "checksum": "", "enabled": 1 } }, "amtu": { "100": { "checksum": "", "enabled": 1 } }, "anaconda": { "100": { "checksum": "", "enabled": 1 } }, "antivirus": { "100": { "checksum": "", "enabled": 1 } }, "apache": { "100": { "checksum": "", "enabled": 1 } }, "apcupsd": { "100": { "checksum": "", "enabled": 1 } }, "apm": { "100": { "checksum": "", "enabled": 1 } }, "application": { "100": { "checksum": "", "enabled": 1 } }, "arpwatch": { "100": { "checksum": "", "enabled": 1 } }, "asterisk": { "100": { "checksum": "", "enabled": 1 } }, "auditadm": { "100": { "checksum": "", "enabled": 1 } }, "authconfig": { "100": { "checksum": "", "enabled": 1 } }, "authlogin": { "100": { "checksum": "", "enabled": 1 } }, "automount": { "100": { "checksum": "", "enabled": 1 } }, "avahi": { "100": { "checksum": "", "enabled": 1 } }, "awstats": { "100": { "checksum": "", "enabled": 1 } }, "bacula": { "100": { "checksum": "", "enabled": 1 } }, "base": { "100": { "checksum": "", "enabled": 1 } }, "bcfg2": { "100": { "checksum": "", "enabled": 1 } }, "bind": { "100": { "checksum": "", "enabled": 1 } }, "bitlbee": { "100": { "checksum": "", "enabled": 1 } }, "blkmapd": { "100": { "checksum": "", "enabled": 1 } }, "blueman": { "100": { "checksum": "", "enabled": 1 } }, "bluetooth": { "100": { "checksum": "", "enabled": 1 } }, "boinc": { "100": { "checksum": "", "enabled": 1 } }, "boltd": { "100": { "checksum": "", "enabled": 1 } }, "bootloader": { "100": { "checksum": "", "enabled": 1 } }, "brctl": { "100": { "checksum": "", "enabled": 1 } }, "brltty": { "100": { "checksum": "", "enabled": 1 } }, "bugzilla": { "100": { "checksum": "", "enabled": 1 } }, "bumblebee": { "100": { "checksum": "", "enabled": 1 } }, "cachefilesd": { "100": { "checksum": "", "enabled": 1 } }, "calamaris": { "100": { "checksum": "", "enabled": 1 } }, "callweaver": { "100": { "checksum": "", "enabled": 1 } }, "canna": { "100": { "checksum": "", "enabled": 1 } }, "ccs": { "100": { "checksum": "", "enabled": 1 } }, "cdrecord": { "100": { "checksum": "", "enabled": 1 } }, "certmaster": { "100": { "checksum": "", "enabled": 1 } }, "certmonger": { "100": { "checksum": "", "enabled": 1 } }, "certwatch": { "100": { "checksum": "", "enabled": 1 } }, "cfengine": { "100": { "checksum": "", "enabled": 1 } }, "cgdcbxd": { "100": { "checksum": "", "enabled": 1 } }, "cgroup": { "100": { "checksum": "", "enabled": 1 } }, "chrome": { "100": { "checksum": "", "enabled": 1 } }, "chronyd": { "100": { "checksum": "", "enabled": 1 } }, "cinder": { "100": { "checksum": "", "enabled": 1 } }, "cipe": { "100": { "checksum": "", "enabled": 1 } }, "clock": { "100": { "checksum": "", "enabled": 1 } }, "clogd": { "100": { "checksum": "", "enabled": 1 } }, "cloudform": { "100": { "checksum": "", "enabled": 1 } }, "cmirrord": { "100": { "checksum": "", "enabled": 1 } }, "cobbler": { "100": { "checksum": "", "enabled": 1 } }, "cockpit": { "100": { "checksum": "", "enabled": 1 } }, "collectd": { "100": { "checksum": "", "enabled": 1 } }, "colord": { "100": { "checksum": "", "enabled": 1 } }, "comsat": { "100": { "checksum": "", "enabled": 1 } }, "condor": { "100": { "checksum": "", "enabled": 1 } }, "conman": { "100": { "checksum": "", "enabled": 1 } }, "consolekit": { "100": { "checksum": "", "enabled": 1 } }, "container": { "100": { "checksum": "", "enabled": 1 } }, "couchdb": { "100": { "checksum": "", "enabled": 1 } }, "courier": { "100": { "checksum": "", "enabled": 1 } }, "cpucontrol": { "100": { "checksum": "", "enabled": 1 } }, "cpufreqselector": { "100": { "checksum": "", "enabled": 1 } }, "cpuplug": { "100": { "checksum": "", "enabled": 1 } }, "cron": { "100": { "checksum": "", "enabled": 1 } }, "ctdb": { "100": { "checksum": "", "enabled": 1 } }, "cups": { "100": { "checksum": "", "enabled": 1 } }, "cvs": { "100": { "checksum": "", "enabled": 1 } }, "cyphesis": { "100": { "checksum": "", "enabled": 1 } }, "cyrus": { "100": { "checksum": "", "enabled": 1 } }, "daemontools": { "100": { "checksum": "", "enabled": 1 } }, "dbadm": { "100": { "checksum": "", "enabled": 1 } }, "dbskk": { "100": { "checksum": "", "enabled": 1 } }, "dbus": { "100": { "checksum": "", "enabled": 1 } }, "dcc": { "100": { "checksum": "", "enabled": 1 } }, "ddclient": { "100": { "checksum": "", "enabled": 1 } }, "denyhosts": { "100": { "checksum": "", "enabled": 1 } }, "devicekit": { "100": { "checksum": "", "enabled": 1 } }, "dhcp": { "100": { "checksum": "", "enabled": 1 } }, "dictd": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv-admin": { "100": { "checksum": "", "enabled": 1 } }, "dmesg": { "100": { "checksum": "", "enabled": 1 } }, "dmidecode": { "100": { "checksum": "", "enabled": 1 } }, "dnsmasq": { "100": { "checksum": "", "enabled": 1 } }, "dnssec": { "100": { "checksum": "", "enabled": 1 } }, "dovecot": { "100": { "checksum": "", "enabled": 1 } }, "drbd": { "100": { "checksum": "", "enabled": 1 } }, "dspam": { "100": { "checksum": "", "enabled": 1 } }, "entropyd": { "100": { "checksum": "", "enabled": 1 } }, "exim": { "100": { "checksum": "", "enabled": 1 } }, "fail2ban": { "100": { "checksum": "", "enabled": 1 } }, "fcoe": { "100": { "checksum": "", "enabled": 1 } }, "fetchmail": { "100": { "checksum": "", "enabled": 1 } }, "finger": { "100": { "checksum": "", "enabled": 1 } }, "firewalld": { "100": { "checksum": "", "enabled": 1 } }, "firewallgui": { "100": { "checksum": "", "enabled": 1 } }, "firstboot": { "100": { "checksum": "", "enabled": 1 } }, "fprintd": { "100": { "checksum": "", "enabled": 1 } }, "freeipmi": { "100": { "checksum": "", "enabled": 1 } }, "freqset": { "100": { "checksum": "", "enabled": 1 } }, "fstools": { "100": { "checksum": "", "enabled": 1 } }, "ftp": { "100": { "checksum": "", "enabled": 1 } }, "games": { "100": { "checksum": "", "enabled": 1 } }, "ganesha": { "100": { "checksum": "", "enabled": 1 } }, "gdomap": { "100": { "checksum": "", "enabled": 1 } }, "geoclue": { "100": { "checksum": "", "enabled": 1 } }, "getty": { "100": { "checksum": "", "enabled": 1 } }, "git": { "100": { "checksum": "", "enabled": 1 } }, "gitosis": { "100": { "checksum": "", "enabled": 1 } }, "glance": { "100": { "checksum": "", "enabled": 1 } }, "glusterd": { "100": { "checksum": "", "enabled": 1 } }, "gnome": { "100": { "checksum": "", "enabled": 1 } }, "gpg": { "100": { "checksum": "", "enabled": 1 } }, "gpm": { "100": { "checksum": "", "enabled": 1 } }, "gpsd": { "100": { "checksum": "", "enabled": 1 } }, "gssproxy": { "100": { "checksum": "", "enabled": 1 } }, "guest": { "100": { "checksum": "", "enabled": 1 } }, "hddtemp": { "100": { "checksum": "", "enabled": 1 } }, "hostname": { "100": { "checksum": "", "enabled": 1 } }, "hsqldb": { "100": { "checksum": "", "enabled": 1 } }, "hwloc": { "100": { "checksum": "", "enabled": 1 } }, "hypervkvp": { "100": { "checksum": "", "enabled": 1 } }, "icecast": { "100": { "checksum": "", "enabled": 1 } }, "inetd": { "100": { "checksum": "", "enabled": 1 } }, "init": { "100": { "checksum": "", "enabled": 1 } }, "inn": { "100": { "checksum": "", "enabled": 1 } }, "iodine": { "100": { "checksum": "", "enabled": 1 } }, "iotop": { "100": { "checksum": "", "enabled": 1 } }, "ipa": { "100": { "checksum": "", "enabled": 1 } }, "ipmievd": { "100": { "checksum": "", "enabled": 1 } }, "ipsec": { "100": { "checksum": "", "enabled": 1 } }, "iptables": { "100": { "checksum": "", "enabled": 1 } }, "irc": { "100": { "checksum": "", "enabled": 1 } }, "irqbalance": { "100": { "checksum": "", "enabled": 1 } }, "iscsi": { "100": { "checksum": "", "enabled": 1 } }, "isns": { "100": { "checksum": "", "enabled": 1 } }, "jabber": { "100": { "checksum": "", "enabled": 1 } }, "jetty": { "100": { "checksum": "", "enabled": 1 } }, "jockey": { "100": { "checksum": "", "enabled": 1 } }, "journalctl": { "100": { "checksum": "", "enabled": 1 } }, "kdump": { "100": { "checksum": "", "enabled": 1 } }, "kdumpgui": { "100": { "checksum": "", "enabled": 1 } }, "keepalived": { "100": { "checksum": "", "enabled": 1 } }, "kerberos": { "100": { "checksum": "", "enabled": 1 } }, "keyboardd": { "100": { "checksum": "", "enabled": 1 } }, "keystone": { "100": { "checksum": "", "enabled": 1 } }, "kismet": { "100": { "checksum": "", "enabled": 1 } }, "kmscon": { "100": { "checksum": "", "enabled": 1 } }, "kpatch": { "100": { "checksum": "", "enabled": 1 } }, "ksmtuned": { "100": { "checksum": "", "enabled": 1 } }, "ktalk": { "100": { "checksum": "", "enabled": 1 } }, "l2tp": { "100": { "checksum": "", "enabled": 1 } }, "ldap": { "100": { "checksum": "", "enabled": 1 } }, "libraries": { "100": { "checksum": "", "enabled": 1 } }, "likewise": { "100": { "checksum": "", "enabled": 1 } }, "linuxptp": { "100": { "checksum": "", "enabled": 1 } }, "lircd": { "100": { "checksum": "", "enabled": 1 } }, "livecd": { "100": { "checksum": "", "enabled": 1 } }, "lldpad": { "100": { "checksum": "", "enabled": 1 } }, "loadkeys": { "100": { "checksum": "", "enabled": 1 } }, "locallogin": { "100": { "checksum": "", "enabled": 1 } }, "lockdev": { "100": { "checksum": "", "enabled": 1 } }, "logadm": { "100": { "checksum": "", "enabled": 1 } }, "logging": { "100": { "checksum": "", "enabled": 1 } }, "logrotate": { "100": { "checksum": "", "enabled": 1 } }, "logwatch": { "100": { "checksum": "", "enabled": 1 } }, "lpd": { "100": { "checksum": "", "enabled": 1 } }, "lsm": { "100": { "checksum": "", "enabled": 1 } }, "lttng-tools": { "100": { "checksum": "", "enabled": 1 } }, "lvm": { "100": { "checksum": "", "enabled": 1 } }, "mailman": { "100": { "checksum": "", "enabled": 1 } }, "mailscanner": { "100": { "checksum": "", "enabled": 1 } }, "man2html": { "100": { "checksum": "", "enabled": 1 } }, "mandb": { "100": { "checksum": "", "enabled": 1 } }, "mcelog": { "100": { "checksum": "", "enabled": 1 } }, "mediawiki": { "100": { "checksum": "", "enabled": 1 } }, "memcached": { "100": { "checksum": "", "enabled": 1 } }, "milter": { "100": { "checksum": "", "enabled": 1 } }, "minidlna": { "100": { "checksum": "", "enabled": 1 } }, "minissdpd": { "100": { "checksum": "", "enabled": 1 } }, "mip6d": { "100": { "checksum": "", "enabled": 1 } }, "mirrormanager": { "100": { "checksum": "", "enabled": 1 } }, "miscfiles": { "100": { "checksum": "", "enabled": 1 } }, "mock": { "100": { "checksum": "", "enabled": 1 } }, "modemmanager": { "100": { "checksum": "", "enabled": 1 } }, "modutils": { "100": { "checksum": "", "enabled": 1 } }, "mojomojo": { "100": { "checksum": "", "enabled": 1 } }, "mon_statd": { "100": { "checksum": "", "enabled": 1 } }, "mongodb": { "100": { "checksum": "", "enabled": 1 } }, "motion": { "100": { "checksum": "", "enabled": 1 } }, "mount": { "100": { "checksum": "", "enabled": 1 } }, "mozilla": { "100": { "checksum": "", "enabled": 1 } }, "mpd": { "100": { "checksum": "", "enabled": 1 } }, "mplayer": { "100": { "checksum": "", "enabled": 1 } }, "mrtg": { "100": { "checksum": "", "enabled": 1 } }, "mta": { "100": { "checksum": "", "enabled": 1 } }, "munin": { "100": { "checksum": "", "enabled": 1 } }, "mysql": { "100": { "checksum": "", "enabled": 1 } }, "mythtv": { "100": { "checksum": "", "enabled": 1 } }, "nagios": { "100": { "checksum": "", "enabled": 1 } }, "namespace": { "100": { "checksum": "", "enabled": 1 } }, "ncftool": { "100": { "checksum": "", "enabled": 1 } }, "netlabel": { "100": { "checksum": "", "enabled": 1 } }, "netutils": { "100": { "checksum": "", "enabled": 1 } }, "networkmanager": { "100": { "checksum": "", "enabled": 1 } }, "ninfod": { "100": { "checksum": "", "enabled": 1 } }, "nis": { "100": { "checksum": "", "enabled": 1 } }, "nova": { "100": { "checksum": "", "enabled": 1 } }, "nscd": { "100": { "checksum": "", "enabled": 1 } }, "nsd": { "100": { "checksum": "", "enabled": 1 } }, "nslcd": { "100": { "checksum": "", "enabled": 1 } }, "ntop": { "100": { "checksum": "", "enabled": 1 } }, "ntp": { "100": { "checksum": "", "enabled": 1 } }, "numad": { "100": { "checksum": "", "enabled": 1 } }, "nut": { "100": { "checksum": "", "enabled": 1 } }, "nx": { "100": { "checksum": "", "enabled": 1 } }, "obex": { "100": { "checksum": "", "enabled": 1 } }, "oddjob": { "100": { "checksum": "", "enabled": 1 } }, "openct": { "100": { "checksum": "", "enabled": 1 } }, "opendnssec": { "100": { "checksum": "", "enabled": 1 } }, "openhpid": { "100": { "checksum": "", "enabled": 1 } }, "openshift": { "100": { "checksum": "", "enabled": 1 } }, "openshift-origin": { "100": { "checksum": "", "enabled": 1 } }, "opensm": { "100": { "checksum": "", "enabled": 1 } }, "openvpn": { "100": { "checksum": "", "enabled": 1 } }, "openvswitch": { "100": { "checksum": "", "enabled": 1 } }, "openwsman": { "100": { "checksum": "", "enabled": 1 } }, "oracleasm": { "100": { "checksum": "", "enabled": 1 } }, "osad": { "100": { "checksum": "", "enabled": 1 } }, "pads": { "100": { "checksum": "", "enabled": 1 } }, "passenger": { "100": { "checksum": "", "enabled": 1 } }, "pcmcia": { "100": { "checksum": "", "enabled": 1 } }, "pcp": { "100": { "checksum": "", "enabled": 1 } }, "pcscd": { "100": { "checksum": "", "enabled": 1 } }, "pegasus": { "100": { "checksum": "", "enabled": 1 } }, "permissivedomains": { "100": { "checksum": "", "enabled": 1 } }, "pesign": { "100": { "checksum": "", "enabled": 1 } }, "pingd": { "100": { "checksum": "", "enabled": 1 } }, "piranha": { "100": { "checksum": "", "enabled": 1 } }, "pkcs": { "100": { "checksum": "", "enabled": 1 } }, "pki": { "100": { "checksum": "", "enabled": 1 } }, "plymouthd": { "100": { "checksum": "", "enabled": 1 } }, "podsleuth": { "100": { "checksum": "", "enabled": 1 } }, "policykit": { "100": { "checksum": "", "enabled": 1 } }, "polipo": { "100": { "checksum": "", "enabled": 1 } }, "portmap": { "100": { "checksum": "", "enabled": 1 } }, "portreserve": { "100": { "checksum": "", "enabled": 1 } }, "postfix": { "100": { "checksum": "", "enabled": 1 } }, "postgresql": { "100": { "checksum": "", "enabled": 1 } }, "postgrey": { "100": { "checksum": "", "enabled": 1 } }, "ppp": { "100": { "checksum": "", "enabled": 1 } }, "prelink": { "100": { "checksum": "", "enabled": 1 } }, "prelude": { "100": { "checksum": "", "enabled": 1 } }, "privoxy": { "100": { "checksum": "", "enabled": 1 } }, "procmail": { "100": { "checksum": "", "enabled": 1 } }, "prosody": { "100": { "checksum": "", "enabled": 1 } }, "psad": { "100": { "checksum": "", "enabled": 1 } }, "ptchown": { "100": { "checksum": "", "enabled": 1 } }, "publicfile": { "100": { "checksum": "", "enabled": 1 } }, "pulseaudio": { "100": { "checksum": "", "enabled": 1 } }, "puppet": { "100": { "checksum": "", "enabled": 1 } }, "pwauth": { "100": { "checksum": "", "enabled": 1 } }, "qmail": { "100": { "checksum": "", "enabled": 1 } }, "qpid": { "100": { "checksum": "", "enabled": 1 } }, "quantum": { "100": { "checksum": "", "enabled": 1 } }, "quota": { "100": { "checksum": "", "enabled": 1 } }, "rabbitmq": { "100": { "checksum": "", "enabled": 1 } }, "radius": { "100": { "checksum": "", "enabled": 1 } }, "radvd": { "100": { "checksum": "", "enabled": 1 } }, "raid": { "100": { "checksum": "", "enabled": 1 } }, "rasdaemon": { "100": { "checksum": "", "enabled": 1 } }, "rdisc": { "100": { "checksum": "", "enabled": 1 } }, "readahead": { "100": { "checksum": "", "enabled": 1 } }, "realmd": { "100": { "checksum": "", "enabled": 1 } }, "redis": { "100": { "checksum": "", "enabled": 1 } }, "remotelogin": { "100": { "checksum": "", "enabled": 1 } }, "restraint": { "400": { "checksum": "", "enabled": 1 } }, "rhcs": { "100": { "checksum": "", "enabled": 1 } }, "rhev": { "100": { "checksum": "", "enabled": 1 } }, "rhgb": { "100": { "checksum": "", "enabled": 1 } }, "rhnsd": { "100": { "checksum": "", "enabled": 1 } }, "rhsmcertd": { "100": { "checksum": "", "enabled": 1 } }, "rhts": { "400": { "checksum": "", "enabled": 1 } }, "ricci": { "100": { "checksum": "", "enabled": 1 } }, "rkhunter": { "100": { "checksum": "", "enabled": 1 } }, "rlogin": { "100": { "checksum": "", "enabled": 1 } }, "rngd": { "100": { "checksum": "", "enabled": 1 } }, "roundup": { "100": { "checksum": "", "enabled": 1 } }, "rpc": { "100": { "checksum": "", "enabled": 1 } }, "rpcbind": { "100": { "checksum": "", "enabled": 1 } }, "rpm": { "100": { "checksum": "", "enabled": 1 } }, "rshd": { "100": { "checksum": "", "enabled": 1 } }, "rssh": { "100": { "checksum": "", "enabled": 1 } }, "rsync": { "100": { "checksum": "", "enabled": 1 } }, "rtas": { "100": { "checksum": "", "enabled": 1 } }, "rtkit": { "100": { "checksum": "", "enabled": 1 } }, "rwho": { "100": { "checksum": "", "enabled": 1 } }, "samba": { "100": { "checksum": "", "enabled": 1 } }, "sambagui": { "100": { "checksum": "", "enabled": 1 } }, "sandboxX": { "100": { "checksum": "", "enabled": 1 } }, "sanlock": { "100": { "checksum": "", "enabled": 1 } }, "sasl": { "100": { "checksum": "", "enabled": 1 } }, "sbd": { "100": { "checksum": "", "enabled": 1 } }, "sblim": { "100": { "checksum": "", "enabled": 1 } }, "screen": { "100": { "checksum": "", "enabled": 1 } }, "secadm": { "100": { "checksum": "", "enabled": 1 } }, "sectoolm": { "100": { "checksum": "", "enabled": 1 } }, "selinuxutil": { "100": { "checksum": "", "enabled": 1 } }, "sendmail": { "100": { "checksum": "", "enabled": 1 } }, "sensord": { "100": { "checksum": "", "enabled": 1 } }, "setrans": { "100": { "checksum": "", "enabled": 1 } }, "setroubleshoot": { "100": { "checksum": "", "enabled": 1 } }, "seunshare": { "100": { "checksum": "", "enabled": 1 } }, "sge": { "100": { "checksum": "", "enabled": 1 } }, "shorewall": { "100": { "checksum": "", "enabled": 1 } }, "slocate": { "100": { "checksum": "", "enabled": 1 } }, "slpd": { "100": { "checksum": "", "enabled": 1 } }, "smartmon": { "100": { "checksum": "", "enabled": 1 } }, "smokeping": { "100": { "checksum": "", "enabled": 1 } }, "smoltclient": { "100": { "checksum": "", "enabled": 1 } }, "smsd": { "100": { "checksum": "", "enabled": 1 } }, "snapper": { "100": { "checksum": "", "enabled": 1 } }, "snmp": { "100": { "checksum": "", "enabled": 1 } }, "snort": { "100": { "checksum": "", "enabled": 1 } }, "sosreport": { "100": { "checksum": "", "enabled": 1 } }, "soundserver": { "100": { "checksum": "", "enabled": 1 } }, "spamassassin": { "100": { "checksum": "", "enabled": 1 } }, "speech-dispatcher": { "100": { "checksum": "", "enabled": 1 } }, "squid": { "100": { "checksum": "", "enabled": 1 } }, "ssh": { "100": { "checksum": "", "enabled": 1 } }, "sssd": { "100": { "checksum": "", "enabled": 1 } }, "staff": { "100": { "checksum": "", "enabled": 1 } }, "stapserver": { "100": { "checksum": "", "enabled": 1 } }, "stunnel": { "100": { "checksum": "", "enabled": 1 } }, "su": { "100": { "checksum": "", "enabled": 1 } }, "sudo": { "100": { "checksum": "", "enabled": 1 } }, "svnserve": { "100": { "checksum": "", "enabled": 1 } }, "swift": { "100": { "checksum": "", "enabled": 1 } }, "sysadm": { "100": { "checksum": "", "enabled": 1 } }, "sysadm_secadm": { "100": { "checksum": "", "enabled": 1 } }, "sysnetwork": { "100": { "checksum": "", "enabled": 1 } }, "sysstat": { "100": { "checksum": "", "enabled": 1 } }, "systemd": { "100": { "checksum": "", "enabled": 1 } }, "tangd": { "100": { "checksum": "", "enabled": 1 } }, "targetd": { "100": { "checksum": "", "enabled": 1 } }, "tcpd": { "100": { "checksum": "", "enabled": 1 } }, "tcsd": { "100": { "checksum": "", "enabled": 1 } }, "telepathy": { "100": { "checksum": "", "enabled": 1 } }, "telnet": { "100": { "checksum": "", "enabled": 1 } }, "tftp": { "100": { "checksum": "", "enabled": 1 } }, "tgtd": { "100": { "checksum": "", "enabled": 1 } }, "thin": { "100": { "checksum": "", "enabled": 1 } }, "thumb": { "100": { "checksum": "", "enabled": 1 } }, "tlp": { "100": { "checksum": "", "enabled": 1 } }, "tmpreaper": { "100": { "checksum": "", "enabled": 1 } }, "tomcat": { "100": { "checksum": "", "enabled": 1 } }, "tor": { "100": { "checksum": "", "enabled": 1 } }, "tuned": { "100": { "checksum": "", "enabled": 1 } }, "tvtime": { "100": { "checksum": "", "enabled": 1 } }, "udev": { "100": { "checksum": "", "enabled": 1 } }, "ulogd": { "100": { "checksum": "", "enabled": 1 } }, "uml": { "100": { "checksum": "", "enabled": 1 } }, "unconfined": { "100": { "checksum": "", "enabled": 1 } }, "unconfineduser": { "100": { "checksum": "", "enabled": 1 } }, "unlabelednet": { "100": { "checksum": "", "enabled": 1 } }, "unprivuser": { "100": { "checksum": "", "enabled": 1 } }, "updfstab": { "100": { "checksum": "", "enabled": 1 } }, "usbmodules": { "100": { "checksum": "", "enabled": 1 } }, "usbmuxd": { "100": { "checksum": "", "enabled": 1 } }, "userdomain": { "100": { "checksum": "", "enabled": 1 } }, "userhelper": { "100": { "checksum": "", "enabled": 1 } }, "usermanage": { "100": { "checksum": "", "enabled": 1 } }, "usernetctl": { "100": { "checksum": "", "enabled": 1 } }, "uucp": { "100": { "checksum": "", "enabled": 1 } }, "uuidd": { "100": { "checksum": "", "enabled": 1 } }, "varnishd": { "100": { "checksum": "", "enabled": 1 } }, "vdagent": { "100": { "checksum": "", "enabled": 1 } }, "vhostmd": { "100": { "checksum": "", "enabled": 1 } }, "virt": { "100": { "checksum": "", "enabled": 1 } }, "vlock": { "100": { "checksum": "", "enabled": 1 } }, "vmtools": { "100": { "checksum": "", "enabled": 1 } }, "vmware": { "100": { "checksum": "", "enabled": 1 } }, "vnstatd": { "100": { "checksum": "", "enabled": 1 } }, "vpn": { "100": { "checksum": "", "enabled": 1 } }, "w3c": { "100": { "checksum": "", "enabled": 1 } }, "watchdog": { "100": { "checksum": "", "enabled": 1 } }, "wdmd": { "100": { "checksum": "", "enabled": 1 } }, "webadm": { "100": { "checksum": "", "enabled": 1 } }, "webalizer": { "100": { "checksum": "", "enabled": 1 } }, "wine": { "100": { "checksum": "", "enabled": 1 } }, "wireshark": { "100": { "checksum": "", "enabled": 1 } }, "xen": { "100": { "checksum": "", "enabled": 1 } }, "xguest": { "100": { "checksum": "", "enabled": 1 } }, "xserver": { "100": { "checksum": "", "enabled": 1 } }, "zabbix": { "100": { "checksum": "", "enabled": 1 } }, "zarafa": { "100": { "checksum": "", "enabled": 1 } }, "zebra": { "100": { "checksum": "", "enabled": 1 } }, "zoneminder": { "100": { "checksum": "", "enabled": 1 } }, "zosremote": { "100": { "checksum": "", "enabled": 1 } } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** Thursday 25 July 2024 07:33:41 -0400 (0:00:03.022) 0:04:30.182 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** Thursday 25 July 2024 07:33:41 -0400 (0:00:00.096) 0:04:30.279 ********* TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** Thursday 25 July 2024 07:33:41 -0400 (0:00:00.092) 0:04:30.372 ********* TASK [Leave realm] ************************************************************* Thursday 25 July 2024 07:33:42 -0400 (0:00:00.091) 0:04:30.463 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ Thursday 25 July 2024 07:33:42 -0400 (0:00:00.122) 0:04:30.586 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** Thursday 25 July 2024 07:33:42 -0400 (0:00:00.118) 0:04:30.705 ********* ok: [managed_node1] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* Thursday 25 July 2024 07:33:42 -0400 (0:00:00.639) 0:04:31.344 ********* changed: [managed_node1] => { "changed": true, "changes": { "removed": [ "mssql-server", "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "adutil is not installed", "mssql-server-fts is not installed", "mssql-server-ha is not installed", "powershell is not installed", "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3465.1-1 will be erased\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be erased\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n--> Finding unneeded leftover dependencies\n---> Marking msodbcsql17 to be removed - no longer needed by mssql-tools\n---> Marking unixODBC to be removed - no longer needed by unixODBC-devel\n---> Marking cyrus-sasl to be removed - no longer needed by mssql-server\n---> Marking gdb to be removed - no longer needed by mssql-server\n---> Marking libatomic to be removed - no longer needed by mssql-server\n---> Marking libsss_nss_idmap to be removed - no longer needed by mssql-server\n---> Marking bzip2 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl-gssapi to be removed - no longer needed by mssql-server\n---> Marking libtool-ltdl to be removed - no longer needed by unixODBC\nFound and removing 9 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package msodbcsql17.x86_64 0:17.10.6.1-1 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 14.0.3465.1-1 @packages-microsoft-com-mssql-server-2017\n 1.0 G\n mssql-tools x86_64 17.10.1.1-1 @packages-microsoft-com-prod 714 k\n unixODBC-devel x86_64 2.3.11-1.rh @packages-microsoft-com-prod 223 k\nRemoving for dependencies:\n bzip2 x86_64 1.0.6-13.el7 @base 82 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 @updates 141 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 @updates 36 k\n gdb x86_64 7.6.1-120.el7 @base 7.0 M\n libatomic x86_64 4.8.5-44.el7 @base 26 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 @updates 82 k\n libtool-ltdl x86_64 2.4.2-22.el7_3 @base 66 k\n msodbcsql17 x86_64 17.10.6.1-1 @packages-microsoft-com-prod 2.2 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+9 Dependent packages)\n\nInstalled size: 1.0 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-14.0.3465.1-1.x86_64 1/12 \n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 2/12 \n Erasing : mssql-tools-17.10.1.1-1.x86_64 3/12 \n Erasing : msodbcsql17-17.10.6.1-1.x86_64 4/12 \nODBC Driver 17 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-2.3.11-1.rh.x86_64 5/12 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 6/12 \n Erasing : libatomic-4.8.5-44.el7.x86_64 7/12 \n Erasing : bzip2-1.0.6-13.el7.x86_64 8/12 \n Erasing : gdb-7.6.1-120.el7.x86_64 9/12 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 10/12 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 12/12 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/12 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 2/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 3/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 4/12 \n Verifying : msodbcsql17-17.10.6.1-1.x86_64 5/12 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 6/12 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 7/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 8/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 9/12 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 10/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 12/12 \n\nRemoved:\n mssql-server.x86_64 0:14.0.3465.1-1 mssql-tools.x86_64 0:17.10.1.1-1 \n unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Removed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 \n msodbcsql17.x86_64 0:17.10.6.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** Thursday 25 July 2024 07:33:45 -0400 (0:00:03.080) 0:04:34.424 ********* [WARNING]: Consider using the file module with state=absent rather than running 'rm'. If you need to use command because file is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. changed: [managed_node1] => { "changed": true, "cmd": "rm -rfv /var/opt/mssql* /opt/mssql* /var/log/pacemaker/pacemaker.log /etc/yum.repos.d/packages-microsoft-com-* /tmp/*.j2 /tmp/mssql_data /tmp/mssql_log /etc/systemd/system/multi-user.target.wants/mssql-server.service", "delta": "0:00:00.007352", "end": "2024-07-25 07:33:46.275512", "rc": 0, "start": "2024-07-25 07:33:46.268160" } STDOUT: removed ‘/var/opt/mssql/mssql.conf’ removed ‘/var/opt/mssql/data/model.mdf’ removed ‘/var/opt/mssql/data/templog.ldf’ removed ‘/var/opt/mssql/data/tempdb.mdf’ removed ‘/var/opt/mssql/data/msdbdata.mdf’ removed ‘/var/opt/mssql/data/modellog.ldf’ removed ‘/var/opt/mssql/data/msdblog.ldf’ removed ‘/var/opt/mssql/data/mastlog.ldf’ removed ‘/var/opt/mssql/data/master.mdf’ removed directory: ‘/var/opt/mssql/data’ removed ‘/var/opt/mssql/secrets/machine-key’ removed directory: ‘/var/opt/mssql/secrets’ removed ‘/var/opt/mssql/.system/system/lsa.hiv’ removed directory: ‘/var/opt/mssql/.system/system/Temp’ removed ‘/var/opt/mssql/.system/system/licensing.hiv’ removed ‘/var/opt/mssql/.system/system/lsasetup.log’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/6f4d71d6-1c48-423b-a716-99854f9932dc’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles/Scm’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles’ removed directory: ‘/var/opt/mssql/.system/system/system32’ removed ‘/var/opt/mssql/.system/system/security.hiv’ removed ‘/var/opt/mssql/.system/system/debug/PASSWD.LOG’ removed directory: ‘/var/opt/mssql/.system/system/debug’ removed directory: ‘/var/opt/mssql/.system/system’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Temp’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/LocalLow’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-4155180016-2051542369-1341827829-500/42e7704ae40b0d75de00736cc66b813a_16ff3057-91c4-431c-be1e-ca718bd59015’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-4155180016-2051542369-1341827829-500’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-4155180016-2051542369-1341827829-500/ac457600-b9f8-4ed6-a6a9-1f926e7f0652’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-4155180016-2051542369-1341827829-500/Preferred’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-4155180016-2051542369-1341827829-500’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/CREDHIST’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Desktop’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Documents’ removed directory: ‘/var/opt/mssql/.system/profiles/Client’ removed directory: ‘/var/opt/mssql/.system/profiles’ removed ‘/var/opt/mssql/.system/instance_id’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft’ removed directory: ‘/var/opt/mssql/.system/programdata’ removed directory: ‘/var/opt/mssql/.system’ removed ‘/var/opt/mssql/log/errorlog.8’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663806057910000.xel’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663807274300000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133663807278410000.xel’ removed ‘/var/opt/mssql/log/log_4.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663806941790000.xel’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/log_6.trc’ removed ‘/var/opt/mssql/log/system_health_0_133663806020270000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663806271760000.xel’ removed ‘/var/opt/mssql/log/errorlog’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/system_health_0_133663806274940000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663808090130000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663807729950000.xel’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/log_5.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663806012360000.xel’ removed ‘/var/opt/mssql/log/errorlog.4’ removed ‘/var/opt/mssql/log/errorlog.2’ removed ‘/var/opt/mssql/log/system_health_0_133663808093630000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663806603590000.xel’ removed ‘/var/opt/mssql/log/errorlog.7’ removed ‘/var/opt/mssql/log/system_health_0_133663806607280000.xel’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/system_health_0_133663807733520000.xel’ removed ‘/var/opt/mssql/log/log_7.trc’ removed ‘/var/opt/mssql/log/system_health_0_133663806062280000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133663806945410000.xel’ removed directory: ‘/var/opt/mssql/log’ removed directory: ‘/var/opt/mssql’ removed directory: ‘/opt/mssql’ removed directory: ‘/opt/mssql-tools’ removed ‘/etc/yum.repos.d/packages-microsoft-com-mssql-server-2017.repo’ removed ‘/etc/yum.repos.d/packages-microsoft-com-prod.repo’ removed ‘/etc/systemd/system/multi-user.target.wants/mssql-server.service’ TASK [Stop the mssql-server service] ******************************************* Thursday 25 July 2024 07:33:46 -0400 (0:00:00.428) 0:04:34.853 ********* ok: [managed_node1] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.998536", "end": "2024-07-25 07:33:47.655559", "rc": 0, "start": "2024-07-25 07:33:46.657023" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** Thursday 25 July 2024 07:33:47 -0400 (0:00:01.304) 0:04:36.158 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.840363", "end": "2024-07-25 07:33:49.869463", "rc": 0, "start": "2024-07-25 07:33:48.029100" } PLAY RECAP ********************************************************************* managed_node1 : ok=388 changed=62 unreachable=0 failed=0 skipped=868 rescued=0 ignored=0 Thursday 25 July 2024 07:33:49 -0400 (0:00:02.224) 0:04:38.383 ********* =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 32.73s fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 8.28s fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 4.57s fedora.linux_system_roles.certificate : Ensure certificate role dependencies are installed --- 3.42s fedora.linux_system_roles.certificate : Ensure provider packages are installed --- 3.28s Remove related packages ------------------------------------------------- 3.08s fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 3.02s fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.22s Gather package facts ---------------------------------------------------- 1.72s Wait for mssql-server to prepare for client connections ----------------- 1.56s Wait for mssql-server to prepare for client connections ----------------- 1.52s Wait for mssql-server to prepare for client connections ----------------- 1.50s Wait for mssql-server to prepare for client connections ----------------- 1.48s fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.41s Wait for mssql-server to prepare for client connections ----------------- 1.36s fedora.linux_system_roles.mssql : Get the setting network forceencryption --- 1.34s Disable TLS encryption -------------------------------------------------- 1.31s Stop the mssql-server service ------------------------------------------- 1.30s fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.28s fedora.linux_system_roles.mssql : Restart the mssql-server service ------ 1.27s