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:47:49 -0400 (0:00:00.025) 0:00:00.025 ********* ok: [managed_node1] TASK [Run tests_tls with SQL Server 2019] ************************************** Thursday 25 July 2024 07:47:50 -0400 (0:00:00.902) 0:00:00.927 ********* 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:47:50 -0400 (0:00:00.095) 0:00:01.022 ********* 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:47:50 -0400 (0:00:00.035) 0:00:01.058 ********* ok: [managed_node1] TASK [Run the role] ************************************************************ Thursday 25 July 2024 07:47:51 -0400 (0:00:00.363) 0:00:01.421 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** Thursday 25 July 2024 07:47:51 -0400 (0:00:00.022) 0:00:01.444 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure the openssl package] ********************************************** Thursday 25 July 2024 07:47:51 -0400 (0:00:00.042) 0:00:01.486 ********* 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:47:51 -0400 (0:00:00.675) 0:00:02.162 ********* changed: [managed_node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.tCuW6n", "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:47:52 -0400 (0:00:00.358) 0:00:02.520 ********* changed: [managed_node1] => { "changed": true, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/ansible.DiOmFO", "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:47:52 -0400 (0:00:00.270) 0:00:02.790 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "openssl", "req", "-x509", "-nodes", "-newkey", "rsa:2048", "-subj", "/CN=10.31.45.245", "-out", "/tmp/ansible.tCuW6n", "-keyout", "/tmp/ansible.DiOmFO", "-days", "365" ], "delta": "0:00:00.205917", "end": "2024-07-25 07:47:53.053056", "rc": 0, "start": "2024-07-25 07:47:52.847139" } STDERR: Generating a 2048 bit RSA private key .............................................................................................................................+++ ................................................+++ writing new private key to '/tmp/ansible.DiOmFO' ----- TASK [Copy certificate files to local tmp] ************************************* Thursday 25 July 2024 07:47:53 -0400 (0:00:00.563) 0:00:03.354 ********* changed: [managed_node1] => (item=/tmp/ansible.tCuW6n) => { "ansible_loop_var": "item", "changed": true, "checksum": "39f5681b5a6da3d9e863a3acf8ade2cb52491c9c", "dest": "/tmp/ansible.tCuW6n", "item": "/tmp/ansible.tCuW6n", "md5sum": "767954b1199375b44ec3ffa3cf09f6e2", "remote_checksum": "39f5681b5a6da3d9e863a3acf8ade2cb52491c9c", "remote_md5sum": null } changed: [managed_node1] => (item=/tmp/ansible.DiOmFO) => { "ansible_loop_var": "item", "changed": true, "checksum": "a3860223c315aa6d7902b8e41670e758ac7f746f", "dest": "/tmp/ansible.DiOmFO", "item": "/tmp/ansible.DiOmFO", "md5sum": "2ff47038209e17135bb1b8dd3f8d3291", "remote_checksum": "a3860223c315aa6d7902b8e41670e758ac7f746f", "remote_md5sum": null } TASK [Copy a private key to the playbook directory to test a relative path] **** Thursday 25 July 2024 07:47:53 -0400 (0:00:00.715) 0:00:04.069 ********* changed: [managed_node1 -> localhost] => { "changed": true, "checksum": "a3860223c315aa6d7902b8e41670e758ac7f746f", "dest": "./ansible.DiOmFO", "gid": 0, "group": "root", "md5sum": "2ff47038209e17135bb1b8dd3f8d3291", "mode": "0600", "owner": "root", "secontext": "unconfined_u:object_r:admin_home_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1721908073.84-5956-116200953325809/source", "state": "file", "uid": 0 } TASK [Set mssql_tls_cert and mssql_tls_private_key for the following test] ***** Thursday 25 July 2024 07:47:54 -0400 (0:00:00.391) 0:00:04.460 ********* ok: [managed_node1] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.tCuW6n", "mssql_tls_private_key": "ansible.DiOmFO" }, "changed": false } TASK [Run role] **************************************************************** Thursday 25 July 2024 07:47:54 -0400 (0:00:00.023) 0:00:04.484 ********* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** Thursday 25 July 2024 07:47:54 -0400 (0:00:00.295) 0:00:04.780 ********* 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:47:54 -0400 (0:00:00.027) 0:00:04.807 ********* 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:47:54 -0400 (0:00:00.024) 0:00:04.832 ********* 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:47:54 -0400 (0:00:00.052) 0:00:04.884 ********* 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:47:54 -0400 (0:00:00.022) 0:00:04.906 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Thursday 25 July 2024 07:47:54 -0400 (0:00:00.019) 0:00:04.926 ********* 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:47:54 -0400 (0:00:00.019) 0:00:04.948 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** Thursday 25 July 2024 07:47:54 -0400 (0:00:00.020) 0:00:04.968 ********* 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:47:54 -0400 (0:00:00.019) 0:00:04.988 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** Thursday 25 July 2024 07:47:54 -0400 (0:00:00.021) 0:00:05.010 ********* 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:47:54 -0400 (0:00:00.021) 0:00:05.032 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** Thursday 25 July 2024 07:47:54 -0400 (0:00:00.022) 0:00:05.054 ********* 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:47:54 -0400 (0:00:00.023) 0:00:05.078 ********* 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:47:54 -0400 (0:00:00.077) 0:00:05.156 ********* 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:47:54 -0400 (0:00:00.020) 0:00:05.176 ********* 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:47:54 -0400 (0:00:00.021) 0:00:05.197 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** Thursday 25 July 2024 07:47:54 -0400 (0:00:00.020) 0:00:05.217 ********* 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:47:54 -0400 (0:00:00.022) 0:00:05.240 ********* 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:47:55 -0400 (0:00:00.025) 0:00:05.265 ********* 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:47:55 -0400 (0:00:00.020) 0:00:05.286 ********* 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:47:56 -0400 (0:00:01.394) 0:00:06.680 ********* 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:47:56 -0400 (0:00:00.104) 0:00:06.785 ********* 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:47:56 -0400 (0:00:00.056) 0:00:06.841 ********* 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:47:56 -0400 (0:00:00.057) 0:00:06.899 ********* 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:47:56 -0400 (0:00:00.091) 0:00:06.991 ********* 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:47:57 -0400 (0:00:00.645) 0:00:07.636 ********* 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:47:57 -0400 (0:00:00.054) 0:00:07.690 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** Thursday 25 July 2024 07:47:57 -0400 (0:00:00.056) 0:00:07.746 ********* 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:47:57 -0400 (0:00:00.097) 0:00:07.844 ********* 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:47:57 -0400 (0:00:00.055) 0:00:07.899 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** Thursday 25 July 2024 07:47:57 -0400 (0:00:00.059) 0:00:07.959 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** Thursday 25 July 2024 07:47:57 -0400 (0:00:00.055) 0:00:08.014 ********* changed: [managed_node1] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** Thursday 25 July 2024 07:47:58 -0400 (0:00:00.440) 0:00:08.455 ********* 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:47:58 -0400 (0:00:00.053) 0:00:08.508 ********* 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:47:58 -0400 (0:00:00.565) 0:00:09.073 ********* 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:15.0.4375.4-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: python3 for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: lsof for package: mssql-server-15.0.4375.4-1.x86_64\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be installed\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be installed\n---> Package lsof.x86_64 0:4.87-6.el7 will be installed\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be installed\n--> Processing Dependency: python3-libs(x86-64) = 3.6.8-21.el7_9 for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-setuptools for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-pip for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: libpython3.6m.so.1.0()(64bit) for package: python3-3.6.8-21.el7_9.x86_64\n--> Running transaction check\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be installed\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be installed\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 15.0.4375.4-1 packages-microsoft-com-mssql-server-2019\n 229 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 base 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 updates 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 updates 41 k\n gdb x86_64 7.6.1-120.el7 base 2.4 M\n libatomic x86_64 4.8.5-44.el7 base 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 updates 170 k\n lsof x86_64 4.87-6.el7 base 331 k\n python3 x86_64 3.6.8-21.el7_9 updates 71 k\n python3-libs x86_64 3.6.8-21.el7_9 updates 7.0 M\n python3-pip noarch 9.0.3-8.el7 base 1.6 M\n python3-setuptools noarch 39.2.0-10.el7 base 629 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+11 Dependent packages)\n\nTotal size: 241 M\nInstalled size: 1.2 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python3-libs-3.6.8-21.el7_9.x86_64 1/12 \n Installing : python3-setuptools-39.2.0-10.el7.noarch 2/12 \n Installing : python3-pip-9.0.3-8.el7.noarch 3/12 \n Installing : python3-3.6.8-21.el7_9.x86_64 4/12 \n Installing : libatomic-4.8.5-44.el7.x86_64 5/12 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/12 \n Installing : gdb-7.6.1-120.el7.x86_64 7/12 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 8/12 \n Installing : lsof-4.87-6.el7.x86_64 9/12 \n Installing : bzip2-1.0.6-13.el7.x86_64 10/12 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 11/12 \n Installing : mssql-server-15.0.4375.4-1.x86_64 12/12 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\n Verifying : python3-3.6.8-21.el7_9.x86_64 1/12 \n Verifying : mssql-server-15.0.4375.4-1.x86_64 2/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 3/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 4/12 \n Verifying : lsof-4.87-6.el7.x86_64 5/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 6/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 7/12 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 8/12 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 9/12 \n Verifying : python3-pip-9.0.3-8.el7.noarch 10/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 12/12 \n\nInstalled:\n mssql-server.x86_64 0:15.0.4375.4-1 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n lsof.x86_64 0:4.87-6.el7 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n\nComplete!\n" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** Thursday 25 July 2024 07:48:39 -0400 (0:00:40.414) 0:00:49.488 ********* 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:48:39 -0400 (0:00:00.055) 0:00:49.543 ********* 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.005628", "end": "2024-07-25 07:48:39.536504", "rc": 0, "start": "2024-07-25 07:48:39.530876" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** Thursday 25 July 2024 07:48:39 -0400 (0:00:00.332) 0:00:49.876 ********* 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:48:40 -0400 (0:00:00.984) 0:00:50.860 ********* 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:48:40 -0400 (0:00:00.085) 0:00:50.946 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** Thursday 25 July 2024 07:48:40 -0400 (0:00:00.071) 0:00:51.018 ********* 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:48:46 -0400 (0:00:05.694) 0:00:56.713 ********* 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:48:46 -0400 (0:00:00.120) 0:00:56.833 ********* 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:48:46 -0400 (0:00:00.065) 0:00:56.899 ********* 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:48:46 -0400 (0:00:00.062) 0:00:56.961 ********* 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:48:47 -0400 (0:00:00.742) 0:00:57.703 ********* 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": "network.target basic.target systemd-journald.socket systemd-sysctl.service system.slice 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": "polkit.service system.slice 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:48:48 -0400 (0:00:00.960) 0:00:58.664 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.134908", "end": "2024-07-25 07:48:48.851030", "rc": 0, "start": "2024-07-25 07:48:48.716122" } 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:48:48 -0400 (0:00:00.537) 0:00:59.201 ********* 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:48:49 -0400 (0:00:00.063) 0:00:59.264 ********* 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:48:49 -0400 (0:00:00.063) 0:00:59.328 ********* 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:48:49 -0400 (0:00:00.063) 0:00:59.391 ********* 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:48:49 -0400 (0:00:00.674) 0:01:00.065 ********* 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:48:49 -0400 (0:00:00.061) 0:01:00.126 ********* 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:48:54 -0400 (0:00:05.032) 0:01:05.159 ********* 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:48:54 -0400 (0:00:00.062) 0:01:05.221 ********* 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:48:55 -0400 (0:00:00.065) 0:01:05.287 ********* 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:48:55 -0400 (0:00:00.062) 0:01:05.349 ********* 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:48:55 -0400 (0:00:00.064) 0:01:05.414 ********* 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:48:55 -0400 (0:00:00.064) 0:01:05.478 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** Thursday 25 July 2024 07:48:55 -0400 (0:00:00.103) 0:01:05.581 ********* 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:48:55 -0400 (0:00:00.062) 0:01:05.644 ********* 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:48:55 -0400 (0:00:00.061) 0:01:05.705 ********* 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:48:55 -0400 (0:00:00.062) 0:01:05.768 ********* 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:48:55 -0400 (0:00:00.061) 0:01:05.829 ********* 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:48:55 -0400 (0:00:00.063) 0:01:05.892 ********* 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:48:55 -0400 (0:00:00.060) 0:01:05.953 ********* 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:48:55 -0400 (0:00:00.061) 0:01:06.015 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** Thursday 25 July 2024 07:48:55 -0400 (0:00:00.063) 0:01:06.079 ********* 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:48:55 -0400 (0:00:00.062) 0:01:06.141 ********* 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:48:55 -0400 (0:00:00.110) 0:01:06.252 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003354", "end": "2024-07-25 07:48:56.259720", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:48:56.256366" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** Thursday 25 July 2024 07:48:56 -0400 (0:00:00.348) 0:01:06.601 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.117827", "end": "2024-07-25 07:48:56.710397", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:48:56.592570" } 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:48:56 -0400 (0:00:00.464) 0:01:07.065 ********* 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:48:56 -0400 (0:00:00.063) 0:01:07.129 ********* 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:48:56 -0400 (0:00:00.063) 0:01:07.193 ********* 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:48:57 -0400 (0:00:00.120) 0:01:07.313 ********* 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:48:57 -0400 (0:00:00.062) 0:01:07.375 ********* 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:48:57 -0400 (0:00:00.065) 0:01:07.440 ********* 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:48:57 -0400 (0:00:00.062) 0:01:07.503 ********* 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:48:57 -0400 (0:00:00.064) 0:01:07.568 ********* 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:48:57 -0400 (0:00:00.064) 0:01:07.632 ********* 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:48:57 -0400 (0:00:00.062) 0:01:07.694 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** Thursday 25 July 2024 07:48:57 -0400 (0:00:00.063) 0:01:07.758 ********* 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:48:57 -0400 (0:00:00.066) 0:01:07.824 ********* 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:48:57 -0400 (0:00:00.069) 0:01:07.894 ********* changed: [managed_node1] => (item=/tmp/ansible.tCuW6n) => { "ansible_loop_var": "item", "changed": true, "checksum": "39f5681b5a6da3d9e863a3acf8ade2cb52491c9c", "dest": "/etc/pki/tls/certs/ansible.tCuW6n", "gid": 994, "group": "mssql", "item": "/tmp/ansible.tCuW6n", "md5sum": "767954b1199375b44ec3ffa3cf09f6e2", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1103, "src": "/root/.ansible/tmp/ansible-tmp-1721908137.7-6261-13780447600661/source", "state": "file", "uid": 996 } changed: [managed_node1] => (item=ansible.DiOmFO) => { "ansible_loop_var": "item", "changed": true, "checksum": "a3860223c315aa6d7902b8e41670e758ac7f746f", "dest": "/etc/pki/tls/private/ansible.DiOmFO", "gid": 994, "group": "mssql", "item": "ansible.DiOmFO", "md5sum": "2ff47038209e17135bb1b8dd3f8d3291", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/root/.ansible/tmp/ansible-tmp-1721908138.25-6261-59379603720005/source", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* Thursday 25 July 2024 07:48:58 -0400 (0:00:01.174) 0:01:09.069 ********* 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:48:58 -0400 (0:00:00.117) 0:01:09.186 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003347", "end": "2024-07-25 07:48:59.183838", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:48:59.180491" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** Thursday 25 July 2024 07:48:59 -0400 (0:00:00.340) 0:01:09.527 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/ansible.tCuW6n" ], "delta": "0:00:00.118860", "end": "2024-07-25 07:48:59.656336", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:48:59.537476" } 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:48:59 -0400 (0:00:00.478) 0:01:10.006 ********* 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:48:59 -0400 (0:00:00.067) 0:01:10.073 ********* 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:48:59 -0400 (0:00:00.125) 0:01:10.199 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003161", "end": "2024-07-25 07:49:00.265189", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:49:00.262028" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** Thursday 25 July 2024 07:49:00 -0400 (0:00:00.409) 0:01:10.609 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.DiOmFO" ], "delta": "0:00:00.118965", "end": "2024-07-25 07:49:00.740834", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:49:00.621869" } 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:49:00 -0400 (0:00:00.492) 0:01:11.101 ********* 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:49:00 -0400 (0:00:00.066) 0:01:11.168 ********* 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:49:01 -0400 (0:00:00.123) 0:01:11.292 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003365", "end": "2024-07-25 07:49:01.288246", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:49:01.284881" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** Thursday 25 July 2024 07:49:01 -0400 (0:00:00.342) 0:01:11.634 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.120189", "end": "2024-07-25 07:49:01.764789", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:49:01.644600" } 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:49:01 -0400 (0:00:00.482) 0:01:12.117 ********* 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:49:01 -0400 (0:00:00.066) 0:01:12.183 ********* 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:49:02 -0400 (0:00:00.182) 0:01:12.365 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003177", "end": "2024-07-25 07:49:02.362884", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:49:02.359707" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** Thursday 25 July 2024 07:49:02 -0400 (0:00:00.341) 0:01:12.707 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.118964", "end": "2024-07-25 07:49:02.820830", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:49:02.701866" } 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:49:02 -0400 (0:00:00.464) 0:01:13.172 ********* 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:49:02 -0400 (0:00:00.067) 0:01:13.239 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** Thursday 25 July 2024 07:49:03 -0400 (0:00:00.063) 0:01:13.303 ********* 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:49:03 -0400 (0:00:00.065) 0:01:13.368 ********* 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:49:03 -0400 (0:00:00.064) 0:01:13.432 ********* 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:49:03 -0400 (0:00:00.067) 0:01:13.500 ********* 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:49:03 -0400 (0:00:00.069) 0:01:13.570 ********* 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:49:03 -0400 (0:00:00.064) 0:01:13.634 ********* 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:49:03 -0400 (0:00:00.066) 0:01:13.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 : Get SPNs for the principal] ************ Thursday 25 July 2024 07:49:03 -0400 (0:00:00.067) 0:01:13.768 ********* 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:49:03 -0400 (0:00:00.065) 0:01:13.833 ********* 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:49:03 -0400 (0:00:00.066) 0:01:13.900 ********* 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:49:03 -0400 (0:00:00.063) 0:01:13.964 ********* 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:49:03 -0400 (0:00:00.125) 0:01:14.089 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* Thursday 25 July 2024 07:49:03 -0400 (0:00:00.063) 0:01:14.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 : Add an entry in the keytab for the principal name and password] *** Thursday 25 July 2024 07:49:03 -0400 (0:00:00.066) 0:01:14.219 ********* 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:49:04 -0400 (0:00:00.063) 0:01:14.282 ********* 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:49:04 -0400 (0:00:00.066) 0:01:14.349 ********* 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:49:04 -0400 (0:00:00.066) 0:01:14.415 ********* 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:49:04 -0400 (0:00:00.063) 0:01:14.479 ********* 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:49:04 -0400 (0:00:00.069) 0:01:14.548 ********* 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:49:04 -0400 (0:00:00.064) 0:01:14.613 ********* 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:49:04 -0400 (0:00:00.065) 0:01:14.679 ********* 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:49:04 -0400 (0:00:00.067) 0:01:14.746 ********* 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:49:04 -0400 (0:00:00.064) 0:01:14.811 ********* 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:49:04 -0400 (0:00:00.064) 0:01:14.875 ********* 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:49:04 -0400 (0:00:00.063) 0:01:14.938 ********* 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:49:04 -0400 (0:00:00.066) 0:01:15.005 ********* 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:49:04 -0400 (0:00:00.072) 0:01:15.078 ********* 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:49:04 -0400 (0:00:00.064) 0:01:15.142 ********* 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:49:04 -0400 (0:00:00.066) 0:01:15.209 ********* 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:49:05 -0400 (0:00:00.081) 0:01:15.290 ********* 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:49:05 -0400 (0:00:00.123) 0:01:15.413 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** Thursday 25 July 2024 07:49:05 -0400 (0:00:00.062) 0:01:15.476 ********* 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:49:05 -0400 (0:00:00.065) 0:01:15.541 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* Thursday 25 July 2024 07:49:05 -0400 (0:00:00.063) 0:01:15.604 ********* 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:49:05 -0400 (0:00:00.063) 0:01:15.668 ********* 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:49:05 -0400 (0:00:00.065) 0:01:15.733 ********* 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:49:05 -0400 (0:00:00.065) 0:01:15.799 ********* 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:49:05 -0400 (0:00:00.063) 0:01:15.863 ********* 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:49:05 -0400 (0:00:00.065) 0:01:15.928 ********* 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:49:05 -0400 (0:00:00.064) 0:01:15.993 ********* 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:49:05 -0400 (0:00:00.065) 0:01:16.058 ********* 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:49:05 -0400 (0:00:00.077) 0:01:16.136 ********* 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:49:05 -0400 (0:00:00.065) 0:01:16.202 ********* 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:49:06 -0400 (0:00:00.062) 0:01:16.265 ********* 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:49:06 -0400 (0:00:00.066) 0:01:16.331 ********* 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:49:06 -0400 (0:00:00.063) 0:01:16.394 ********* 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:49:06 -0400 (0:00:00.074) 0:01:16.469 ********* 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:49:06 -0400 (0:00:00.064) 0:01:16.533 ********* 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:49:06 -0400 (0:00:00.063) 0:01:16.596 ********* 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:49:06 -0400 (0:00:00.122) 0:01:16.719 ********* 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:49:06 -0400 (0:00:00.065) 0:01:16.784 ********* 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:49:07 -0400 (0:00:00.511) 0:01:17.296 ********* changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:48:46 EDT", "ActiveEnterTimestampMonotonic": "2474550141", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network.target systemd-journald.socket -.mount system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:48:46 EDT", "AssertTimestampMonotonic": "2474548903", "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:48:46 EDT", "ConditionTimestampMonotonic": "2474548902", "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": "2184", "ExecMainStartTimestamp": "Thu 2024-07-25 07:48:46 EDT", "ExecMainStartTimestampMonotonic": "2474549629", "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:48:46 EDT", "InactiveExitTimestampMonotonic": "2474550141", "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": "2184", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount basic.target system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 07:48:46 EDT", "WatchdogTimestampMonotonic": "2474550118", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:49:08 -0400 (0:00:01.189) 0:01:18.485 ********* 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:49:08 -0400 (0:00:00.062) 0:01:18.548 ********* 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:49:08 -0400 (0:00:00.064) 0:01:18.612 ********* changed: [managed_node1 -> localhost] => { "changed": true, "path": "ansible.DiOmFO", "state": "absent" } TASK [Configure the mssql-server service start limit interval and burst] ******* Thursday 25 July 2024 07:49:08 -0400 (0:00:00.365) 0:01:18.978 ********* 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:49:08 -0400 (0:00:00.113) 0:01:19.092 ********* changed: [managed_node1] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** Thursday 25 July 2024 07:49:09 -0400 (0:00:00.633) 0:01:19.726 ********* changed: [managed_node1] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** Thursday 25 July 2024 07:49:10 -0400 (0:00:00.590) 0:01:20.316 ********* ok: [managed_node1] => { "changed": false, "name": null, "status": {} } TASK [Verify connectivity and settings] **************************************** Thursday 25 July 2024 07:49:10 -0400 (0:00:00.716) 0:01:21.032 ********* 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:49:10 -0400 (0:00:00.136) 0:01:21.169 ********* 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:49:10 -0400 (0:00:00.064) 0:01:21.233 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* Thursday 25 July 2024 07:49:11 -0400 (0:00:00.063) 0:01:21.297 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** Thursday 25 July 2024 07:49:11 -0400 (0:00:00.062) 0:01:21.360 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** Thursday 25 July 2024 07:49:11 -0400 (0:00:00.065) 0:01:21.425 ********* 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:49:11 -0400 (0:00:00.062) 0:01:21.488 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ Thursday 25 July 2024 07:49:11 -0400 (0:00:00.062) 0:01:21.550 ********* 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:49:11 -0400 (0:00:00.065) 0:01:21.615 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** Thursday 25 July 2024 07:49:11 -0400 (0:00:00.061) 0:01:21.677 ********* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** Thursday 25 July 2024 07:49:11 -0400 (0:00:00.124) 0:01:21.802 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:49:08 EDT", "ActiveEnterTimestampMonotonic": "2496475127", "ActiveExitTimestamp": "Thu 2024-07-25 07:49:07 EDT", "ActiveExitTimestampMonotonic": "2495792945", "ActiveState": "active", "After": "basic.target -.mount auditd.service network.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:49:08 EDT", "AssertTimestampMonotonic": "2496474506", "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:49:08 EDT", "ConditionTimestampMonotonic": "2496474504", "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": "3435", "ExecMainStartTimestamp": "Thu 2024-07-25 07:49:08 EDT", "ExecMainStartTimestampMonotonic": "2496475067", "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:49:08 EDT", "InactiveEnterTimestampMonotonic": "2496472321", "InactiveExitTimestamp": "Thu 2024-07-25 07:49:08 EDT", "InactiveExitTimestampMonotonic": "2496475127", "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": "3435", "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:49:08 EDT", "WatchdogTimestampMonotonic": "2496475107", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** Thursday 25 July 2024 07:49:12 -0400 (0:00:00.813) 0:01:22.616 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005578", "end": "2024-07-25 07:49:12.682586", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:49:12.677008" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** Thursday 25 July 2024 07:49:12 -0400 (0:00:00.411) 0:01:23.027 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002987", "end": "2024-07-25 07:49:13.020228", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:49:13.017241" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* Thursday 25 July 2024 07:49:13 -0400 (0:00:00.335) 0:01:23.363 ********* 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:49:13 -0400 (0:00:00.080) 0:01:23.444 ********* 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": 7352, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** Thursday 25 July 2024 07:49:14 -0400 (0:00:01.506) 0:01:24.950 ********* 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.030699", "end": "2024-07-25 07:49:14.979999", "rc": 0, "start": "2024-07-25 07:49:14.949300" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU27) (KB5037331) - 15.0.4375.4 (X64) Jun 10 2024 18:00:07 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* Thursday 25 July 2024 07:49:15 -0400 (0:00:00.387) 0:01:25.338 ********* ok: [managed_node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* Thursday 25 July 2024 07:49:15 -0400 (0:00:00.069) 0:01:25.408 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* Thursday 25 July 2024 07:49:15 -0400 (0:00:00.065) 0:01:25.473 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** Thursday 25 July 2024 07:49:15 -0400 (0:00:00.109) 0:01:25.583 ********* 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:49:15 -0400 (0:00:00.066) 0:01:25.650 ********* 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:49:15 -0400 (0:00:00.064) 0:01:25.715 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** Thursday 25 July 2024 07:49:15 -0400 (0:00:00.065) 0:01:25.780 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** Thursday 25 July 2024 07:49:15 -0400 (0:00:00.064) 0:01:25.845 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** Thursday 25 July 2024 07:49:15 -0400 (0:00:00.064) 0:01:25.910 ********* 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:49:15 -0400 (0:00:00.119) 0:01:26.030 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004095", "end": "2024-07-25 07:49:16.024619", "rc": 0, "start": "2024-07-25 07:49:16.020524" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.tCuW6n TASK [Verify the setting when it is type str tlscert] ************************** Thursday 25 July 2024 07:49:16 -0400 (0:00:00.340) 0:01:26.370 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* Thursday 25 July 2024 07:49:16 -0400 (0:00:00.081) 0:01:26.452 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.tCuW6n] ***************** Thursday 25 July 2024 07:49:16 -0400 (0:00:00.072) 0:01:26.524 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** Thursday 25 July 2024 07:49:16 -0400 (0:00:00.066) 0:01:26.590 ********* 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:49:16 -0400 (0:00:00.121) 0:01:26.712 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004130", "end": "2024-07-25 07:49:16.714519", "rc": 0, "start": "2024-07-25 07:49:16.710389" } STDOUT: tlskey = /etc/pki/tls/private/ansible.DiOmFO TASK [Verify the setting when it is type str tlskey] *************************** Thursday 25 July 2024 07:49:16 -0400 (0:00:00.347) 0:01:27.059 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** Thursday 25 July 2024 07:49:16 -0400 (0:00:00.082) 0:01:27.142 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.DiOmFO] *************** Thursday 25 July 2024 07:49:16 -0400 (0:00:00.076) 0:01:27.218 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** Thursday 25 July 2024 07:49:17 -0400 (0:00:00.126) 0:01:27.345 ********* 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:49:17 -0400 (0:00:00.125) 0:01:27.470 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004130", "end": "2024-07-25 07:49:17.470246", "rc": 0, "start": "2024-07-25 07:49:17.466116" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* Thursday 25 July 2024 07:49:17 -0400 (0:00:00.345) 0:01:27.816 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** Thursday 25 July 2024 07:49:17 -0400 (0:00:00.077) 0:01:27.894 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** Thursday 25 July 2024 07:49:17 -0400 (0:00:00.072) 0:01:27.967 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** Thursday 25 July 2024 07:49:17 -0400 (0:00:00.063) 0:01:28.030 ********* 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:49:17 -0400 (0:00:00.127) 0:01:28.158 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004057", "end": "2024-07-25 07:49:18.162778", "rc": 0, "start": "2024-07-25 07:49:18.158721" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** Thursday 25 July 2024 07:49:18 -0400 (0:00:00.349) 0:01:28.508 ********* 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:49:18 -0400 (0:00:00.067) 0:01:28.576 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** Thursday 25 July 2024 07:49:18 -0400 (0:00:00.086) 0:01:28.662 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** Thursday 25 July 2024 07:49:18 -0400 (0:00:00.066) 0:01:28.728 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** Thursday 25 July 2024 07:49:18 -0400 (0:00:00.064) 0:01:28.793 ********* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** Thursday 25 July 2024 07:49:18 -0400 (0:00:00.380) 0:01:29.173 ********* 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:49:19 -0400 (0:00:00.109) 0:01:29.283 ********* 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:49:19 -0400 (0:00:00.081) 0:01:29.364 ********* 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:49:19 -0400 (0:00:00.104) 0:01:29.469 ********* 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:49:19 -0400 (0:00:00.065) 0:01:29.534 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Thursday 25 July 2024 07:49:19 -0400 (0:00:00.063) 0:01:29.598 ********* 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:49:19 -0400 (0:00:00.065) 0:01:29.663 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** Thursday 25 July 2024 07:49:19 -0400 (0:00:00.065) 0:01:29.729 ********* 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:49:19 -0400 (0:00:00.066) 0:01:29.796 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** Thursday 25 July 2024 07:49:19 -0400 (0:00:00.064) 0:01:29.860 ********* 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:49:19 -0400 (0:00:00.065) 0:01:29.926 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** Thursday 25 July 2024 07:49:19 -0400 (0:00:00.065) 0:01:29.991 ********* 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:49:19 -0400 (0:00:00.064) 0:01:30.056 ********* 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:49:19 -0400 (0:00:00.074) 0:01:30.131 ********* 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:49:19 -0400 (0:00:00.063) 0:01:30.194 ********* 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:49:20 -0400 (0:00:00.128) 0:01:30.323 ********* 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:49:20 -0400 (0:00:00.067) 0:01:30.390 ********* 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:49:20 -0400 (0:00:00.066) 0:01:30.457 ********* 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:49:20 -0400 (0:00:00.069) 0:01:30.526 ********* 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:49:20 -0400 (0:00:00.063) 0:01:30.590 ********* 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:49:21 -0400 (0:00:01.198) 0:01:31.789 ********* skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** Thursday 25 July 2024 07:49:21 -0400 (0:00:00.181) 0:01:31.970 ********* 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:49:21 -0400 (0:00:00.067) 0:01:32.038 ********* 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:49:21 -0400 (0:00:00.071) 0:01:32.110 ********* 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:49:21 -0400 (0:00:00.128) 0:01:32.239 ********* ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** Thursday 25 July 2024 07:49:22 -0400 (0:00:00.542) 0:01:32.781 ********* 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:49:22 -0400 (0:00:00.070) 0:01:32.852 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** Thursday 25 July 2024 07:49:22 -0400 (0:00:00.072) 0:01:32.925 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** Thursday 25 July 2024 07:49:22 -0400 (0:00:00.069) 0:01:32.994 ********* 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:49:22 -0400 (0:00:00.070) 0:01:33.065 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** Thursday 25 July 2024 07:49:22 -0400 (0:00:00.073) 0:01:33.139 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** Thursday 25 July 2024 07:49:22 -0400 (0:00:00.072) 0:01:33.211 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** Thursday 25 July 2024 07:49:23 -0400 (0:00:00.089) 0:01:33.301 ********* 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:49:23 -0400 (0:00:00.067) 0:01:33.369 ********* 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:49:23 -0400 (0:00:00.596) 0:01:33.966 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** Thursday 25 July 2024 07:49:24 -0400 (0:00:00.565) 0:01:34.531 ********* 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:49:24 -0400 (0:00:00.065) 0:01:34.597 ********* 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.005431", "end": "2024-07-25 07:49:24.593440", "rc": 0, "start": "2024-07-25 07:49:24.588009" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** Thursday 25 July 2024 07:49:24 -0400 (0:00:00.342) 0:01:34.940 ********* 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:49:25 -0400 (0:00:01.001) 0:01:35.941 ********* 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:49:25 -0400 (0:00:00.093) 0:01:36.035 ********* 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:49:25 -0400 (0:00:00.068) 0:01:36.104 ********* 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:49:25 -0400 (0:00:00.065) 0:01:36.170 ********* 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:49:26 -0400 (0:00:00.083) 0:01:36.254 ********* 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:49:26 -0400 (0:00:00.065) 0:01:36.320 ********* 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:49:26 -0400 (0:00:00.072) 0:01:36.392 ********* 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:49:26 -0400 (0:00:00.553) 0:01:36.946 ********* 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": "systemd-sysctl.service basic.target dbus.service systemd-journald.socket network.target system.slice", "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": "polkit.service basic.target 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:49:27 -0400 (0:00:00.446) 0:01:37.392 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.085727", "end": "2024-07-25 07:49:27.477427", "rc": 0, "start": "2024-07-25 07:49:27.391700" } 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:49:27 -0400 (0:00:00.427) 0:01:37.820 ********* 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:49:27 -0400 (0:00:00.132) 0:01:37.953 ********* 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:49:27 -0400 (0:00:00.072) 0:01:38.025 ********* 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:49:27 -0400 (0:00:00.069) 0:01:38.095 ********* 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:49:28 -0400 (0:00:00.355) 0:01:38.451 ********* 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:49:28 -0400 (0:00:00.068) 0:01:38.520 ********* 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:49:28 -0400 (0:00:00.565) 0:01:39.085 ********* 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:49:28 -0400 (0:00:00.069) 0:01:39.154 ********* 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:49:28 -0400 (0:00:00.071) 0:01:39.226 ********* 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:49:29 -0400 (0:00:00.068) 0:01:39.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:49:29 -0400 (0:00:00.070) 0:01:39.365 ********* 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:49:29 -0400 (0:00:00.072) 0:01:39.437 ********* 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:49:29 -0400 (0:00:00.072) 0:01:39.509 ********* 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:49:29 -0400 (0:00:00.067) 0:01:39.577 ********* 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:49:29 -0400 (0:00:00.066) 0:01:39.643 ********* 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.004828", "end": "2024-07-25 07:49:29.640925", "rc": 0, "start": "2024-07-25 07:49:29.636097" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** Thursday 25 July 2024 07:49:29 -0400 (0:00:00.341) 0:01:39.984 ********* 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:49:29 -0400 (0:00:00.136) 0:01:40.121 ********* 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:49:31 -0400 (0:00:01.204) 0:01:41.325 ********* 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:49:31 -0400 (0:00:00.072) 0:01:41.398 ********* 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:49:31 -0400 (0:00:00.067) 0:01:41.466 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** Thursday 25 July 2024 07:49:31 -0400 (0:00:00.068) 0:01:41.535 ********* 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:49:31 -0400 (0:00:00.073) 0:01:41.608 ********* 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:49:31 -0400 (0:00:00.120) 0:01:41.729 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003026", "end": "2024-07-25 07:49:31.730601", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:49:31.727575" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** Thursday 25 July 2024 07:49:31 -0400 (0:00:00.350) 0:01:42.079 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.118340", "end": "2024-07-25 07:49:32.199388", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:49:32.081048" } 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:49:32 -0400 (0:00:00.488) 0:01:42.568 ********* 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:49:32 -0400 (0:00:00.070) 0:01:42.638 ********* 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:49:32 -0400 (0:00:00.065) 0:01:42.704 ********* 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:49:32 -0400 (0:00:00.070) 0:01:42.774 ********* 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:49:32 -0400 (0:00:00.071) 0:01:42.846 ********* 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:49:32 -0400 (0:00:00.067) 0:01:42.913 ********* 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:49:32 -0400 (0:00:00.068) 0:01:42.982 ********* 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:49:32 -0400 (0:00:00.068) 0:01:43.050 ********* 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:49:32 -0400 (0:00:00.068) 0:01:43.118 ********* 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:49:32 -0400 (0:00:00.067) 0:01:43.186 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** Thursday 25 July 2024 07:49:33 -0400 (0:00:00.069) 0:01:43.255 ********* 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:49:33 -0400 (0:00:00.070) 0:01:43.326 ********* 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:49:33 -0400 (0:00:00.068) 0:01:43.394 ********* skipping: [managed_node1] => (item=/tmp/ansible.tCuW6n) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.tCuW6n", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ansible.DiOmFO) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.DiOmFO", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* Thursday 25 July 2024 07:49:33 -0400 (0:00:00.089) 0:01:43.484 ********* 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:49:33 -0400 (0:00:00.124) 0:01:43.608 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003096", "end": "2024-07-25 07:49:33.602956", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:49:33.599860" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.tCuW6n TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** Thursday 25 July 2024 07:49:33 -0400 (0:00:00.341) 0:01:43.950 ********* 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:49:33 -0400 (0:00:00.142) 0:01:44.093 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.116812", "end": "2024-07-25 07:49:34.214518", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:49:34.097706" } 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:49:34 -0400 (0:00:00.472) 0:01:44.565 ********* 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:49:34 -0400 (0:00:00.129) 0:01:44.695 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003086", "end": "2024-07-25 07:49:34.694017", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:49:34.690931" } STDOUT: tlskey = /etc/pki/tls/private/ansible.DiOmFO TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** Thursday 25 July 2024 07:49:34 -0400 (0:00:00.350) 0:01:45.045 ********* 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:49:34 -0400 (0:00:00.076) 0:01:45.122 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.116713", "end": "2024-07-25 07:49:35.245171", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:49:35.128458" } 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:49:35 -0400 (0:00:00.471) 0:01:45.593 ********* 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:49:35 -0400 (0:00:00.127) 0:01:45.721 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003231", "end": "2024-07-25 07:49:35.733096", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:49:35.729865" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** Thursday 25 July 2024 07:49:35 -0400 (0:00:00.362) 0:01:46.084 ********* 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:49:35 -0400 (0:00:00.076) 0:01:46.160 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.117410", "end": "2024-07-25 07:49:36.278943", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:49:36.161533" } 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:49:36 -0400 (0:00:00.471) 0:01:46.632 ********* 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:49:36 -0400 (0:00:00.202) 0:01:46.834 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003296", "end": "2024-07-25 07:49:36.831795", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:49:36.828499" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** Thursday 25 July 2024 07:49:36 -0400 (0:00:00.343) 0:01:47.177 ********* 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:49:37 -0400 (0:00:00.076) 0:01:47.254 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.117576", "end": "2024-07-25 07:49:37.369573", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:49:37.251997" } 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:49:37 -0400 (0:00:00.468) 0:01:47.722 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** Thursday 25 July 2024 07:49:37 -0400 (0:00:00.067) 0:01:47.789 ********* 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:49:37 -0400 (0:00:00.066) 0:01:47.856 ********* 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:49:37 -0400 (0:00:00.067) 0:01:47.924 ********* 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:49:37 -0400 (0:00:00.069) 0:01:47.994 ********* 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:49:37 -0400 (0:00:00.070) 0:01:48.064 ********* 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:49:37 -0400 (0:00:00.068) 0:01:48.133 ********* 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:49:37 -0400 (0:00:00.069) 0:01:48.202 ********* 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:49:38 -0400 (0:00:00.072) 0:01:48.275 ********* 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:49:38 -0400 (0:00:00.068) 0:01:48.344 ********* 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:49:38 -0400 (0:00:00.068) 0:01:48.412 ********* 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:49:38 -0400 (0:00:00.067) 0:01:48.480 ********* 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:49:38 -0400 (0:00:00.132) 0:01:48.613 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* Thursday 25 July 2024 07:49:38 -0400 (0:00:00.066) 0:01:48.680 ********* 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:49:38 -0400 (0:00:00.072) 0:01:48.752 ********* 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:49:38 -0400 (0:00:00.068) 0:01:48.821 ********* 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:49:38 -0400 (0:00:00.067) 0:01:48.888 ********* 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:49:38 -0400 (0:00:00.068) 0:01:48.957 ********* 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:49:38 -0400 (0:00:00.067) 0:01:49.025 ********* 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:49:38 -0400 (0:00:00.068) 0:01:49.093 ********* 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:49:38 -0400 (0:00:00.066) 0:01:49.160 ********* 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:49:38 -0400 (0:00:00.070) 0:01:49.230 ********* 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:49:39 -0400 (0:00:00.071) 0:01:49.302 ********* 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:49:39 -0400 (0:00:00.065) 0:01:49.367 ********* 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:49:39 -0400 (0:00:00.069) 0:01:49.437 ********* 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:49:39 -0400 (0:00:00.067) 0:01:49.504 ********* 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:49:39 -0400 (0:00:00.066) 0:01:49.571 ********* 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:49:39 -0400 (0:00:00.081) 0:01:49.652 ********* 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:49:39 -0400 (0:00:00.065) 0:01:49.718 ********* 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:49:39 -0400 (0:00:00.068) 0:01:49.786 ********* 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:49:39 -0400 (0:00:00.079) 0:01:49.866 ********* 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:49:39 -0400 (0:00:00.132) 0:01:49.999 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** Thursday 25 July 2024 07:49:39 -0400 (0:00:00.071) 0:01:50.070 ********* 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:49:39 -0400 (0:00:00.064) 0:01:50.135 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* Thursday 25 July 2024 07:49:39 -0400 (0:00:00.069) 0:01:50.204 ********* 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:49:40 -0400 (0:00:00.066) 0:01:50.271 ********* 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:49:40 -0400 (0:00:00.067) 0:01:50.338 ********* 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:49:40 -0400 (0:00:00.068) 0:01:50.406 ********* 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:49:40 -0400 (0:00:00.066) 0:01:50.473 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** Thursday 25 July 2024 07:49:40 -0400 (0:00:00.066) 0:01:50.539 ********* 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:49:40 -0400 (0:00:00.065) 0:01:50.604 ********* 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:49:40 -0400 (0:00:00.071) 0:01:50.675 ********* 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:49:40 -0400 (0:00:00.078) 0:01:50.754 ********* 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:49:40 -0400 (0:00:00.066) 0:01:50.821 ********* 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:49:40 -0400 (0:00:00.068) 0:01:50.889 ********* 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:49:40 -0400 (0:00:00.064) 0:01:50.954 ********* 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:49:40 -0400 (0:00:00.069) 0:01:51.023 ********* 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:49:40 -0400 (0:00:00.076) 0:01:51.100 ********* 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:49:40 -0400 (0:00:00.066) 0:01:51.167 ********* 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:49:40 -0400 (0:00:00.068) 0:01:51.235 ********* 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:49:41 -0400 (0:00:00.129) 0:01:51.364 ********* 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:49:41 -0400 (0:00:00.067) 0:01:51.432 ********* 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:49:41 -0400 (0:00:00.439) 0:01:51.872 ********* changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:49:08 EDT", "ActiveEnterTimestampMonotonic": "2496475127", "ActiveExitTimestamp": "Thu 2024-07-25 07:49:07 EDT", "ActiveExitTimestampMonotonic": "2495792945", "ActiveState": "active", "After": "basic.target -.mount auditd.service network.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:49:08 EDT", "AssertTimestampMonotonic": "2496474506", "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:49:08 EDT", "ConditionTimestampMonotonic": "2496474504", "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": "3435", "ExecMainStartTimestamp": "Thu 2024-07-25 07:49:08 EDT", "ExecMainStartTimestampMonotonic": "2496475067", "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:49:08 EDT", "InactiveEnterTimestampMonotonic": "2496472321", "InactiveExitTimestamp": "Thu 2024-07-25 07:49:08 EDT", "InactiveExitTimestampMonotonic": "2496475127", "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": "3435", "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:49:08 EDT", "WatchdogTimestampMonotonic": "2496475107", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:49:42 -0400 (0:00:00.753) 0:01:52.625 ********* 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:49:42 -0400 (0:00:00.068) 0:01:52.693 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** Thursday 25 July 2024 07:49:42 -0400 (0:00:00.063) 0:01:52.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:49:42 -0400 (0:00:00.240) 0:01:52.998 ********* 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:49:42 -0400 (0:00:00.062) 0:01:53.061 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* Thursday 25 July 2024 07:49:42 -0400 (0:00:00.069) 0:01:53.130 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** Thursday 25 July 2024 07:49:42 -0400 (0:00:00.064) 0:01:53.195 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** Thursday 25 July 2024 07:49:43 -0400 (0:00:00.067) 0:01:53.262 ********* 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:49:43 -0400 (0:00:00.067) 0:01:53.329 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ Thursday 25 July 2024 07:49:43 -0400 (0:00:00.124) 0:01:53.454 ********* 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:49:43 -0400 (0:00:00.068) 0:01:53.523 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** Thursday 25 July 2024 07:49:43 -0400 (0:00:00.063) 0:01:53.587 ********* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** Thursday 25 July 2024 07:49:43 -0400 (0:00:00.121) 0:01:53.708 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:49:42 EDT", "ActiveEnterTimestampMonotonic": "2530609736", "ActiveExitTimestamp": "Thu 2024-07-25 07:49:42 EDT", "ActiveExitTimestampMonotonic": "2530361019", "ActiveState": "active", "After": "basic.target -.mount auditd.service network.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:49:42 EDT", "AssertTimestampMonotonic": "2530608422", "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:49:42 EDT", "ConditionTimestampMonotonic": "2530608421", "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": "5646", "ExecMainStartTimestamp": "Thu 2024-07-25 07:49:42 EDT", "ExecMainStartTimestampMonotonic": "2530609668", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:49:42 EDT] ; stop_time=[n/a] ; pid=5646 ; 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:49:42 EDT", "InactiveEnterTimestampMonotonic": "2530606102", "InactiveExitTimestamp": "Thu 2024-07-25 07:49:42 EDT", "InactiveExitTimestampMonotonic": "2530609736", "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": "5646", "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:49:42 EDT", "WatchdogTimestampMonotonic": "2530609713", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** Thursday 25 July 2024 07:49:44 -0400 (0:00:00.578) 0:01:54.287 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003895", "end": "2024-07-25 07:49:44.418450", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:49:44.414555" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** Thursday 25 July 2024 07:49:44 -0400 (0:00:00.504) 0:01:54.792 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.006221", "end": "2024-07-25 07:49:44.856210", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:49:44.849989" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* Thursday 25 July 2024 07:49:44 -0400 (0:00:00.423) 0:01:55.215 ********* 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:49:45 -0400 (0:00:00.085) 0:01:55.300 ********* 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": 7262, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** Thursday 25 July 2024 07:49:46 -0400 (0:00:01.595) 0:01:56.896 ********* 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.031507", "end": "2024-07-25 07:49:46.931552", "rc": 0, "start": "2024-07-25 07:49:46.900045" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU27) (KB5037331) - 15.0.4375.4 (X64) Jun 10 2024 18:00:07 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* Thursday 25 July 2024 07:49:47 -0400 (0:00:00.389) 0:01:57.285 ********* ok: [managed_node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* Thursday 25 July 2024 07:49:47 -0400 (0:00:00.072) 0:01:57.358 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* Thursday 25 July 2024 07:49:47 -0400 (0:00:00.069) 0:01:57.427 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** Thursday 25 July 2024 07:49:47 -0400 (0:00:00.067) 0:01:57.494 ********* 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:49:47 -0400 (0:00:00.067) 0:01:57.561 ********* 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:49:47 -0400 (0:00:00.070) 0:01:57.632 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** Thursday 25 July 2024 07:49:47 -0400 (0:00:00.066) 0:01:57.698 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** Thursday 25 July 2024 07:49:47 -0400 (0:00:00.066) 0:01:57.764 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** Thursday 25 July 2024 07:49:47 -0400 (0:00:00.065) 0:01:57.830 ********* 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:49:47 -0400 (0:00:00.120) 0:01:57.951 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004118", "end": "2024-07-25 07:49:47.947904", "rc": 0, "start": "2024-07-25 07:49:47.943786" } TASK [Verify the setting when it is type str tlscert] ************************** Thursday 25 July 2024 07:49:48 -0400 (0:00:00.346) 0:01:58.297 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* Thursday 25 July 2024 07:49:48 -0400 (0:00:00.082) 0:01:58.380 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** Thursday 25 July 2024 07:49:48 -0400 (0:00:00.074) 0:01:58.454 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** Thursday 25 July 2024 07:49:48 -0400 (0:00:00.065) 0:01:58.520 ********* 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:49:48 -0400 (0:00:00.185) 0:01:58.706 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004156", "end": "2024-07-25 07:49:48.701152", "rc": 0, "start": "2024-07-25 07:49:48.696996" } TASK [Verify the setting when it is type str tlskey] *************************** Thursday 25 July 2024 07:49:48 -0400 (0:00:00.341) 0:01:59.047 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** Thursday 25 July 2024 07:49:48 -0400 (0:00:00.085) 0:01:59.133 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** Thursday 25 July 2024 07:49:48 -0400 (0:00:00.072) 0:01:59.205 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** Thursday 25 July 2024 07:49:49 -0400 (0:00:00.067) 0:01:59.273 ********* 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:49:49 -0400 (0:00:00.122) 0:01:59.396 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004065", "end": "2024-07-25 07:49:49.389964", "rc": 0, "start": "2024-07-25 07:49:49.385899" } TASK [Verify the setting when it is type str tlsprotocols] ********************* Thursday 25 July 2024 07:49:49 -0400 (0:00:00.343) 0:01:59.739 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** Thursday 25 July 2024 07:49:49 -0400 (0:00:00.081) 0:01:59.820 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** Thursday 25 July 2024 07:49:49 -0400 (0:00:00.066) 0:01:59.887 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** Thursday 25 July 2024 07:49:49 -0400 (0:00:00.067) 0:01:59.954 ********* 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:49:49 -0400 (0:00:00.124) 0:02:00.079 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004184", "end": "2024-07-25 07:49:50.073502", "rc": 0, "start": "2024-07-25 07:49:50.069318" } TASK [Verify the setting when it is type str forceencryption] ****************** Thursday 25 July 2024 07:49:50 -0400 (0:00:00.340) 0:02:00.419 ********* 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:49:50 -0400 (0:00:00.128) 0:02:00.547 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* Thursday 25 July 2024 07:49:50 -0400 (0:00:00.088) 0:02:00.636 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** Thursday 25 July 2024 07:49:50 -0400 (0:00:00.067) 0:02:00.704 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove certificates from hosts] ****************************************** Thursday 25 July 2024 07:49:50 -0400 (0:00:00.067) 0:02:00.771 ********* changed: [managed_node1] => (item=/etc/pki/tls/certs/ansible.tCuW6n) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/certs/ansible.tCuW6n", "path": "/etc/pki/tls/certs/ansible.tCuW6n", "state": "absent" } changed: [managed_node1] => (item=/etc/pki/tls/private/ansible.DiOmFO) => { "ansible_loop_var": "item", "changed": true, "item": "/etc/pki/tls/private/ansible.DiOmFO", "path": "/etc/pki/tls/private/ansible.DiOmFO", "state": "absent" } TASK [Copy certificates to hosts] ********************************************** Thursday 25 July 2024 07:49:51 -0400 (0:00:00.644) 0:02:01.416 ********* ok: [managed_node1] => (item=/tmp/ansible.tCuW6n) => { "ansible_loop_var": "item", "changed": false, "checksum": "39f5681b5a6da3d9e863a3acf8ade2cb52491c9c", "dest": "/tmp/ansible.tCuW6n", "gid": 0, "group": "root", "item": "/tmp/ansible.tCuW6n", "mode": "0600", "owner": "root", "path": "/tmp/ansible.tCuW6n", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1103, "state": "file", "uid": 0 } ok: [managed_node1] => (item=/tmp/ansible.DiOmFO) => { "ansible_loop_var": "item", "changed": false, "checksum": "a3860223c315aa6d7902b8e41670e758ac7f746f", "dest": "/tmp/ansible.DiOmFO", "gid": 0, "group": "root", "item": "/tmp/ansible.DiOmFO", "mode": "0600", "owner": "root", "path": "/tmp/ansible.DiOmFO", "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:49:52 -0400 (0:00:01.012) 0:02:02.428 ********* ok: [managed_node1] => { "ansible_facts": { "mssql_tls_cert": "/tmp/ansible.tCuW6n", "mssql_tls_private_key": "ansible.DiOmFO" }, "changed": false } TASK [Test with certs on managed nodes] **************************************** Thursday 25 July 2024 07:49:52 -0400 (0:00:00.070) 0:02:02.499 ********* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** Thursday 25 July 2024 07:49:52 -0400 (0:00:00.623) 0:02:03.122 ********* 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:49:52 -0400 (0:00:00.112) 0:02:03.234 ********* 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:49:53 -0400 (0:00:00.086) 0:02:03.321 ********* 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:49:53 -0400 (0:00:00.104) 0:02:03.426 ********* 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:49:53 -0400 (0:00:00.063) 0:02:03.490 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Thursday 25 July 2024 07:49:53 -0400 (0:00:00.067) 0:02:03.558 ********* 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:49:53 -0400 (0:00:00.065) 0:02:03.623 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** Thursday 25 July 2024 07:49:53 -0400 (0:00:00.069) 0:02:03.692 ********* 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:49:53 -0400 (0:00:00.068) 0:02:03.761 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** Thursday 25 July 2024 07:49:53 -0400 (0:00:00.065) 0:02:03.826 ********* 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:49:53 -0400 (0:00:00.068) 0:02:03.895 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** Thursday 25 July 2024 07:49:53 -0400 (0:00:00.065) 0:02:03.960 ********* 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:49:53 -0400 (0:00:00.067) 0:02:04.028 ********* 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:49:53 -0400 (0:00:00.072) 0:02:04.100 ********* 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:49:53 -0400 (0:00:00.067) 0:02:04.168 ********* 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:49:54 -0400 (0:00:00.144) 0:02:04.313 ********* 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:49:54 -0400 (0:00:00.068) 0:02:04.381 ********* 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:49:54 -0400 (0:00:00.068) 0:02:04.450 ********* 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:49:54 -0400 (0:00:00.069) 0:02:04.519 ********* 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:49:54 -0400 (0:00:00.071) 0:02:04.590 ********* 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:49:55 -0400 (0:00:01.191) 0:02:05.782 ********* skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** Thursday 25 July 2024 07:49:55 -0400 (0:00:00.177) 0:02:05.959 ********* 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:49:55 -0400 (0:00:00.068) 0:02:06.028 ********* 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:49:55 -0400 (0:00:00.071) 0:02:06.100 ********* 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:49:55 -0400 (0:00:00.123) 0:02:06.224 ********* ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** Thursday 25 July 2024 07:49:56 -0400 (0:00:00.534) 0:02:06.759 ********* 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:49:56 -0400 (0:00:00.071) 0:02:06.830 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** Thursday 25 July 2024 07:49:56 -0400 (0:00:00.068) 0:02:06.899 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** Thursday 25 July 2024 07:49:56 -0400 (0:00:00.072) 0:02:06.971 ********* 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:49:56 -0400 (0:00:00.069) 0:02:07.041 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** Thursday 25 July 2024 07:49:56 -0400 (0:00:00.071) 0:02:07.112 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** Thursday 25 July 2024 07:49:56 -0400 (0:00:00.073) 0:02:07.185 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** Thursday 25 July 2024 07:49:57 -0400 (0:00:00.087) 0:02:07.273 ********* 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:49:57 -0400 (0:00:00.066) 0:02:07.340 ********* 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:49:57 -0400 (0:00:00.589) 0:02:07.929 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** Thursday 25 July 2024 07:49:58 -0400 (0:00:00.543) 0:02:08.472 ********* 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:49:58 -0400 (0:00:00.067) 0:02:08.540 ********* 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.007467", "end": "2024-07-25 07:49:58.542041", "rc": 0, "start": "2024-07-25 07:49:58.534574" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** Thursday 25 July 2024 07:49:58 -0400 (0:00:00.346) 0:02:08.886 ********* 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:49:59 -0400 (0:00:00.956) 0:02:09.843 ********* 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:49:59 -0400 (0:00:00.095) 0:02:09.939 ********* 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:49:59 -0400 (0:00:00.068) 0:02:10.007 ********* 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:49:59 -0400 (0:00:00.072) 0:02:10.079 ********* 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:49:59 -0400 (0:00:00.082) 0:02:10.162 ********* 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:49:59 -0400 (0:00:00.075) 0:02:10.238 ********* 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:50:00 -0400 (0:00:00.070) 0:02:10.308 ********* 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:50:00 -0400 (0:00:00.543) 0:02:10.852 ********* 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": "systemd-sysctl.service basic.target dbus.service systemd-journald.socket network.target system.slice", "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": "polkit.service basic.target 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:50:01 -0400 (0:00:00.436) 0:02:11.288 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.085113", "end": "2024-07-25 07:50:01.364487", "rc": 0, "start": "2024-07-25 07:50:01.279374" } 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:50:01 -0400 (0:00:00.429) 0:02:11.718 ********* 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:50:01 -0400 (0:00:00.073) 0:02:11.792 ********* 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:50:01 -0400 (0:00:00.144) 0:02:11.936 ********* 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:50:01 -0400 (0:00:00.074) 0:02:12.010 ********* 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:50:02 -0400 (0:00:00.367) 0:02:12.377 ********* 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:50:02 -0400 (0:00:00.065) 0:02:12.442 ********* 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:50:02 -0400 (0:00:00.592) 0:02:13.035 ********* 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:50:02 -0400 (0:00:00.069) 0:02:13.105 ********* 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:50:02 -0400 (0:00:00.070) 0:02:13.175 ********* 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:50:02 -0400 (0:00:00.069) 0:02:13.245 ********* 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:50:03 -0400 (0:00:00.072) 0:02:13.317 ********* 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:50:03 -0400 (0:00:00.070) 0:02:13.388 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** Thursday 25 July 2024 07:50:03 -0400 (0:00:00.070) 0:02:13.459 ********* 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:50:03 -0400 (0:00:00.064) 0:02:13.523 ********* 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:50:03 -0400 (0:00:00.070) 0:02:13.594 ********* 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.005189", "end": "2024-07-25 07:50:03.587095", "rc": 0, "start": "2024-07-25 07:50:03.581906" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** Thursday 25 July 2024 07:50:03 -0400 (0:00:00.338) 0:02:13.933 ********* 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:50:03 -0400 (0:00:00.151) 0:02:14.084 ********* 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:50:05 -0400 (0:00:01.203) 0:02:15.287 ********* 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:50:05 -0400 (0:00:00.072) 0:02:15.360 ********* 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:50:05 -0400 (0:00:00.068) 0:02:15.428 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** Thursday 25 July 2024 07:50:05 -0400 (0:00:00.070) 0:02:15.499 ********* 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:50:05 -0400 (0:00:00.070) 0:02:15.569 ********* 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:50:05 -0400 (0:00:00.120) 0:02:15.690 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.006896", "end": "2024-07-25 07:50:06.684908", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:50:05.678012" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** Thursday 25 July 2024 07:50:06 -0400 (0:00:01.339) 0:02:17.029 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.118410", "end": "2024-07-25 07:50:07.147032", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:50:07.028622" } 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:50:07 -0400 (0:00:00.479) 0:02:17.509 ********* 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:50:07 -0400 (0:00:00.067) 0:02:17.576 ********* 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:50:07 -0400 (0:00:00.066) 0:02:17.642 ********* 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:50:07 -0400 (0:00:00.070) 0:02:17.713 ********* 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:50:07 -0400 (0:00:00.066) 0:02:17.779 ********* 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:50:07 -0400 (0:00:00.068) 0:02:17.848 ********* 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:50:07 -0400 (0:00:00.066) 0:02:17.914 ********* 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:50:07 -0400 (0:00:00.065) 0:02:17.980 ********* 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:50:07 -0400 (0:00:00.066) 0:02:18.047 ********* 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:50:07 -0400 (0:00:00.065) 0:02:18.112 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** Thursday 25 July 2024 07:50:07 -0400 (0:00:00.065) 0:02:18.178 ********* 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:50:07 -0400 (0:00:00.069) 0:02:18.248 ********* 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:50:08 -0400 (0:00:00.072) 0:02:18.320 ********* changed: [managed_node1] => (item=/tmp/ansible.tCuW6n) => { "ansible_loop_var": "item", "changed": true, "checksum": "39f5681b5a6da3d9e863a3acf8ade2cb52491c9c", "dest": "/etc/pki/tls/certs/ansible.tCuW6n", "gid": 994, "group": "mssql", "item": "/tmp/ansible.tCuW6n", "md5sum": "767954b1199375b44ec3ffa3cf09f6e2", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1103, "src": "/tmp/ansible.tCuW6n", "state": "file", "uid": 996 } changed: [managed_node1] => (item=/tmp/ansible.DiOmFO) => { "ansible_loop_var": "item", "changed": true, "checksum": "a3860223c315aa6d7902b8e41670e758ac7f746f", "dest": "/etc/pki/tls/private/ansible.DiOmFO", "gid": 994, "group": "mssql", "item": "/tmp/ansible.DiOmFO", "md5sum": "2ff47038209e17135bb1b8dd3f8d3291", "mode": "0600", "owner": "mssql", "secontext": "system_u:object_r:cert_t:s0", "size": 1704, "src": "/tmp/ansible.DiOmFO", "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* Thursday 25 July 2024 07:50:08 -0400 (0:00:00.739) 0:02:19.060 ********* 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:50:08 -0400 (0:00:00.124) 0:02:19.185 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003069", "end": "2024-07-25 07:50:09.177756", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:50:09.174687" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** Thursday 25 July 2024 07:50:09 -0400 (0:00:00.337) 0:02:19.523 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlscert", "/etc/pki/tls/certs/ansible.tCuW6n" ], "delta": "0:00:00.116039", "end": "2024-07-25 07:50:09.638936", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:50:09.522897" } 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:50:09 -0400 (0:00:00.472) 0:02:19.995 ********* 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:50:09 -0400 (0:00:00.068) 0:02:20.064 ********* 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:50:09 -0400 (0:00:00.127) 0:02:20.192 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003110", "end": "2024-07-25 07:50:10.182045", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:50:10.178935" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** Thursday 25 July 2024 07:50:10 -0400 (0:00:00.338) 0:02:20.531 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlskey", "/etc/pki/tls/private/ansible.DiOmFO" ], "delta": "0:00:00.118125", "end": "2024-07-25 07:50:10.656017", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:50:10.537892" } 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:50:10 -0400 (0:00:00.479) 0:02:21.010 ********* 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:50:10 -0400 (0:00:00.071) 0:02:21.082 ********* 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:50:10 -0400 (0:00:00.130) 0:02:21.213 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003014", "end": "2024-07-25 07:50:11.213564", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:50:11.210550" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** Thursday 25 July 2024 07:50:11 -0400 (0:00:00.418) 0:02:21.631 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.119029", "end": "2024-07-25 07:50:11.743867", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:50:11.624838" } 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:50:11 -0400 (0:00:00.465) 0:02:22.097 ********* 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:50:11 -0400 (0:00:00.071) 0:02:22.168 ********* 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:50:12 -0400 (0:00:00.130) 0:02:22.299 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003134", "end": "2024-07-25 07:50:12.293741", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:50:12.290607" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** Thursday 25 July 2024 07:50:12 -0400 (0:00:00.339) 0:02:22.638 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.119494", "end": "2024-07-25 07:50:12.759082", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:50:12.639588" } 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:50:12 -0400 (0:00:00.474) 0:02:23.112 ********* 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:50:12 -0400 (0:00:00.069) 0:02:23.182 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** Thursday 25 July 2024 07:50:12 -0400 (0:00:00.068) 0:02:23.250 ********* 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:50:13 -0400 (0:00:00.066) 0:02:23.317 ********* 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:50:13 -0400 (0:00:00.065) 0:02:23.383 ********* 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:50:13 -0400 (0:00:00.069) 0:02:23.452 ********* 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:50:13 -0400 (0:00:00.070) 0:02:23.523 ********* 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:50:13 -0400 (0:00:00.067) 0:02:23.591 ********* 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:50:13 -0400 (0:00:00.144) 0:02:23.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 : Get SPNs for the principal] ************ Thursday 25 July 2024 07:50:13 -0400 (0:00:00.069) 0:02:23.805 ********* 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:50:13 -0400 (0:00:00.069) 0:02:23.874 ********* 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:50:13 -0400 (0:00:00.069) 0:02:23.943 ********* 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:50:13 -0400 (0:00:00.066) 0:02:24.010 ********* 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:50:13 -0400 (0:00:00.068) 0:02:24.079 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* Thursday 25 July 2024 07:50:13 -0400 (0:00:00.068) 0:02:24.148 ********* 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:50:13 -0400 (0:00:00.069) 0:02:24.217 ********* 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:50:14 -0400 (0:00:00.064) 0:02:24.282 ********* 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:50:14 -0400 (0:00:00.066) 0:02:24.349 ********* 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:50:14 -0400 (0:00:00.068) 0:02:24.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:50:14 -0400 (0:00:00.067) 0:02:24.484 ********* 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:50:14 -0400 (0:00:00.067) 0:02:24.552 ********* 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:50:14 -0400 (0:00:00.068) 0:02:24.620 ********* 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:50:14 -0400 (0:00:00.070) 0:02:24.690 ********* 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:50:14 -0400 (0:00:00.068) 0:02:24.759 ********* 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:50:14 -0400 (0:00:00.067) 0:02:24.826 ********* 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:50:14 -0400 (0:00:00.068) 0:02:24.894 ********* 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:50:14 -0400 (0:00:00.066) 0:02:24.961 ********* 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:50:14 -0400 (0:00:00.141) 0:02:25.102 ********* 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:50:14 -0400 (0:00:00.083) 0:02:25.185 ********* 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:50:15 -0400 (0:00:00.071) 0:02:25.257 ********* 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:50:15 -0400 (0:00:00.068) 0:02:25.325 ********* 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:50:15 -0400 (0:00:00.084) 0:02:25.410 ********* 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:50:15 -0400 (0:00:00.067) 0:02:25.478 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** Thursday 25 July 2024 07:50:15 -0400 (0:00:00.065) 0:02:25.544 ********* 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:50:15 -0400 (0:00:00.069) 0:02:25.613 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* Thursday 25 July 2024 07:50:15 -0400 (0:00:00.067) 0:02:25.680 ********* 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:50:15 -0400 (0:00:00.065) 0:02:25.746 ********* 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:50:15 -0400 (0:00:00.068) 0:02:25.815 ********* 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:50:15 -0400 (0:00:00.066) 0:02:25.881 ********* 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:50:15 -0400 (0:00:00.070) 0:02:25.952 ********* 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:50:15 -0400 (0:00:00.066) 0:02:26.019 ********* 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:50:15 -0400 (0:00:00.064) 0:02:26.084 ********* 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:50:15 -0400 (0:00:00.067) 0:02:26.151 ********* 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:50:15 -0400 (0:00:00.082) 0:02:26.233 ********* 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:50:16 -0400 (0:00:00.066) 0:02:26.299 ********* 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:50:16 -0400 (0:00:00.067) 0:02:26.367 ********* 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:50:16 -0400 (0:00:00.140) 0:02:26.508 ********* 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:50:16 -0400 (0:00:00.071) 0:02:26.579 ********* 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:50:16 -0400 (0:00:00.078) 0:02:26.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 [Run ha_cluster to configure pacemaker] *********************************** Thursday 25 July 2024 07:50:16 -0400 (0:00:00.071) 0:02:26.729 ********* 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:50:16 -0400 (0:00:00.068) 0:02:26.798 ********* 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:50:16 -0400 (0:00:00.070) 0:02:26.868 ********* 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:50:16 -0400 (0:00:00.073) 0:02:26.941 ********* 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:50:17 -0400 (0:00:00.434) 0:02:27.376 ********* changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:49:42 EDT", "ActiveEnterTimestampMonotonic": "2530609736", "ActiveExitTimestamp": "Thu 2024-07-25 07:49:42 EDT", "ActiveExitTimestampMonotonic": "2530361019", "ActiveState": "active", "After": "basic.target -.mount auditd.service network.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:49:42 EDT", "AssertTimestampMonotonic": "2530608422", "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:49:42 EDT", "ConditionTimestampMonotonic": "2530608421", "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": "5646", "ExecMainStartTimestamp": "Thu 2024-07-25 07:49:42 EDT", "ExecMainStartTimestampMonotonic": "2530609668", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:49:42 EDT] ; stop_time=[n/a] ; pid=5646 ; 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:49:42 EDT", "InactiveEnterTimestampMonotonic": "2530606102", "InactiveExitTimestamp": "Thu 2024-07-25 07:49:42 EDT", "InactiveExitTimestampMonotonic": "2530609736", "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": "5646", "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:49:42 EDT", "WatchdogTimestampMonotonic": "2530609713", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:50:18 -0400 (0:00:01.222) 0:02:28.599 ********* 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:50:18 -0400 (0:00:00.069) 0:02:28.668 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** Thursday 25 July 2024 07:50:18 -0400 (0:00:00.066) 0:02:28.734 ********* 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:50:18 -0400 (0:00:00.423) 0:02:29.158 ********* 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:50:18 -0400 (0:00:00.066) 0:02:29.225 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* Thursday 25 July 2024 07:50:19 -0400 (0:00:00.070) 0:02:29.295 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** Thursday 25 July 2024 07:50:19 -0400 (0:00:00.066) 0:02:29.362 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** Thursday 25 July 2024 07:50:19 -0400 (0:00:00.074) 0:02:29.436 ********* 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:50:19 -0400 (0:00:00.066) 0:02:29.503 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ Thursday 25 July 2024 07:50:19 -0400 (0:00:00.068) 0:02:29.571 ********* 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:50:19 -0400 (0:00:00.068) 0:02:29.640 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** Thursday 25 July 2024 07:50:19 -0400 (0:00:00.064) 0:02:29.704 ********* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** Thursday 25 July 2024 07:50:19 -0400 (0:00:00.121) 0:02:29.825 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:50:18 EDT", "ActiveEnterTimestampMonotonic": "2566586342", "ActiveExitTimestamp": "Thu 2024-07-25 07:50:17 EDT", "ActiveExitTimestampMonotonic": "2565872984", "ActiveState": "active", "After": "basic.target -.mount auditd.service network.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:50:18 EDT", "AssertTimestampMonotonic": "2566585651", "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:50:18 EDT", "ConditionTimestampMonotonic": "2566585649", "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": "8035", "ExecMainStartTimestamp": "Thu 2024-07-25 07:50:18 EDT", "ExecMainStartTimestampMonotonic": "2566586281", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:50:18 EDT] ; stop_time=[n/a] ; pid=8035 ; 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:50:18 EDT", "InactiveEnterTimestampMonotonic": "2566585065", "InactiveExitTimestamp": "Thu 2024-07-25 07:50:18 EDT", "InactiveExitTimestampMonotonic": "2566586342", "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": "8035", "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:50:18 EDT", "WatchdogTimestampMonotonic": "2566586323", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** Thursday 25 July 2024 07:50:20 -0400 (0:00:00.739) 0:02:30.564 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004015", "end": "2024-07-25 07:50:20.632103", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:50:20.628088" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** Thursday 25 July 2024 07:50:20 -0400 (0:00:00.497) 0:02:31.062 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004061", "end": "2024-07-25 07:50:21.251695", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:50:21.247634" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* Thursday 25 July 2024 07:50:21 -0400 (0:00:00.555) 0:02:31.618 ********* 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:50:21 -0400 (0:00:00.082) 0:02:31.700 ********* 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": 7352, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** Thursday 25 July 2024 07:50:23 -0400 (0:00:01.717) 0:02:33.418 ********* 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.031003", "end": "2024-07-25 07:50:23.437371", "rc": 0, "start": "2024-07-25 07:50:23.406368" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU27) (KB5037331) - 15.0.4375.4 (X64) Jun 10 2024 18:00:07 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* Thursday 25 July 2024 07:50:23 -0400 (0:00:00.376) 0:02:33.794 ********* ok: [managed_node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* Thursday 25 July 2024 07:50:23 -0400 (0:00:00.070) 0:02:33.865 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* Thursday 25 July 2024 07:50:23 -0400 (0:00:00.071) 0:02:33.936 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** Thursday 25 July 2024 07:50:23 -0400 (0:00:00.065) 0:02:34.002 ********* 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:50:23 -0400 (0:00:00.067) 0:02:34.070 ********* 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:50:23 -0400 (0:00:00.065) 0:02:34.135 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** Thursday 25 July 2024 07:50:24 -0400 (0:00:00.132) 0:02:34.267 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** Thursday 25 July 2024 07:50:24 -0400 (0:00:00.069) 0:02:34.337 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** Thursday 25 July 2024 07:50:24 -0400 (0:00:00.067) 0:02:34.404 ********* 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:50:24 -0400 (0:00:00.118) 0:02:34.522 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004106", "end": "2024-07-25 07:50:24.516934", "rc": 0, "start": "2024-07-25 07:50:24.512828" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.tCuW6n TASK [Verify the setting when it is type str tlscert] ************************** Thursday 25 July 2024 07:50:24 -0400 (0:00:00.340) 0:02:34.863 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* Thursday 25 July 2024 07:50:24 -0400 (0:00:00.086) 0:02:34.949 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/certs/ansible.tCuW6n] ***************** Thursday 25 July 2024 07:50:24 -0400 (0:00:00.074) 0:02:35.024 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** Thursday 25 July 2024 07:50:24 -0400 (0:00:00.066) 0:02:35.090 ********* 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:50:24 -0400 (0:00:00.124) 0:02:35.215 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004123", "end": "2024-07-25 07:50:25.219671", "rc": 0, "start": "2024-07-25 07:50:25.215548" } STDOUT: tlskey = /etc/pki/tls/private/ansible.DiOmFO TASK [Verify the setting when it is type str tlskey] *************************** Thursday 25 July 2024 07:50:25 -0400 (0:00:00.350) 0:02:35.566 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** Thursday 25 July 2024 07:50:25 -0400 (0:00:00.083) 0:02:35.650 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /etc/pki/tls/private/ansible.DiOmFO] *************** Thursday 25 July 2024 07:50:25 -0400 (0:00:00.076) 0:02:35.727 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** Thursday 25 July 2024 07:50:25 -0400 (0:00:00.070) 0:02:35.797 ********* 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:50:25 -0400 (0:00:00.198) 0:02:35.996 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004183", "end": "2024-07-25 07:50:25.996886", "rc": 0, "start": "2024-07-25 07:50:25.992703" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* Thursday 25 July 2024 07:50:26 -0400 (0:00:00.356) 0:02:36.352 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** Thursday 25 July 2024 07:50:26 -0400 (0:00:00.087) 0:02:36.439 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** Thursday 25 July 2024 07:50:26 -0400 (0:00:00.074) 0:02:36.514 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** Thursday 25 July 2024 07:50:26 -0400 (0:00:00.070) 0:02:36.584 ********* 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:50:26 -0400 (0:00:00.131) 0:02:36.716 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004194", "end": "2024-07-25 07:50:26.727577", "rc": 0, "start": "2024-07-25 07:50:26.723383" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** Thursday 25 July 2024 07:50:26 -0400 (0:00:00.356) 0:02:37.073 ********* 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:50:26 -0400 (0:00:00.071) 0:02:37.144 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** Thursday 25 July 2024 07:50:26 -0400 (0:00:00.087) 0:02:37.231 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** Thursday 25 July 2024 07:50:27 -0400 (0:00:00.068) 0:02:37.300 ********* 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:50:27 -0400 (0:00:00.067) 0:02:37.368 ********* 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:50:27 -0400 (0:00:00.452) 0:02:37.820 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003190", "end": "2024-07-25 07:50:27.951603", "rc": 0, "start": "2024-07-25 07:50:27.948413" } 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.tCuW6n tlskey = /etc/pki/tls/private/ansible.DiOmFO tlsprotocols = 1.2 forceencryption = 1 TASK [Disable TLS encryption] ************************************************** Thursday 25 July 2024 07:50:28 -0400 (0:00:00.478) 0:02:38.299 ********* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** Thursday 25 July 2024 07:50:28 -0400 (0:00:00.679) 0:02:38.979 ********* 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:50:28 -0400 (0:00:00.111) 0:02:39.090 ********* 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:50:28 -0400 (0:00:00.088) 0:02:39.179 ********* 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:50:29 -0400 (0:00:00.104) 0:02:39.284 ********* 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:50:29 -0400 (0:00:00.066) 0:02:39.350 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Thursday 25 July 2024 07:50:29 -0400 (0:00:00.168) 0:02:39.518 ********* 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:50:29 -0400 (0:00:00.068) 0:02:39.587 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** Thursday 25 July 2024 07:50:29 -0400 (0:00:00.068) 0:02:39.655 ********* 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:50:29 -0400 (0:00:00.071) 0:02:39.726 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** Thursday 25 July 2024 07:50:29 -0400 (0:00:00.067) 0:02:39.794 ********* 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:50:29 -0400 (0:00:00.070) 0:02:39.864 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** Thursday 25 July 2024 07:50:29 -0400 (0:00:00.068) 0:02:39.933 ********* 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:50:29 -0400 (0:00:00.070) 0:02:40.003 ********* 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:50:29 -0400 (0:00:00.077) 0:02:40.081 ********* 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:50:29 -0400 (0:00:00.066) 0:02:40.147 ********* 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:50:29 -0400 (0:00:00.070) 0:02:40.218 ********* 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:50:30 -0400 (0:00:00.066) 0:02:40.284 ********* 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:50:30 -0400 (0:00:00.069) 0:02:40.353 ********* 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:50:30 -0400 (0:00:00.070) 0:02:40.424 ********* 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:50:30 -0400 (0:00:00.066) 0:02:40.490 ********* 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:50:31 -0400 (0:00:01.360) 0:02:41.851 ********* skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** Thursday 25 July 2024 07:50:31 -0400 (0:00:00.191) 0:02:42.042 ********* 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:50:31 -0400 (0:00:00.071) 0:02:42.114 ********* 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:50:31 -0400 (0:00:00.075) 0:02:42.190 ********* 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:50:32 -0400 (0:00:00.133) 0:02:42.323 ********* ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** Thursday 25 July 2024 07:50:32 -0400 (0:00:00.552) 0:02:42.876 ********* 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:50:32 -0400 (0:00:00.070) 0:02:42.946 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** Thursday 25 July 2024 07:50:32 -0400 (0:00:00.073) 0:02:43.020 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** Thursday 25 July 2024 07:50:32 -0400 (0:00:00.072) 0:02:43.092 ********* 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:50:32 -0400 (0:00:00.071) 0:02:43.163 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** Thursday 25 July 2024 07:50:32 -0400 (0:00:00.074) 0:02:43.238 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** Thursday 25 July 2024 07:50:33 -0400 (0:00:00.068) 0:02:43.306 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** Thursday 25 July 2024 07:50:33 -0400 (0:00:00.182) 0:02:43.489 ********* 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:50:33 -0400 (0:00:00.071) 0:02:43.560 ********* 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:50:33 -0400 (0:00:00.598) 0:02:44.159 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** Thursday 25 July 2024 07:50:34 -0400 (0:00:00.548) 0:02:44.707 ********* 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:50:34 -0400 (0:00:00.066) 0:02:44.774 ********* 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.007193", "end": "2024-07-25 07:50:34.771898", "rc": 0, "start": "2024-07-25 07:50:34.764705" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** Thursday 25 July 2024 07:50:34 -0400 (0:00:00.340) 0:02:45.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 [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** Thursday 25 July 2024 07:50:35 -0400 (0:00:00.885) 0:02:46.000 ********* 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:50:35 -0400 (0:00:00.094) 0:02:46.095 ********* 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:50:35 -0400 (0:00:00.070) 0:02:46.165 ********* 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:50:35 -0400 (0:00:00.069) 0:02:46.235 ********* 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:50:36 -0400 (0:00:00.083) 0:02:46.318 ********* 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:50:36 -0400 (0:00:00.065) 0:02:46.384 ********* 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:50:36 -0400 (0:00:00.152) 0:02:46.537 ********* 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:50:36 -0400 (0:00:00.553) 0:02:47.091 ********* 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": "systemd-sysctl.service basic.target dbus.service systemd-journald.socket network.target system.slice", "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": "polkit.service basic.target 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:50:37 -0400 (0:00:00.443) 0:02:47.534 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.085339", "end": "2024-07-25 07:50:37.612328", "rc": 0, "start": "2024-07-25 07:50:37.526989" } 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:50:37 -0400 (0:00:00.428) 0:02:47.963 ********* 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:50:37 -0400 (0:00:00.074) 0:02:48.038 ********* 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:50:37 -0400 (0:00:00.070) 0:02:48.108 ********* 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:50:37 -0400 (0:00:00.072) 0:02:48.180 ********* 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:50:38 -0400 (0:00:00.345) 0:02:48.525 ********* 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:50:38 -0400 (0:00:00.070) 0:02:48.595 ********* 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:50:38 -0400 (0:00:00.554) 0:02:49.150 ********* 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:50:38 -0400 (0:00:00.069) 0:02:49.220 ********* 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:50:39 -0400 (0:00:00.073) 0:02:49.294 ********* 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:50:39 -0400 (0:00:00.158) 0:02:49.452 ********* 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:50:39 -0400 (0:00:00.075) 0:02:49.528 ********* 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:50:39 -0400 (0:00:00.073) 0:02:49.602 ********* 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:50:39 -0400 (0:00:00.073) 0:02:49.676 ********* 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:50:39 -0400 (0:00:00.069) 0:02:49.745 ********* 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:50:39 -0400 (0:00:00.071) 0:02:49.816 ********* 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.004803", "end": "2024-07-25 07:50:39.818881", "rc": 0, "start": "2024-07-25 07:50:39.814078" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** Thursday 25 July 2024 07:50:39 -0400 (0:00:00.350) 0:02:50.166 ********* 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:50:39 -0400 (0:00:00.074) 0:02:50.241 ********* 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:50:41 -0400 (0:00:01.202) 0:02:51.443 ********* 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:50:41 -0400 (0:00:00.077) 0:02:51.521 ********* 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:50:41 -0400 (0:00:00.148) 0:02:51.670 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** Thursday 25 July 2024 07:50:41 -0400 (0:00:00.075) 0:02:51.745 ********* 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:50:41 -0400 (0:00:00.070) 0:02:51.815 ********* 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:50:41 -0400 (0:00:00.124) 0:02:51.939 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003091", "end": "2024-07-25 07:50:41.940555", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:50:41.937464" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** Thursday 25 July 2024 07:50:42 -0400 (0:00:00.360) 0:02:52.300 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.117144", "end": "2024-07-25 07:50:42.420445", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:50:42.303301" } 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:50:42 -0400 (0:00:00.477) 0:02:52.778 ********* 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:50:42 -0400 (0:00:00.069) 0:02:52.848 ********* 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:50:42 -0400 (0:00:00.067) 0:02:52.915 ********* 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:50:42 -0400 (0:00:00.069) 0:02:52.985 ********* 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:50:42 -0400 (0:00:00.067) 0:02:53.053 ********* 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:50:42 -0400 (0:00:00.067) 0:02:53.121 ********* 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:50:42 -0400 (0:00:00.070) 0:02:53.191 ********* 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:50:43 -0400 (0:00:00.064) 0:02:53.256 ********* 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:50:43 -0400 (0:00:00.067) 0:02:53.323 ********* 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:50:43 -0400 (0:00:00.066) 0:02:53.390 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** Thursday 25 July 2024 07:50:43 -0400 (0:00:00.163) 0:02:53.554 ********* 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:50:43 -0400 (0:00:00.072) 0:02:53.626 ********* 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:50:43 -0400 (0:00:00.068) 0:02:53.695 ********* skipping: [managed_node1] => (item=/tmp/ansible.tCuW6n) => { "ansible_loop_var": "item", "changed": false, "item": "/tmp/ansible.tCuW6n", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=ansible.DiOmFO) => { "ansible_loop_var": "item", "changed": false, "item": "ansible.DiOmFO", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* Thursday 25 July 2024 07:50:43 -0400 (0:00:00.084) 0:02:53.779 ********* 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:50:43 -0400 (0:00:00.125) 0:02:53.905 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003181", "end": "2024-07-25 07:50:43.906581", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:50:43.903400" } STDOUT: tlscert = /etc/pki/tls/certs/ansible.tCuW6n TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** Thursday 25 July 2024 07:50:44 -0400 (0:00:00.349) 0:02:54.254 ********* 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:50:44 -0400 (0:00:00.083) 0:02:54.337 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.116225", "end": "2024-07-25 07:50:44.454730", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:50:44.338505" } 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:50:44 -0400 (0:00:00.470) 0:02:54.808 ********* 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:50:44 -0400 (0:00:00.129) 0:02:54.937 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003182", "end": "2024-07-25 07:50:44.938909", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:50:44.935727" } STDOUT: tlskey = /etc/pki/tls/private/ansible.DiOmFO TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** Thursday 25 July 2024 07:50:45 -0400 (0:00:00.352) 0:02:55.290 ********* 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:50:45 -0400 (0:00:00.077) 0:02:55.368 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.116886", "end": "2024-07-25 07:50:45.488022", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:50:45.371136" } 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:50:45 -0400 (0:00:00.563) 0:02:55.931 ********* 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:50:45 -0400 (0:00:00.132) 0:02:56.064 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003205", "end": "2024-07-25 07:50:46.066866", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:50:46.063661" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** Thursday 25 July 2024 07:50:46 -0400 (0:00:00.350) 0:02:56.415 ********* 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:50:46 -0400 (0:00:00.081) 0:02:56.496 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.117224", "end": "2024-07-25 07:50:46.619328", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:50:46.502104" } 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:50:46 -0400 (0:00:00.476) 0:02:56.973 ********* 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:50:46 -0400 (0:00:00.135) 0:02:57.108 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003217", "end": "2024-07-25 07:50:47.111165", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:50:47.107948" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** Thursday 25 July 2024 07:50:47 -0400 (0:00:00.353) 0:02:57.462 ********* 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:50:47 -0400 (0:00:00.076) 0:02:57.538 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.117271", "end": "2024-07-25 07:50:47.659234", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:50:47.541963" } 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:50:47 -0400 (0:00:00.477) 0:02:58.015 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** Thursday 25 July 2024 07:50:47 -0400 (0:00:00.068) 0:02:58.084 ********* 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:50:47 -0400 (0:00:00.068) 0:02:58.152 ********* 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:50:47 -0400 (0:00:00.068) 0:02:58.220 ********* 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:50:48 -0400 (0:00:00.158) 0:02:58.379 ********* 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:50:48 -0400 (0:00:00.073) 0:02:58.452 ********* 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:50:48 -0400 (0:00:00.071) 0:02:58.524 ********* 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:50:48 -0400 (0:00:00.072) 0:02:58.597 ********* 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:50:48 -0400 (0:00:00.070) 0:02:58.668 ********* 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:50:48 -0400 (0:00:00.072) 0:02:58.740 ********* 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:50:48 -0400 (0:00:00.068) 0:02:58.809 ********* 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:50:48 -0400 (0:00:00.071) 0:02:58.880 ********* 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:50:48 -0400 (0:00:00.071) 0:02:58.952 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* Thursday 25 July 2024 07:50:48 -0400 (0:00:00.066) 0:02:59.019 ********* 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:50:48 -0400 (0:00:00.069) 0:02:59.089 ********* 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:50:48 -0400 (0:00:00.066) 0:02:59.156 ********* 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:50:48 -0400 (0:00:00.069) 0:02:59.225 ********* 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:50:49 -0400 (0:00:00.067) 0:02:59.293 ********* 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:50:49 -0400 (0:00:00.066) 0:02:59.359 ********* 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:50:49 -0400 (0:00:00.070) 0:02:59.430 ********* 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:50:49 -0400 (0:00:00.068) 0:02:59.498 ********* 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:50:49 -0400 (0:00:00.068) 0:02:59.567 ********* 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:50:49 -0400 (0:00:00.067) 0:02:59.635 ********* 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:50:49 -0400 (0:00:00.165) 0:02:59.800 ********* 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:50:49 -0400 (0:00:00.071) 0:02:59.872 ********* 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:50:49 -0400 (0:00:00.067) 0:02:59.939 ********* 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:50:49 -0400 (0:00:00.072) 0:03:00.011 ********* 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:50:49 -0400 (0:00:00.084) 0:03:00.096 ********* 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:50:49 -0400 (0:00:00.070) 0:03:00.167 ********* 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:50:49 -0400 (0:00:00.069) 0:03:00.237 ********* 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:50:50 -0400 (0:00:00.083) 0:03:00.320 ********* 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:50:50 -0400 (0:00:00.069) 0:03:00.390 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** Thursday 25 July 2024 07:50:50 -0400 (0:00:00.067) 0:03:00.458 ********* 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:50:50 -0400 (0:00:00.069) 0:03:00.527 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* Thursday 25 July 2024 07:50:50 -0400 (0:00:00.068) 0:03:00.595 ********* 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:50:50 -0400 (0:00:00.067) 0:03:00.663 ********* 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:50:50 -0400 (0:00:00.067) 0:03:00.731 ********* 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:50:50 -0400 (0:00:00.068) 0:03:00.799 ********* 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:50:50 -0400 (0:00:00.070) 0:03:00.870 ********* 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:50:50 -0400 (0:00:00.067) 0:03:00.938 ********* 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:50:50 -0400 (0:00:00.067) 0:03:01.005 ********* 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:50:50 -0400 (0:00:00.164) 0:03:01.169 ********* 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:50:51 -0400 (0:00:00.085) 0:03:01.254 ********* 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:50:51 -0400 (0:00:00.073) 0:03:01.328 ********* 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:50:51 -0400 (0:00:00.066) 0:03:01.395 ********* 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:50:51 -0400 (0:00:00.073) 0:03:01.468 ********* 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:50:51 -0400 (0:00:00.073) 0:03:01.542 ********* 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:50:51 -0400 (0:00:00.078) 0:03:01.620 ********* 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:50:51 -0400 (0:00:00.068) 0:03:01.689 ********* 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:50:51 -0400 (0:00:00.067) 0:03:01.756 ********* 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:50:51 -0400 (0:00:00.073) 0:03:01.830 ********* 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:50:51 -0400 (0:00:00.069) 0:03:01.899 ********* 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:50:52 -0400 (0:00:00.438) 0:03:02.337 ********* changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:50:18 EDT", "ActiveEnterTimestampMonotonic": "2566586342", "ActiveExitTimestamp": "Thu 2024-07-25 07:50:17 EDT", "ActiveExitTimestampMonotonic": "2565872984", "ActiveState": "active", "After": "basic.target -.mount auditd.service network.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:50:18 EDT", "AssertTimestampMonotonic": "2566585651", "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:50:18 EDT", "ConditionTimestampMonotonic": "2566585649", "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": "8035", "ExecMainStartTimestamp": "Thu 2024-07-25 07:50:18 EDT", "ExecMainStartTimestampMonotonic": "2566586281", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:50:18 EDT] ; stop_time=[n/a] ; pid=8035 ; 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:50:18 EDT", "InactiveEnterTimestampMonotonic": "2566585065", "InactiveExitTimestamp": "Thu 2024-07-25 07:50:18 EDT", "InactiveExitTimestampMonotonic": "2566586342", "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": "8035", "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:50:18 EDT", "WatchdogTimestampMonotonic": "2566586323", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:50:52 -0400 (0:00:00.749) 0:03:03.087 ********* 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:50:52 -0400 (0:00:00.069) 0:03:03.156 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** Thursday 25 July 2024 07:50:52 -0400 (0:00:00.064) 0:03:03.221 ********* 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:50:53 -0400 (0:00:00.567) 0:03:03.789 ********* 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:50:53 -0400 (0:00:00.067) 0:03:03.856 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* Thursday 25 July 2024 07:50:53 -0400 (0:00:00.067) 0:03:03.924 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** Thursday 25 July 2024 07:50:53 -0400 (0:00:00.072) 0:03:03.996 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** Thursday 25 July 2024 07:50:53 -0400 (0:00:00.070) 0:03:04.067 ********* 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:50:53 -0400 (0:00:00.065) 0:03:04.132 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ Thursday 25 July 2024 07:50:53 -0400 (0:00:00.069) 0:03:04.202 ********* 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:50:54 -0400 (0:00:00.065) 0:03:04.267 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** Thursday 25 July 2024 07:50:54 -0400 (0:00:00.067) 0:03:04.335 ********* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** Thursday 25 July 2024 07:50:54 -0400 (0:00:00.117) 0:03:04.453 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:50:52 EDT", "ActiveEnterTimestampMonotonic": "2601069895", "ActiveExitTimestamp": "Thu 2024-07-25 07:50:52 EDT", "ActiveExitTimestampMonotonic": "2600837472", "ActiveState": "active", "After": "basic.target -.mount auditd.service network.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:50:52 EDT", "AssertTimestampMonotonic": "2601069145", "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:50:52 EDT", "ConditionTimestampMonotonic": "2601069143", "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": "10130", "ExecMainStartTimestamp": "Thu 2024-07-25 07:50:52 EDT", "ExecMainStartTimestampMonotonic": "2601069826", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:50:52 EDT] ; stop_time=[n/a] ; pid=10130 ; 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:50:52 EDT", "InactiveEnterTimestampMonotonic": "2601068444", "InactiveExitTimestamp": "Thu 2024-07-25 07:50:52 EDT", "InactiveExitTimestampMonotonic": "2601069895", "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": "10130", "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:50:52 EDT", "WatchdogTimestampMonotonic": "2601069871", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** Thursday 25 July 2024 07:50:55 -0400 (0:00:00.854) 0:03:05.308 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004371", "end": "2024-07-25 07:50:55.494121", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:50:55.489750" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** Thursday 25 July 2024 07:50:55 -0400 (0:00:00.554) 0:03:05.862 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004701", "end": "2024-07-25 07:50:56.384500", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:50:56.379799" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* Thursday 25 July 2024 07:50:56 -0400 (0:00:00.932) 0:03:06.795 ********* 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:50:56 -0400 (0:00:00.085) 0:03:06.880 ********* 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": 7262, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** Thursday 25 July 2024 07:50:58 -0400 (0:00:01.494) 0:03:08.374 ********* 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.044697", "end": "2024-07-25 07:50:58.400939", "rc": 0, "start": "2024-07-25 07:50:58.356242" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU27) (KB5037331) - 15.0.4375.4 (X64) Jun 10 2024 18:00:07 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* Thursday 25 July 2024 07:50:58 -0400 (0:00:00.382) 0:03:08.756 ********* ok: [managed_node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* Thursday 25 July 2024 07:50:58 -0400 (0:00:00.071) 0:03:08.828 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* Thursday 25 July 2024 07:50:58 -0400 (0:00:00.067) 0:03:08.896 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** Thursday 25 July 2024 07:50:58 -0400 (0:00:00.068) 0:03:08.965 ********* 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:50:58 -0400 (0:00:00.068) 0:03:09.034 ********* 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:50:58 -0400 (0:00:00.156) 0:03:09.190 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** Thursday 25 July 2024 07:50:59 -0400 (0:00:00.069) 0:03:09.260 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** Thursday 25 July 2024 07:50:59 -0400 (0:00:00.070) 0:03:09.330 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** Thursday 25 July 2024 07:50:59 -0400 (0:00:00.067) 0:03:09.398 ********* 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:50:59 -0400 (0:00:00.123) 0:03:09.521 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004172", "end": "2024-07-25 07:50:59.520242", "rc": 0, "start": "2024-07-25 07:50:59.516070" } TASK [Verify the setting when it is type str tlscert] ************************** Thursday 25 July 2024 07:50:59 -0400 (0:00:00.347) 0:03:09.869 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* Thursday 25 July 2024 07:50:59 -0400 (0:00:00.085) 0:03:09.954 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** Thursday 25 July 2024 07:50:59 -0400 (0:00:00.075) 0:03:10.030 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** Thursday 25 July 2024 07:50:59 -0400 (0:00:00.072) 0:03:10.102 ********* 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:50:59 -0400 (0:00:00.127) 0:03:10.229 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004201", "end": "2024-07-25 07:51:00.301236", "rc": 0, "start": "2024-07-25 07:51:00.297035" } TASK [Verify the setting when it is type str tlskey] *************************** Thursday 25 July 2024 07:51:00 -0400 (0:00:00.417) 0:03:10.647 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** Thursday 25 July 2024 07:51:00 -0400 (0:00:00.086) 0:03:10.734 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** Thursday 25 July 2024 07:51:00 -0400 (0:00:00.073) 0:03:10.807 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** Thursday 25 July 2024 07:51:00 -0400 (0:00:00.070) 0:03:10.877 ********* 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:51:00 -0400 (0:00:00.229) 0:03:11.106 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004244", "end": "2024-07-25 07:51:01.114114", "rc": 0, "start": "2024-07-25 07:51:01.109870" } TASK [Verify the setting when it is type str tlsprotocols] ********************* Thursday 25 July 2024 07:51:01 -0400 (0:00:00.356) 0:03:11.463 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** Thursday 25 July 2024 07:51:01 -0400 (0:00:00.088) 0:03:11.551 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport =] *************************************************** Thursday 25 July 2024 07:51:01 -0400 (0:00:00.075) 0:03:11.626 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** Thursday 25 July 2024 07:51:01 -0400 (0:00:00.071) 0:03:11.698 ********* 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:51:01 -0400 (0:00:00.135) 0:03:11.834 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004197", "end": "2024-07-25 07:51:01.875414", "rc": 0, "start": "2024-07-25 07:51:01.871217" } TASK [Verify the setting when it is type str forceencryption] ****************** Thursday 25 July 2024 07:51:01 -0400 (0:00:00.394) 0:03:12.228 ********* 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:51:02 -0400 (0:00:00.074) 0:03:12.303 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* Thursday 25 July 2024 07:51:02 -0400 (0:00:00.090) 0:03:12.393 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** Thursday 25 July 2024 07:51:02 -0400 (0:00:00.069) 0:03:12.463 ********* 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:51:02 -0400 (0:00:00.065) 0:03:12.528 ********* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** Thursday 25 July 2024 07:51:03 -0400 (0:00:01.132) 0:03:13.660 ********* 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:51:03 -0400 (0:00:00.114) 0:03:13.775 ********* 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:51:03 -0400 (0:00:00.090) 0:03:13.866 ********* 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:51:03 -0400 (0:00:00.107) 0:03:13.973 ********* 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:51:03 -0400 (0:00:00.067) 0:03:14.041 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Thursday 25 July 2024 07:51:03 -0400 (0:00:00.068) 0:03:14.109 ********* 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:51:03 -0400 (0:00:00.065) 0:03:14.174 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** Thursday 25 July 2024 07:51:04 -0400 (0:00:00.190) 0:03:14.365 ********* 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:51:04 -0400 (0:00:00.076) 0:03:14.442 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** Thursday 25 July 2024 07:51:04 -0400 (0:00:00.071) 0:03:14.513 ********* 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:51:04 -0400 (0:00:00.071) 0:03:14.585 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** Thursday 25 July 2024 07:51:04 -0400 (0:00:00.070) 0:03:14.655 ********* 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:51:04 -0400 (0:00:00.076) 0:03:14.732 ********* 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:51:04 -0400 (0:00:00.079) 0:03:14.811 ********* 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:51:04 -0400 (0:00:00.074) 0:03:14.886 ********* 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:51:04 -0400 (0:00:00.073) 0:03:14.959 ********* 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:51:04 -0400 (0:00:00.071) 0:03:15.030 ********* 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:51:04 -0400 (0:00:00.072) 0:03:15.103 ********* 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:51:04 -0400 (0:00:00.069) 0:03:15.172 ********* 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:51:04 -0400 (0:00:00.068) 0:03:15.240 ********* 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:51:06 -0400 (0:00:01.481) 0:03:16.722 ********* skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** Thursday 25 July 2024 07:51:06 -0400 (0:00:00.182) 0:03:16.904 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** Thursday 25 July 2024 07:51:06 -0400 (0:00:00.071) 0:03:16.976 ********* 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:51:06 -0400 (0:00:00.076) 0:03:17.052 ********* 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:51:06 -0400 (0:00:00.130) 0:03:17.182 ********* ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** Thursday 25 July 2024 07:51:07 -0400 (0:00:00.517) 0:03:17.699 ********* 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:51:07 -0400 (0:00:00.070) 0:03:17.770 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** Thursday 25 July 2024 07:51:07 -0400 (0:00:00.075) 0:03:17.845 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** Thursday 25 July 2024 07:51:07 -0400 (0:00:00.076) 0:03:17.922 ********* 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:51:07 -0400 (0:00:00.070) 0:03:17.993 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** Thursday 25 July 2024 07:51:07 -0400 (0:00:00.073) 0:03:18.066 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** Thursday 25 July 2024 07:51:07 -0400 (0:00:00.070) 0:03:18.137 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** Thursday 25 July 2024 07:51:07 -0400 (0:00:00.098) 0:03:18.235 ********* 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:51:08 -0400 (0:00:00.070) 0:03:18.305 ********* 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:51:08 -0400 (0:00:00.776) 0:03:19.082 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** Thursday 25 July 2024 07:51:09 -0400 (0:00:00.552) 0:03:19.634 ********* 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:51:09 -0400 (0:00:00.069) 0:03:19.704 ********* 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.005102", "end": "2024-07-25 07:51:09.702885", "rc": 0, "start": "2024-07-25 07:51:09.697783" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** Thursday 25 July 2024 07:51:09 -0400 (0:00:00.350) 0:03:20.055 ********* 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:51:10 -0400 (0:00:00.895) 0:03:20.950 ********* 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:51:10 -0400 (0:00:00.098) 0:03:21.049 ********* 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:51:10 -0400 (0:00:00.071) 0:03:21.120 ********* 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:51:10 -0400 (0:00:00.067) 0:03:21.187 ********* 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:51:11 -0400 (0:00:00.094) 0:03:21.282 ********* 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:51:11 -0400 (0:00:00.068) 0:03:21.350 ********* 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:51:11 -0400 (0:00:00.067) 0:03:21.418 ********* 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:51:11 -0400 (0:00:00.677) 0:03:22.096 ********* 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": "systemd-sysctl.service basic.target dbus.service systemd-journald.socket network.target system.slice", "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": "polkit.service basic.target 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:51:12 -0400 (0:00:00.452) 0:03:22.549 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.084131", "end": "2024-07-25 07:51:12.630552", "rc": 0, "start": "2024-07-25 07:51:12.546421" } 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:51:12 -0400 (0:00:00.433) 0:03:22.983 ********* 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:51:12 -0400 (0:00:00.071) 0:03:23.054 ********* 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:51:12 -0400 (0:00:00.076) 0:03:23.130 ********* 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:51:12 -0400 (0:00:00.071) 0:03:23.202 ********* 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:51:13 -0400 (0:00:00.352) 0:03:23.554 ********* 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:51:13 -0400 (0:00:00.068) 0:03:23.623 ********* 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:51:13 -0400 (0:00:00.554) 0:03:24.177 ********* 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:51:13 -0400 (0:00:00.069) 0:03:24.246 ********* 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:51:14 -0400 (0:00:00.073) 0:03:24.320 ********* 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:51:14 -0400 (0:00:00.075) 0:03:24.395 ********* 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:51:14 -0400 (0:00:00.070) 0:03:24.466 ********* 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:51:14 -0400 (0:00:00.183) 0:03:24.649 ********* 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:51:14 -0400 (0:00:00.073) 0:03:24.722 ********* 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:51:14 -0400 (0:00:00.070) 0:03:24.793 ********* 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:51:14 -0400 (0:00:00.069) 0:03:24.863 ********* 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.004796", "end": "2024-07-25 07:51:14.868717", "rc": 0, "start": "2024-07-25 07:51:14.863921" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** Thursday 25 July 2024 07:51:14 -0400 (0:00:00.353) 0:03:25.216 ********* 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:51:15 -0400 (0:00:00.076) 0:03:25.293 ********* 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:51:16 -0400 (0:00:01.219) 0:03:26.512 ********* 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:51:16 -0400 (0:00:00.077) 0:03:26.589 ********* 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:51:16 -0400 (0:00:00.071) 0:03:26.661 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** Thursday 25 July 2024 07:51:16 -0400 (0:00:00.073) 0:03:26.735 ********* 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:51:16 -0400 (0:00:00.187) 0:03:26.923 ********* 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:51:16 -0400 (0:00:00.126) 0:03:27.049 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003251", "end": "2024-07-25 07:51:17.046876", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:51:17.043625" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** Thursday 25 July 2024 07:51:17 -0400 (0:00:00.348) 0:03:27.397 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.115843", "end": "2024-07-25 07:51:17.514863", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:51:17.399020" } 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:51:17 -0400 (0:00:00.479) 0:03:27.877 ********* 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:51:17 -0400 (0:00:00.067) 0:03:27.944 ********* 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:51:17 -0400 (0:00:00.069) 0:03:28.014 ********* 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:51:17 -0400 (0:00:00.069) 0:03:28.083 ********* 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:51:17 -0400 (0:00:00.071) 0:03:28.155 ********* 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:51:17 -0400 (0:00:00.066) 0:03:28.221 ********* 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:51:18 -0400 (0:00:00.070) 0:03:28.292 ********* 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:51:18 -0400 (0:00:00.067) 0:03:28.359 ********* 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:51:18 -0400 (0:00:00.066) 0:03:28.426 ********* 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:51:18 -0400 (0:00:00.070) 0:03:28.496 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** Thursday 25 July 2024 07:51:18 -0400 (0:00:00.065) 0:03:28.562 ********* TASK [fedora.linux_system_roles.certificate : Set version specific variables] *** Thursday 25 July 2024 07:51:18 -0400 (0:00:00.257) 0:03:28.820 ********* 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:51:18 -0400 (0:00:00.138) 0:03:28.958 ********* 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:51:18 -0400 (0:00:00.103) 0:03:29.061 ********* 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:51:19 -0400 (0:00:00.356) 0:03:29.418 ********* 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:51:19 -0400 (0:00:00.084) 0:03:29.502 ********* 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:51:19 -0400 (0:00:00.205) 0:03:29.708 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "python2-pyasn1-0.1.9-7.el7.noarch providing python-pyasn1 is already installed", "python2-cryptography-1.7.2-2.el7.x86_64 providing python-cryptography is already installed", "dbus-python-1.1.1-9.el7.x86_64 providing python-dbus is already installed" ] } lsrpackages: python-cryptography python-dbus python-pyasn1 TASK [fedora.linux_system_roles.certificate : Ensure provider packages are installed] *** Thursday 25 July 2024 07:51:20 -0400 (0:00:01.067) 0:03:30.775 ********* ok: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "rc": 0, "results": [ "certmonger-0.78.4-17.el7_9.x86_64 providing certmonger is already installed" ] } lsrpackages: certmonger TASK [fedora.linux_system_roles.certificate : Ensure pre-scripts hooks directory exists] *** Thursday 25 July 2024 07:51:21 -0400 (0:00:00.598) 0:03:31.373 ********* ok: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//pre-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure post-scripts hooks directory exists] *** Thursday 25 July 2024 07:51:21 -0400 (0:00:00.388) 0:03:31.762 ********* ok: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "gid": 0, "group": "root", "mode": "0700", "owner": "root", "path": "/etc/certmonger//post-scripts", "secontext": "unconfined_u:object_r:etc_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [fedora.linux_system_roles.certificate : Ensure provider service is running] *** Thursday 25 July 2024 07:51:21 -0400 (0:00:00.396) 0:03:32.158 ********* ok: [managed_node1] => (item=certmonger) => { "__certificate_provider": "certmonger", "ansible_loop_var": "__certificate_provider", "changed": false, "enabled": true, "name": "certmonger", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:32:38 EDT", "ActiveEnterTimestampMonotonic": "1507167371", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service systemd-journald.socket network.target system.slice syslog.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:32:38 EDT", "AssertTimestampMonotonic": "1507141592", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedorahosted.certmonger", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-07-25 07:32:38 EDT", "ConditionTimestampMonotonic": "1507141591", "Conflicts": "shutdown.target", "ControlGroup": "/system.slice/certmonger.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Certificate monitoring and PKI enrollment", "DevicePolicy": "auto", "EnvironmentFile": "/etc/sysconfig/certmonger (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "27545", "ExecMainStartTimestamp": "Thu 2024-07-25 07:32:38 EDT", "ExecMainStartTimestampMonotonic": "1507142278", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/certmonger ; argv[]=/usr/sbin/certmonger -S -p /var/run/certmonger.pid -n $OPTS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/certmonger.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "certmonger.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-07-25 07:32:38 EDT", "InactiveExitTimestampMonotonic": "1507142311", "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": "27545", "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": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 07:32:38 EDT", "WatchdogTimestampMonotonic": "1507167320", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.certificate : Ensure certificate requests] ***** Thursday 25 July 2024 07:51:22 -0400 (0:00:00.491) 0:03:32.650 ********* 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 (update). TASK [fedora.linux_system_roles.certificate : Slurp the contents of the files] *** Thursday 25 July 2024 07:51:23 -0400 (0:00:01.522) 0:03:34.173 ********* 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:51:24 -0400 (0:00:00.121) 0:03:34.295 ********* 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:51:24 -0400 (0:00:00.076) 0:03:34.371 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.certificate : Remove files] ******************** Thursday 25 July 2024 07:51:24 -0400 (0:00:00.082) 0:03:34.453 ********* 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:51:24 -0400 (0:00:00.081) 0:03:34.534 ********* 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:51:24 -0400 (0:00:00.083) 0:03:34.618 ********* 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:51:24 -0400 (0:00:00.096) 0:03:34.715 ********* 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:51:24 -0400 (0:00:00.129) 0:03:34.844 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003491", "end": "2024-07-25 07:51:24.851287", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:51:24.847796" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlscert] *** Thursday 25 July 2024 07:51:24 -0400 (0:00:00.357) 0:03:35.202 ********* 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.117296", "end": "2024-07-25 07:51:25.322131", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:51:25.204835" } 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:51:25 -0400 (0:00:00.476) 0:03:35.678 ********* 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:51:25 -0400 (0:00:00.073) 0:03:35.751 ********* 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:51:25 -0400 (0:00:00.127) 0:03:35.879 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003122", "end": "2024-07-25 07:51:25.879952", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:51:25.876830" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlskey] *** Thursday 25 July 2024 07:51:25 -0400 (0:00:00.348) 0:03:36.228 ********* 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.118151", "end": "2024-07-25 07:51:26.378847", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:51:26.260696" } 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:51:26 -0400 (0:00:00.505) 0:03:36.733 ********* 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:51:26 -0400 (0:00:00.076) 0:03:36.809 ********* 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:51:26 -0400 (0:00:00.134) 0:03:36.944 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003055", "end": "2024-07-25 07:51:26.946761", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:51:26.943706" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** Thursday 25 July 2024 07:51:27 -0400 (0:00:00.351) 0:03:37.295 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tlsprotocols", "1.2" ], "delta": "0:00:00.117619", "end": "2024-07-25 07:51:27.411944", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:51:27.294325" } 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:51:27 -0400 (0:00:00.477) 0:03:37.772 ********* 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:51:27 -0400 (0:00:00.075) 0:03:37.847 ********* 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:51:27 -0400 (0:00:00.133) 0:03:37.981 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003147", "end": "2024-07-25 07:51:27.977430", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:51:27.974283" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** Thursday 25 July 2024 07:51:28 -0400 (0:00:00.346) 0:03:38.328 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.forceencryption", "1" ], "delta": "0:00:00.113698", "end": "2024-07-25 07:51:28.450646", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:51:28.336948" } 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:51:28 -0400 (0:00:00.478) 0:03:38.806 ********* 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:51:28 -0400 (0:00:00.070) 0:03:38.877 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** Thursday 25 July 2024 07:51:28 -0400 (0:00:00.181) 0:03:39.058 ********* 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:51:28 -0400 (0:00:00.069) 0:03:39.128 ********* 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:51:28 -0400 (0:00:00.072) 0:03:39.201 ********* 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:51:29 -0400 (0:00:00.071) 0:03:39.272 ********* 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:51:29 -0400 (0:00:00.075) 0:03:39.348 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** Thursday 25 July 2024 07:51:29 -0400 (0:00:00.074) 0:03:39.423 ********* 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:51:29 -0400 (0:00:00.070) 0:03:39.493 ********* 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:51:29 -0400 (0:00:00.075) 0:03:39.569 ********* 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:51:29 -0400 (0:00:00.068) 0:03:39.637 ********* 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:51:29 -0400 (0:00:00.069) 0:03:39.707 ********* 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:51:29 -0400 (0:00:00.069) 0:03:39.776 ********* 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:51:29 -0400 (0:00:00.065) 0:03:39.842 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* Thursday 25 July 2024 07:51:29 -0400 (0:00:00.069) 0:03:39.911 ********* 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:51:29 -0400 (0:00:00.066) 0:03:39.977 ********* 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:51:29 -0400 (0:00:00.071) 0:03:40.048 ********* 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:51:29 -0400 (0:00:00.067) 0:03:40.116 ********* 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:51:29 -0400 (0:00:00.069) 0:03:40.186 ********* 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:51:30 -0400 (0:00:00.070) 0:03:40.256 ********* 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:51:30 -0400 (0:00:00.067) 0:03:40.323 ********* 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:51:30 -0400 (0:00:00.186) 0:03:40.510 ********* 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:51:30 -0400 (0:00:00.070) 0:03:40.581 ********* 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:51:30 -0400 (0:00:00.077) 0:03:40.659 ********* 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:51:30 -0400 (0:00:00.068) 0:03:40.727 ********* 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:51:30 -0400 (0:00:00.069) 0:03:40.797 ********* 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:51:30 -0400 (0:00:00.067) 0:03:40.865 ********* 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:51:30 -0400 (0:00:00.066) 0:03:40.932 ********* 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:51:30 -0400 (0:00:00.088) 0:03:41.020 ********* 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:51:30 -0400 (0:00:00.070) 0:03:41.090 ********* 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:51:30 -0400 (0:00:00.069) 0:03:41.160 ********* 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:51:30 -0400 (0:00:00.087) 0:03:41.248 ********* 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:51:31 -0400 (0:00:00.068) 0:03:41.317 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** Thursday 25 July 2024 07:51:31 -0400 (0:00:00.068) 0:03:41.385 ********* 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:51:31 -0400 (0:00:00.067) 0:03:41.453 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* Thursday 25 July 2024 07:51:31 -0400 (0:00:00.067) 0:03:41.521 ********* 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:51:31 -0400 (0:00:00.070) 0:03:41.592 ********* 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:51:31 -0400 (0:00:00.069) 0:03:41.662 ********* 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:51:31 -0400 (0:00:00.076) 0:03:41.738 ********* 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:51:31 -0400 (0:00:00.067) 0:03:41.806 ********* 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:51:31 -0400 (0:00:00.194) 0:03:42.000 ********* 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:51:31 -0400 (0:00:00.072) 0:03:42.073 ********* 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:51:31 -0400 (0:00:00.077) 0:03:42.151 ********* 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:51:31 -0400 (0:00:00.090) 0:03:42.242 ********* 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:51:32 -0400 (0:00:00.070) 0:03:42.312 ********* 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:51:32 -0400 (0:00:00.070) 0:03:42.383 ********* 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:51:32 -0400 (0:00:00.071) 0:03:42.455 ********* 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:51:32 -0400 (0:00:00.072) 0:03:42.527 ********* 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:51:32 -0400 (0:00:00.081) 0:03:42.609 ********* 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:51:32 -0400 (0:00:00.066) 0:03:42.676 ********* 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:51:32 -0400 (0:00:00.073) 0:03:42.749 ********* 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:51:32 -0400 (0:00:00.068) 0:03:42.818 ********* 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:51:32 -0400 (0:00:00.071) 0:03:42.890 ********* 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:51:33 -0400 (0:00:00.430) 0:03:43.321 ********* changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:50:52 EDT", "ActiveEnterTimestampMonotonic": "2601069895", "ActiveExitTimestamp": "Thu 2024-07-25 07:50:52 EDT", "ActiveExitTimestampMonotonic": "2600837472", "ActiveState": "active", "After": "basic.target -.mount auditd.service network.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:50:52 EDT", "AssertTimestampMonotonic": "2601069145", "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:50:52 EDT", "ConditionTimestampMonotonic": "2601069143", "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": "10130", "ExecMainStartTimestamp": "Thu 2024-07-25 07:50:52 EDT", "ExecMainStartTimestampMonotonic": "2601069826", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:50:52 EDT] ; stop_time=[n/a] ; pid=10130 ; 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:50:52 EDT", "InactiveEnterTimestampMonotonic": "2601068444", "InactiveExitTimestamp": "Thu 2024-07-25 07:50:52 EDT", "InactiveExitTimestampMonotonic": "2601069895", "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": "10130", "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:50:52 EDT", "WatchdogTimestampMonotonic": "2601069871", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:51:33 -0400 (0:00:00.772) 0:03:44.094 ********* 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:51:34 -0400 (0:00:00.180) 0:03:44.275 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify connectivity and settings] **************************************** Thursday 25 July 2024 07:51:34 -0400 (0:00:00.071) 0:03:44.346 ********* 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:51:34 -0400 (0:00:00.597) 0:03:44.944 ********* 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:51:34 -0400 (0:00:00.069) 0:03:45.013 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* Thursday 25 July 2024 07:51:34 -0400 (0:00:00.067) 0:03:45.081 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** Thursday 25 July 2024 07:51:34 -0400 (0:00:00.070) 0:03:45.152 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** Thursday 25 July 2024 07:51:34 -0400 (0:00:00.069) 0:03:45.222 ********* 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:51:35 -0400 (0:00:00.067) 0:03:45.289 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ Thursday 25 July 2024 07:51:35 -0400 (0:00:00.066) 0:03:45.356 ********* 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:51:35 -0400 (0:00:00.067) 0:03:45.423 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** Thursday 25 July 2024 07:51:35 -0400 (0:00:00.065) 0:03:45.488 ********* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** Thursday 25 July 2024 07:51:35 -0400 (0:00:00.246) 0:03:45.735 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:51:33 EDT", "ActiveEnterTimestampMonotonic": "2642071424", "ActiveExitTimestamp": "Thu 2024-07-25 07:51:33 EDT", "ActiveExitTimestampMonotonic": "2641826702", "ActiveState": "active", "After": "basic.target -.mount auditd.service network.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:51:33 EDT", "AssertTimestampMonotonic": "2642070660", "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:51:33 EDT", "ConditionTimestampMonotonic": "2642070658", "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": "12546", "ExecMainStartTimestamp": "Thu 2024-07-25 07:51:33 EDT", "ExecMainStartTimestampMonotonic": "2642071355", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:51:33 EDT] ; stop_time=[n/a] ; pid=12546 ; 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:51:33 EDT", "InactiveEnterTimestampMonotonic": "2642068724", "InactiveExitTimestamp": "Thu 2024-07-25 07:51:33 EDT", "InactiveExitTimestampMonotonic": "2642071424", "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": "12546", "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:51:33 EDT", "WatchdogTimestampMonotonic": "2642071399", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** Thursday 25 July 2024 07:51:36 -0400 (0:00:00.577) 0:03:46.312 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.019646", "end": "2024-07-25 07:51:36.455473", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:51:36.435827" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** Thursday 25 July 2024 07:51:36 -0400 (0:00:00.603) 0:03:46.916 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004186", "end": "2024-07-25 07:51:37.418545", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:51:37.414359" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* Thursday 25 July 2024 07:51:37 -0400 (0:00:00.880) 0:03:47.797 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** Thursday 25 July 2024 07:51:37 -0400 (0:00:00.085) 0:03:47.883 ********* 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": 7362, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** Thursday 25 July 2024 07:51:39 -0400 (0:00:01.512) 0:03:49.395 ********* 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.031199", "end": "2024-07-25 07:51:39.421032", "rc": 0, "start": "2024-07-25 07:51:39.389833" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU27) (KB5037331) - 15.0.4375.4 (X64) Jun 10 2024 18:00:07 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* Thursday 25 July 2024 07:51:39 -0400 (0:00:00.377) 0:03:49.773 ********* ok: [managed_node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* Thursday 25 July 2024 07:51:39 -0400 (0:00:00.072) 0:03:49.845 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* Thursday 25 July 2024 07:51:39 -0400 (0:00:00.070) 0:03:49.915 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** Thursday 25 July 2024 07:51:39 -0400 (0:00:00.067) 0:03:49.983 ********* 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:51:39 -0400 (0:00:00.068) 0:03:50.051 ********* 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:51:39 -0400 (0:00:00.069) 0:03:50.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:51:39 -0400 (0:00:00.071) 0:03:50.192 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** Thursday 25 July 2024 07:51:40 -0400 (0:00:00.068) 0:03:50.261 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** Thursday 25 July 2024 07:51:40 -0400 (0:00:00.070) 0:03:50.331 ********* 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:51:40 -0400 (0:00:00.265) 0:03:50.597 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlscert' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004192", "end": "2024-07-25 07:51:40.605271", "rc": 0, "start": "2024-07-25 07:51:40.601079" } 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:51:40 -0400 (0:00:00.365) 0:03:50.963 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlscert] ************************* Thursday 25 July 2024 07:51:40 -0400 (0:00:00.092) 0:03:51.056 ********* 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:51:40 -0400 (0:00:00.077) 0:03:51.133 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** Thursday 25 July 2024 07:51:40 -0400 (0:00:00.074) 0:03:51.208 ********* 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:51:41 -0400 (0:00:00.124) 0:03:51.332 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlskey' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004133", "end": "2024-07-25 07:51:41.337503", "rc": 0, "start": "2024-07-25 07:51:41.333370" } 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:51:41 -0400 (0:00:00.356) 0:03:51.689 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlskey] ************************** Thursday 25 July 2024 07:51:41 -0400 (0:00:00.089) 0:03:51.779 ********* 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:51:41 -0400 (0:00:00.076) 0:03:51.855 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** Thursday 25 July 2024 07:51:41 -0400 (0:00:00.073) 0:03:51.929 ********* 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:51:41 -0400 (0:00:00.126) 0:03:52.055 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tlsprotocols' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004257", "end": "2024-07-25 07:51:42.056364", "rc": 0, "start": "2024-07-25 07:51:42.052107" } STDOUT: tlsprotocols = 1.2 TASK [Verify the setting when it is type str tlsprotocols] ********************* Thursday 25 July 2024 07:51:42 -0400 (0:00:00.347) 0:03:52.403 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool tlsprotocols] ******************** Thursday 25 July 2024 07:51:42 -0400 (0:00:00.204) 0:03:52.607 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1.2] *********************************************** Thursday 25 July 2024 07:51:42 -0400 (0:00:00.077) 0:03:52.684 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** Thursday 25 July 2024 07:51:42 -0400 (0:00:00.074) 0:03:52.759 ********* 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:51:42 -0400 (0:00:00.138) 0:03:52.897 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^forceencryption' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004340", "end": "2024-07-25 07:51:42.943442", "rc": 0, "start": "2024-07-25 07:51:42.939102" } STDOUT: forceencryption = 1 TASK [Verify the setting when it is type str forceencryption] ****************** Thursday 25 July 2024 07:51:43 -0400 (0:00:00.394) 0:03:53.292 ********* 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:51:43 -0400 (0:00:00.072) 0:03:53.364 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** Thursday 25 July 2024 07:51:43 -0400 (0:00:00.090) 0:03:53.454 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** Thursday 25 July 2024 07:51:43 -0400 (0:00:00.071) 0:03:53.525 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Disable TLS encryption] ************************************************** Thursday 25 July 2024 07:51:43 -0400 (0:00:00.068) 0:03:53.594 ********* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** Thursday 25 July 2024 07:51:44 -0400 (0:00:01.281) 0:03:54.875 ********* 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:51:44 -0400 (0:00:00.114) 0:03:54.990 ********* 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:51:44 -0400 (0:00:00.093) 0:03:55.083 ********* 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:51:44 -0400 (0:00:00.109) 0:03:55.192 ********* 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:51:45 -0400 (0:00:00.069) 0:03:55.262 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Thursday 25 July 2024 07:51:45 -0400 (0:00:00.068) 0:03:55.331 ********* 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:51:45 -0400 (0:00:00.069) 0:03:55.401 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** Thursday 25 July 2024 07:51:45 -0400 (0:00:00.070) 0:03:55.472 ********* 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:51:45 -0400 (0:00:00.068) 0:03:55.540 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** Thursday 25 July 2024 07:51:45 -0400 (0:00:00.069) 0:03:55.609 ********* 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:51:45 -0400 (0:00:00.214) 0:03:55.824 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** Thursday 25 July 2024 07:51:45 -0400 (0:00:00.075) 0:03:55.899 ********* 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:51:45 -0400 (0:00:00.071) 0:03:55.971 ********* 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:51:45 -0400 (0:00:00.081) 0:03:56.052 ********* 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:51:45 -0400 (0:00:00.068) 0:03:56.121 ********* 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:51:45 -0400 (0:00:00.073) 0:03:56.195 ********* 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:51:46 -0400 (0:00:00.071) 0:03:56.266 ********* 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:51:46 -0400 (0:00:00.069) 0:03:56.335 ********* 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:51:46 -0400 (0:00:00.073) 0:03:56.409 ********* 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:51:46 -0400 (0:00:00.067) 0:03:56.476 ********* 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:51:47 -0400 (0:00:01.215) 0:03:57.692 ********* skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** Thursday 25 July 2024 07:51:47 -0400 (0:00:00.185) 0:03:57.878 ********* 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:51:47 -0400 (0:00:00.206) 0:03:58.084 ********* 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:51:47 -0400 (0:00:00.079) 0:03:58.163 ********* 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:51:48 -0400 (0:00:00.134) 0:03:58.298 ********* ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** Thursday 25 July 2024 07:51:48 -0400 (0:00:00.535) 0:03:58.834 ********* 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:51:48 -0400 (0:00:00.072) 0:03:58.906 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** Thursday 25 July 2024 07:51:48 -0400 (0:00:00.079) 0:03:58.985 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** Thursday 25 July 2024 07:51:48 -0400 (0:00:00.077) 0:03:59.063 ********* 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:51:48 -0400 (0:00:00.073) 0:03:59.137 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** Thursday 25 July 2024 07:51:48 -0400 (0:00:00.076) 0:03:59.213 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** Thursday 25 July 2024 07:51:49 -0400 (0:00:00.072) 0:03:59.286 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** Thursday 25 July 2024 07:51:49 -0400 (0:00:00.107) 0:03:59.393 ********* 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:51:49 -0400 (0:00:00.071) 0:03:59.464 ********* 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:51:49 -0400 (0:00:00.615) 0:04:00.080 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** Thursday 25 July 2024 07:51:50 -0400 (0:00:00.574) 0:04:00.655 ********* 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:51:50 -0400 (0:00:00.212) 0:04:00.867 ********* 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.005051", "end": "2024-07-25 07:51:50.873997", "rc": 0, "start": "2024-07-25 07:51:50.868946" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** Thursday 25 July 2024 07:51:50 -0400 (0:00:00.361) 0:04:01.229 ********* 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:51:51 -0400 (0:00:00.907) 0:04:02.136 ********* ok: [managed_node1] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** Thursday 25 July 2024 07:51:51 -0400 (0:00:00.100) 0:04:02.236 ********* 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:51:52 -0400 (0:00:00.076) 0:04:02.313 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** Thursday 25 July 2024 07:51:52 -0400 (0:00:00.074) 0:04:02.387 ********* 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:51:52 -0400 (0:00:00.083) 0:04:02.470 ********* 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:51:52 -0400 (0:00:00.074) 0:04:02.544 ********* 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:51:52 -0400 (0:00:00.070) 0:04:02.615 ********* 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:51:52 -0400 (0:00:00.571) 0:04:03.187 ********* 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": "systemd-sysctl.service basic.target dbus.service systemd-journald.socket network.target system.slice", "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": "polkit.service basic.target 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:51:53 -0400 (0:00:00.467) 0:04:03.654 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.084752", "end": "2024-07-25 07:51:53.739154", "rc": 0, "start": "2024-07-25 07:51:53.654402" } 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:51:53 -0400 (0:00:00.436) 0:04:04.091 ********* 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:51:53 -0400 (0:00:00.071) 0:04:04.162 ********* 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:51:53 -0400 (0:00:00.073) 0:04:04.236 ********* 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:51:54 -0400 (0:00:00.217) 0:04:04.453 ********* 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:51:54 -0400 (0:00:00.364) 0:04:04.818 ********* 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:51:54 -0400 (0:00:00.073) 0:04:04.891 ********* 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:51:55 -0400 (0:00:00.568) 0:04:05.460 ********* 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:51:55 -0400 (0:00:00.074) 0:04:05.534 ********* 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:51:55 -0400 (0:00:00.074) 0:04:05.609 ********* 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:51:55 -0400 (0:00:00.076) 0:04:05.685 ********* 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:51:55 -0400 (0:00:00.072) 0:04:05.758 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** Thursday 25 July 2024 07:51:55 -0400 (0:00:00.075) 0:04:05.833 ********* 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:51:55 -0400 (0:00:00.078) 0:04:05.912 ********* 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:51:55 -0400 (0:00:00.068) 0:04:05.981 ********* 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:51:55 -0400 (0:00:00.072) 0:04:06.054 ********* 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.007550", "end": "2024-07-25 07:51:56.071836", "rc": 0, "start": "2024-07-25 07:51:56.064286" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** Thursday 25 July 2024 07:51:56 -0400 (0:00:00.368) 0:04:06.422 ********* 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:51:56 -0400 (0:00:00.074) 0:04:06.497 ********* 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:51:57 -0400 (0:00:01.542) 0:04:08.040 ********* 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:51:57 -0400 (0:00:00.078) 0:04:08.118 ********* 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:51:57 -0400 (0:00:00.073) 0:04:08.191 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** Thursday 25 July 2024 07:51:58 -0400 (0:00:00.074) 0:04:08.266 ********* 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:51:58 -0400 (0:00:00.074) 0:04:08.340 ********* 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:51:58 -0400 (0:00:00.127) 0:04:08.468 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003079", "end": "2024-07-25 07:51:58.481166", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:51:58.478087" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** Thursday 25 July 2024 07:51:58 -0400 (0:00:00.365) 0:04:08.834 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.116499", "end": "2024-07-25 07:51:58.974687", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:51:58.858188" } 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:51:59 -0400 (0:00:00.503) 0:04:09.337 ********* 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:51:59 -0400 (0:00:00.071) 0:04:09.409 ********* 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:51:59 -0400 (0:00:00.070) 0:04:09.479 ********* 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:51:59 -0400 (0:00:00.070) 0:04:09.549 ********* 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:51:59 -0400 (0:00:00.070) 0:04:09.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:51:59 -0400 (0:00:00.070) 0:04:09.690 ********* 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:51:59 -0400 (0:00:00.214) 0:04:09.905 ********* 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:51:59 -0400 (0:00:00.072) 0:04:09.978 ********* 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:51:59 -0400 (0:00:00.077) 0:04:10.055 ********* 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:51:59 -0400 (0:00:00.072) 0:04:10.128 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** Thursday 25 July 2024 07:51:59 -0400 (0:00:00.072) 0:04:10.200 ********* 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:52:00 -0400 (0:00:00.075) 0:04:10.276 ********* 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:52:00 -0400 (0:00:00.075) 0:04:10.351 ********* 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:52:00 -0400 (0:00:00.089) 0:04:10.440 ********* 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:52:00 -0400 (0:00:00.127) 0:04:10.567 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlscert = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003157", "end": "2024-07-25 07:52:00.566607", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:52:00.563450" } 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:52:00 -0400 (0:00:00.347) 0:04:10.914 ********* 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:52:00 -0400 (0:00:00.080) 0:04:10.995 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlscert" ], "delta": "0:00:00.116545", "end": "2024-07-25 07:52:01.133394", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:52:01.016849" } 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:52:01 -0400 (0:00:00.503) 0:04:11.498 ********* 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:52:01 -0400 (0:00:00.135) 0:04:11.633 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlskey = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003262", "end": "2024-07-25 07:52:01.650457", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:52:01.647195" } 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:52:01 -0400 (0:00:00.368) 0:04:12.002 ********* 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:52:01 -0400 (0:00:00.081) 0:04:12.084 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlskey" ], "delta": "0:00:00.117566", "end": "2024-07-25 07:52:02.240961", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:52:02.123395" } 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:52:02 -0400 (0:00:00.516) 0:04:12.601 ********* 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:52:02 -0400 (0:00:00.135) 0:04:12.737 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tlsprotocols = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003160", "end": "2024-07-25 07:52:02.756076", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:52:02.752916" } STDOUT: tlsprotocols = 1.2 TASK [fedora.linux_system_roles.mssql : Configure the setting network tlsprotocols] *** Thursday 25 July 2024 07:52:02 -0400 (0:00:00.381) 0:04:13.118 ********* 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:52:02 -0400 (0:00:00.084) 0:04:13.202 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.tlsprotocols" ], "delta": "0:00:00.117309", "end": "2024-07-25 07:52:03.329228", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:52:03.211919" } 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:52:03 -0400 (0:00:00.484) 0:04:13.686 ********* 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:52:03 -0400 (0:00:00.136) 0:04:13.823 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^forceencryption = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003259", "end": "2024-07-25 07:52:03.834139", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:52:03.830880" } STDOUT: forceencryption = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting network forceencryption] *** Thursday 25 July 2024 07:52:03 -0400 (0:00:00.364) 0:04:14.188 ********* 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:52:04 -0400 (0:00:00.080) 0:04:14.269 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "unset", "network.forceencryption" ], "delta": "0:00:00.115622", "end": "2024-07-25 07:52:04.397803", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:52:04.282181" } 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:52:04 -0400 (0:00:00.504) 0:04:14.774 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** Thursday 25 July 2024 07:52:04 -0400 (0:00:00.074) 0:04:14.848 ********* 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:52:04 -0400 (0:00:00.071) 0:04:14.920 ********* 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:52:04 -0400 (0:00:00.070) 0:04:14.990 ********* 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:52:04 -0400 (0:00:00.073) 0:04:15.063 ********* 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:52:05 -0400 (0:00:00.217) 0:04:15.281 ********* 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:52:05 -0400 (0:00:00.072) 0:04:15.353 ********* 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:52:05 -0400 (0:00:00.075) 0:04:15.429 ********* 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:52:05 -0400 (0:00:00.073) 0:04:15.502 ********* 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:52:05 -0400 (0:00:00.077) 0:04:15.580 ********* 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:52:05 -0400 (0:00:00.077) 0:04:15.657 ********* 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:52:05 -0400 (0:00:00.075) 0:04:15.733 ********* 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:52:05 -0400 (0:00:00.076) 0:04:15.809 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* Thursday 25 July 2024 07:52:05 -0400 (0:00:00.069) 0:04:15.878 ********* 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:52:05 -0400 (0:00:00.073) 0:04:15.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 correct permissions and ownership on the keytab] *** Thursday 25 July 2024 07:52:05 -0400 (0:00:00.069) 0:04:16.022 ********* 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:52:05 -0400 (0:00:00.071) 0:04:16.094 ********* 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:52:05 -0400 (0:00:00.074) 0:04:16.168 ********* 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:52:05 -0400 (0:00:00.069) 0:04:16.237 ********* 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:52:06 -0400 (0:00:00.073) 0:04:16.311 ********* 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:52:06 -0400 (0:00:00.070) 0:04:16.382 ********* 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:52:06 -0400 (0:00:00.072) 0:04:16.454 ********* 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:52:06 -0400 (0:00:00.069) 0:04:16.523 ********* 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:52:06 -0400 (0:00:00.073) 0:04:16.597 ********* 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:52:06 -0400 (0:00:00.219) 0:04:16.817 ********* 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:52:06 -0400 (0:00:00.073) 0:04:16.890 ********* 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:52:06 -0400 (0:00:00.073) 0:04:16.964 ********* 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:52:06 -0400 (0:00:00.084) 0:04:17.048 ********* 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:52:06 -0400 (0:00:00.076) 0:04:17.124 ********* 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:52:06 -0400 (0:00:00.075) 0:04:17.200 ********* 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:52:07 -0400 (0:00:00.088) 0:04:17.289 ********* 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:52:07 -0400 (0:00:00.073) 0:04:17.362 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** Thursday 25 July 2024 07:52:07 -0400 (0:00:00.072) 0:04:17.435 ********* 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:52:07 -0400 (0:00:00.071) 0:04:17.506 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* Thursday 25 July 2024 07:52:07 -0400 (0:00:00.072) 0:04:17.579 ********* 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:52:07 -0400 (0:00:00.068) 0:04:17.647 ********* 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:52:07 -0400 (0:00:00.071) 0:04:17.719 ********* 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:52:07 -0400 (0:00:00.074) 0:04:17.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:52:07 -0400 (0:00:00.070) 0:04:17.865 ********* 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:52:07 -0400 (0:00:00.070) 0:04:17.935 ********* 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:52:07 -0400 (0:00:00.070) 0:04:18.005 ********* 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:52:07 -0400 (0:00:00.071) 0:04:18.077 ********* 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:52:07 -0400 (0:00:00.088) 0:04:18.165 ********* 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:52:08 -0400 (0:00:00.214) 0:04:18.379 ********* 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:52:08 -0400 (0:00:00.074) 0:04:18.454 ********* 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:52:08 -0400 (0:00:00.073) 0:04:18.528 ********* 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:52:08 -0400 (0:00:00.075) 0:04:18.603 ********* 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:52:08 -0400 (0:00:00.081) 0:04:18.684 ********* 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:52:08 -0400 (0:00:00.074) 0:04:18.759 ********* 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:52:08 -0400 (0:00:00.069) 0:04:18.829 ********* 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:52:08 -0400 (0:00:00.075) 0:04:18.905 ********* 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:52:08 -0400 (0:00:00.070) 0:04:18.975 ********* 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:52:09 -0400 (0:00:00.462) 0:04:19.438 ********* changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:51:33 EDT", "ActiveEnterTimestampMonotonic": "2642071424", "ActiveExitTimestamp": "Thu 2024-07-25 07:51:33 EDT", "ActiveExitTimestampMonotonic": "2641826702", "ActiveState": "active", "After": "basic.target -.mount auditd.service network.target systemd-journald.socket system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:51:33 EDT", "AssertTimestampMonotonic": "2642070660", "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:51:33 EDT", "ConditionTimestampMonotonic": "2642070658", "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": "12546", "ExecMainStartTimestamp": "Thu 2024-07-25 07:51:33 EDT", "ExecMainStartTimestampMonotonic": "2642071355", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:51:33 EDT] ; stop_time=[n/a] ; pid=12546 ; 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:51:33 EDT", "InactiveEnterTimestampMonotonic": "2642068724", "InactiveExitTimestamp": "Thu 2024-07-25 07:51:33 EDT", "InactiveExitTimestampMonotonic": "2642071424", "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": "12546", "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:51:33 EDT", "WatchdogTimestampMonotonic": "2642071399", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:52:09 -0400 (0:00:00.784) 0:04:20.222 ********* 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:52:10 -0400 (0:00:00.070) 0:04:20.293 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Clean up after the role invocation] ************************************** Thursday 25 July 2024 07:52:10 -0400 (0:00:00.068) 0:04:20.362 ********* 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:52:10 -0400 (0:00:00.136) 0:04:20.498 ********* 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:52:12 -0400 (0:00:02.110) 0:04:22.609 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** Thursday 25 July 2024 07:52:12 -0400 (0:00:00.095) 0:04:22.704 ********* ok: [managed_node1] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** Thursday 25 July 2024 07:52:12 -0400 (0:00:00.076) 0:04:22.780 ********* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** Thursday 25 July 2024 07:52:12 -0400 (0:00:00.181) 0:04:22.962 ********* 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:52:12 -0400 (0:00:00.133) 0:04:23.095 ********* 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:52:12 -0400 (0:00:00.097) 0:04:23.193 ********* 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:52:13 -0400 (0:00:00.842) 0:04:24.035 ********* 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:52:13 -0400 (0:00:00.074) 0:04:24.110 ********* 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:52:14 -0400 (0:00:00.575) 0:04:24.685 ********* ok: [managed_node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** Thursday 25 July 2024 07:52:14 -0400 (0:00:00.075) 0:04:24.760 ********* 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:52:15 -0400 (0:00:00.559) 0:04:25.320 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** Thursday 25 July 2024 07:52:15 -0400 (0:00:00.190) 0:04:25.511 ********* 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:52:15 -0400 (0:00:00.071) 0:04:25.582 ********* 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:52:15 -0400 (0:00:00.074) 0:04:25.657 ********* 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:52:15 -0400 (0:00:00.070) 0:04:25.728 ********* 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:52:15 -0400 (0:00:00.084) 0:04:25.813 ********* ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:11:16 EDT", "ActiveEnterTimestampMonotonic": "224562844", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target dbus.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:11:15 EDT", "AssertTimestampMonotonic": "223566636", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-07-25 07:11:15 EDT", "ConditionTimestampMonotonic": "223566634", "Conflicts": "ipset.service shutdown.target ip6tables.service ebtables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "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:52:16 -0400 (0:00:00.458) 0:04:26.271 ********* 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": "polkit.service basic.target dbus.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:11:15 EDT", "AssertTimestampMonotonic": "223566636", "Before": "network-pre.target shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-07-25 07:11:15 EDT", "ConditionTimestampMonotonic": "223566634", "Conflicts": "ipset.service shutdown.target ip6tables.service ebtables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "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:52:16 -0400 (0:00:00.451) 0:04:26.722 ********* 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:52:16 -0400 (0:00:00.081) 0:04:26.803 ********* 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:52:16 -0400 (0:00:00.357) 0:04:27.161 ********* ok: [managed_node1] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** Thursday 25 July 2024 07:52:16 -0400 (0:00:00.079) 0:04:27.240 ********* TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** Thursday 25 July 2024 07:52:17 -0400 (0:00:00.070) 0:04:27.311 ********* TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* Thursday 25 July 2024 07:52:17 -0400 (0:00:00.073) 0:04:27.384 ********* 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:52:17 -0400 (0:00:00.079) 0:04:27.464 ********* 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:52:17 -0400 (0:00:00.073) 0:04:27.538 ********* 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:52:17 -0400 (0:00:00.068) 0:04:27.606 ********* 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:52:17 -0400 (0:00:00.359) 0:04:27.966 ********* 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:52:17 -0400 (0:00:00.086) 0:04:28.052 ********* skipping: [managed_node1] => {} TASK [Purge selinux configuration] ********************************************* Thursday 25 July 2024 07:52:17 -0400 (0:00:00.076) 0:04:28.128 ********* TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** Thursday 25 July 2024 07:52:18 -0400 (0:00:00.171) 0:04:28.300 ********* 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:52:18 -0400 (0:00:00.128) 0:04:28.428 ********* 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:52:18 -0400 (0:00:00.101) 0:04:28.530 ********* 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:52:18 -0400 (0:00:00.132) 0:04:28.662 ********* 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:52:18 -0400 (0:00:00.347) 0:04:29.010 ********* 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:52:18 -0400 (0:00:00.077) 0:04:29.087 ********* 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:52:19 -0400 (0:00:00.342) 0:04:29.430 ********* 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:52:19 -0400 (0:00:00.079) 0:04:29.509 ********* 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:52:19 -0400 (0:00:00.562) 0:04:30.072 ********* 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:52:19 -0400 (0:00:00.077) 0:04:30.150 ********* 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:52:19 -0400 (0:00:00.073) 0:04:30.223 ********* 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:52:20 -0400 (0:00:00.074) 0:04:30.298 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** Thursday 25 July 2024 07:52:20 -0400 (0:00:00.074) 0:04:30.372 ********* 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:52:20 -0400 (0:00:00.070) 0:04:30.443 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** Thursday 25 July 2024 07:52:20 -0400 (0:00:00.075) 0:04:30.518 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** Thursday 25 July 2024 07:52:20 -0400 (0:00:00.596) 0:04:31.114 ********* 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:52:20 -0400 (0:00:00.069) 0:04:31.184 ********* 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:52:21 -0400 (0:00:00.073) 0:04:31.257 ********* 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:52:21 -0400 (0:00:00.072) 0:04:31.330 ********* 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:52:21 -0400 (0:00:00.066) 0:04:31.396 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** Thursday 25 July 2024 07:52:21 -0400 (0:00:00.067) 0:04:31.464 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:00.349163", "end": "2024-07-25 07:52:21.809523", "rc": 0, "start": "2024-07-25 07:52:21.460360" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** Thursday 25 July 2024 07:52:21 -0400 (0:00:00.696) 0:04:32.160 ********* 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:52:22 -0400 (0:00:00.202) 0:04:32.363 ********* 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:52:22 -0400 (0:00:00.075) 0:04:32.439 ********* 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:52:22 -0400 (0:00:00.069) 0:04:32.509 ********* 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:52:22 -0400 (0:00:00.074) 0:04:32.583 ********* TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** Thursday 25 July 2024 07:52:22 -0400 (0:00:00.070) 0:04:32.653 ********* TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** Thursday 25 July 2024 07:52:22 -0400 (0:00:00.075) 0:04:32.728 ********* TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** Thursday 25 July 2024 07:52:22 -0400 (0:00:00.070) 0:04:32.799 ********* TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** Thursday 25 July 2024 07:52:22 -0400 (0:00:00.070) 0:04:32.870 ********* 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:52:25 -0400 (0:00:02.907) 0:04:35.777 ********* 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:52:25 -0400 (0:00:00.094) 0:04:35.872 ********* TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** Thursday 25 July 2024 07:52:25 -0400 (0:00:00.091) 0:04:35.964 ********* TASK [Leave realm] ************************************************************* Thursday 25 July 2024 07:52:25 -0400 (0:00:00.221) 0:04:36.186 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ Thursday 25 July 2024 07:52:26 -0400 (0:00:00.125) 0:04:36.311 ********* 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:52:26 -0400 (0:00:00.127) 0:04:36.438 ********* ok: [managed_node1] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* Thursday 25 July 2024 07:52:26 -0400 (0:00:00.503) 0:04:36.942 ********* changed: [managed_node1] => { "changed": true, "changes": { "removed": [ "mssql-server", "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "adutil is not installed", "mssql-server-fts is not installed", "mssql-server-ha is not installed", "powershell is not installed", "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:15.0.4375.4-1 will be erased\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be erased\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n--> Finding unneeded leftover dependencies\n---> Marking msodbcsql17 to be removed - no longer needed by mssql-tools\n---> Marking unixODBC to be removed - no longer needed by unixODBC-devel\n---> Marking python3 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl to be removed - no longer needed by mssql-server\n---> Marking gdb to be removed - no longer needed by mssql-server\n---> Marking libatomic to be removed - no longer needed by mssql-server\n---> Marking libsss_nss_idmap to be removed - no longer needed by mssql-server\n---> Marking lsof to be removed - no longer needed by mssql-server\n---> Marking bzip2 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl-gssapi to be removed - no longer needed by mssql-server\n---> Marking libtool-ltdl to be removed - no longer needed by unixODBC\n---> Marking python3-libs to be removed - no longer needed by python3\n---> Marking python3-setuptools to be removed - no longer needed by python3\n---> Marking python3-pip to be removed - no longer needed by python3\nFound and removing 14 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package lsof.x86_64 0:4.87-6.el7 will be erased\n---> Package msodbcsql17.x86_64 0:17.10.6.1-1 will be erased\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be erased\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 15.0.4375.4-1 @packages-microsoft-com-mssql-server-2019\n 1.1 G\n mssql-tools x86_64 17.10.1.1-1 @packages-microsoft-com-prod 714 k\n unixODBC-devel x86_64 2.3.11-1.rh @packages-microsoft-com-prod 223 k\nRemoving for dependencies:\n bzip2 x86_64 1.0.6-13.el7 @base 82 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 @updates 141 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 @updates 36 k\n gdb x86_64 7.6.1-120.el7 @base 7.0 M\n libatomic x86_64 4.8.5-44.el7 @base 26 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 @updates 82 k\n libtool-ltdl x86_64 2.4.2-22.el7_3 @base 66 k\n lsof x86_64 4.87-6.el7 @base 927 k\n msodbcsql17 x86_64 17.10.6.1-1 @packages-microsoft-com-prod 2.2 M\n python3 x86_64 3.6.8-21.el7_9 @updates 39 k\n python3-libs x86_64 3.6.8-21.el7_9 @updates 35 M\n python3-pip noarch 9.0.3-8.el7 @base 9.1 M\n python3-setuptools\n noarch 39.2.0-10.el7 @base 3.6 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+14 Dependent packages)\n\nInstalled size: 1.2 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-15.0.4375.4-1.x86_64 1/17 \n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 2/17 \n Erasing : mssql-tools-17.10.1.1-1.x86_64 3/17 \n Erasing : python3-libs-3.6.8-21.el7_9.x86_64 4/17 \n Erasing : python3-pip-9.0.3-8.el7.noarch 5/17 \n Erasing : python3-setuptools-39.2.0-10.el7.noarch 6/17 \n Erasing : python3-3.6.8-21.el7_9.x86_64 7/17 \n Erasing : msodbcsql17-17.10.6.1-1.x86_64 8/17 \nODBC Driver 17 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-2.3.11-1.rh.x86_64 9/17 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 10/17 \n Erasing : libatomic-4.8.5-44.el7.x86_64 11/17 \n Erasing : bzip2-1.0.6-13.el7.x86_64 12/17 \n Erasing : gdb-7.6.1-120.el7.x86_64 13/17 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 14/17 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 15/17 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 16/17 \n Erasing : lsof-4.87-6.el7.x86_64 17/17 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/17 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 2/17 \n Verifying : python3-3.6.8-21.el7_9.x86_64 3/17 \n Verifying : mssql-server-15.0.4375.4-1.x86_64 4/17 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 5/17 \n Verifying : bzip2-1.0.6-13.el7.x86_64 6/17 \n Verifying : msodbcsql17-17.10.6.1-1.x86_64 7/17 \n Verifying : lsof-4.87-6.el7.x86_64 8/17 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 9/17 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 10/17 \n Verifying : gdb-7.6.1-120.el7.x86_64 11/17 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 12/17 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 13/17 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 14/17 \n Verifying : python3-pip-9.0.3-8.el7.noarch 15/17 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 16/17 \n Verifying : libatomic-4.8.5-44.el7.x86_64 17/17 \n\nRemoved:\n mssql-server.x86_64 0:15.0.4375.4-1 mssql-tools.x86_64 0:17.10.1.1-1 \n unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Removed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 \n lsof.x86_64 0:4.87-6.el7 \n msodbcsql17.x86_64 0:17.10.6.1-1 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** Thursday 25 July 2024 07:52:30 -0400 (0:00:03.861) 0:04:40.803 ********* [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.012744", "end": "2024-07-25 07:52:30.822156", "rc": 0, "start": "2024-07-25 07:52:30.809412" } STDOUT: removed ‘/var/opt/mssql/mssql.conf’ removed ‘/var/opt/mssql/data/model.mdf’ removed ‘/var/opt/mssql/data/templog.ldf’ removed ‘/var/opt/mssql/data/tempdb.mdf’ removed ‘/var/opt/mssql/data/msdbdata.mdf’ removed ‘/var/opt/mssql/data/Entropy.bin’ removed ‘/var/opt/mssql/data/model_replicatedmaster.ldf’ removed ‘/var/opt/mssql/data/model_replicatedmaster.mdf’ removed ‘/var/opt/mssql/data/modellog.ldf’ removed ‘/var/opt/mssql/data/tempdb2.ndf’ removed ‘/var/opt/mssql/data/msdblog.ldf’ removed ‘/var/opt/mssql/data/mastlog.ldf’ removed ‘/var/opt/mssql/data/master.mdf’ removed ‘/var/opt/mssql/data/model_msdbdata.mdf’ removed ‘/var/opt/mssql/data/model_msdblog.ldf’ removed directory: ‘/var/opt/mssql/data’ removed ‘/var/opt/mssql/secrets/machine-key’ removed directory: ‘/var/opt/mssql/secrets’ removed ‘/var/opt/mssql/.system/system/lsa.hiv’ removed directory: ‘/var/opt/mssql/.system/system/Temp’ removed ‘/var/opt/mssql/.system/system/licensing.hiv’ removed ‘/var/opt/mssql/.system/system/lsasetup.log’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/ce941dbc-e1ec-425b-bb97-79a4ce2f3466’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles/Scm’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles’ removed directory: ‘/var/opt/mssql/.system/system/system32’ removed ‘/var/opt/mssql/.system/system/security.hiv’ removed ‘/var/opt/mssql/.system/system/debug/PASSWD.LOG’ removed directory: ‘/var/opt/mssql/.system/system/debug’ removed directory: ‘/var/opt/mssql/.system/system’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Temp’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/LocalLow’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Desktop’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Documents’ removed directory: ‘/var/opt/mssql/.system/profiles/Client’ removed directory: ‘/var/opt/mssql/.system/profiles’ removed ‘/var/opt/mssql/.system/instance_id’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft’ removed directory: ‘/var/opt/mssql/.system/programdata’ removed directory: ‘/var/opt/mssql/.system’ removed ‘/var/opt/mssql/log/errorlog.8’ removed ‘/var/opt/mssql/log/system_health_0_133663817854760000.xel’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663818553550000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663817849920000.xel’ removed ‘/var/opt/mssql/log/log_4.trc’ removed ‘/var/opt/mssql/log/system_health_0_133663817249520000.xel’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/log_6.trc’ removed ‘/var/opt/mssql/log/errorlog’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663817291140000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663817508990000.xel’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/system_health_0_133663818558800000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133663818968930000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133663817513800000.xel’ removed ‘/var/opt/mssql/log/log_5.trc’ removed ‘/var/opt/mssql/log/system_health_0_133663817297630000.xel’ removed ‘/var/opt/mssql/log/errorlog.4’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663819328290000.xel’ removed ‘/var/opt/mssql/log/errorlog.2’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663818962930000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663817241430000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133663819334520000.xel’ removed ‘/var/opt/mssql/log/errorlog.7’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/mssql-conf/mssql-conf.log’ removed directory: ‘/var/opt/mssql/log/mssql-conf’ removed ‘/var/opt/mssql/log/log_7.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663818209620000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133663818215230000.xel’ removed directory: ‘/var/opt/mssql/log’ removed directory: ‘/var/opt/mssql’ removed directory: ‘/opt/mssql’ removed directory: ‘/opt/mssql-tools’ removed ‘/etc/yum.repos.d/packages-microsoft-com-mssql-server-2019.repo’ removed ‘/etc/yum.repos.d/packages-microsoft-com-prod.repo’ removed ‘/etc/systemd/system/multi-user.target.wants/mssql-server.service’ TASK [Stop the mssql-server service] ******************************************* Thursday 25 July 2024 07:52:30 -0400 (0:00:00.398) 0:04:41.202 ********* ok: [managed_node1] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.696734", "end": "2024-07-25 07:52:31.924040", "rc": 0, "start": "2024-07-25 07:52:31.227306" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** Thursday 25 July 2024 07:52:31 -0400 (0:00:01.025) 0:04:42.227 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.848692", "end": "2024-07-25 07:52:34.155252", "rc": 0, "start": "2024-07-25 07:52:32.306560" } PLAY RECAP ********************************************************************* managed_node1 : ok=388 changed=57 unreachable=0 failed=0 skipped=868 rescued=0 ignored=0 Thursday 25 July 2024 07:52:34 -0400 (0:00:02.236) 0:04:44.464 ********* =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 40.41s fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 5.69s fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 5.03s Remove related packages ------------------------------------------------- 3.86s fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 2.91s fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.24s Gather package facts ---------------------------------------------------- 2.11s Wait for mssql-server to prepare for client connections ----------------- 1.72s Wait for mssql-server to prepare for client connections ----------------- 1.60s fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.54s fedora.linux_system_roles.certificate : Ensure certificate requests ----- 1.52s Wait for mssql-server to prepare for client connections ----------------- 1.51s Wait for mssql-server to prepare for client connections ----------------- 1.51s Wait for mssql-server to prepare for client connections ----------------- 1.49s fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.48s fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.39s fedora.linux_system_roles.mssql : Get the setting network tcpport ------- 1.34s Disable TLS encryption -------------------------------------------------- 1.28s fedora.linux_system_roles.mssql : Restart the mssql-server service ------ 1.22s fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.22s