Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles PLAY [Ensure that the role is idempotent when changing the sa user password] *** TASK [Gathering Facts] ********************************************************* Thursday 25 July 2024 07:25:14 -0400 (0:00:00.026) 0:00:00.026 ********* ok: [managed_node1] TASK [Run tests_password with SQL Server 2017] ********************************* Thursday 25 July 2024 07:25:15 -0400 (0:00:00.888) 0:00:00.915 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_password.yml for managed_node1 TASK [Assert fail on EL 7 with version = 2022 and EL 9 with version != 2022] *** Thursday 25 July 2024 07:25:15 -0400 (0:00:00.029) 0:00:00.944 ********* 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:25:15 -0400 (0:00:00.086) 0:00:01.031 ********* ok: [managed_node1] TASK [Run the role] ************************************************************ Thursday 25 July 2024 07:25:16 -0400 (0:00:00.372) 0:00:01.403 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** Thursday 25 July 2024 07:25:16 -0400 (0:00:00.021) 0:00:01.425 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set up MSSQL] ************************************************************ Thursday 25 July 2024 07:25:16 -0400 (0:00:00.025) 0:00:01.450 ********* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** Thursday 25 July 2024 07:25:16 -0400 (0:00:00.325) 0:00:01.775 ********* 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:25:16 -0400 (0:00:00.029) 0:00:01.805 ********* 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:25:16 -0400 (0:00:00.023) 0:00:01.828 ********* 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:25:16 -0400 (0:00:00.054) 0:00:01.883 ********* 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:25:16 -0400 (0:00:00.020) 0:00:01.903 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Thursday 25 July 2024 07:25:16 -0400 (0:00:00.022) 0:00:01.925 ********* 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:25:16 -0400 (0:00:00.024) 0:00:01.950 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** Thursday 25 July 2024 07:25:16 -0400 (0:00:00.019) 0:00:01.969 ********* 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:25:16 -0400 (0:00:00.021) 0:00:01.991 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** Thursday 25 July 2024 07:25:16 -0400 (0:00:00.020) 0:00:02.012 ********* 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:25:16 -0400 (0:00:00.020) 0:00:02.032 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** Thursday 25 July 2024 07:25:16 -0400 (0:00:00.021) 0:00:02.053 ********* 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:25:16 -0400 (0:00:00.021) 0:00:02.075 ********* 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:25:17 -0400 (0:00:00.027) 0:00:02.102 ********* 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:25:17 -0400 (0:00:00.022) 0:00:02.124 ********* 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:25:17 -0400 (0:00:00.020) 0:00:02.145 ********* 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:25:17 -0400 (0:00:00.022) 0:00:02.167 ********* 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:25:17 -0400 (0:00:00.019) 0:00:02.187 ********* 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:25:17 -0400 (0:00:00.022) 0:00:02.210 ********* 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:25:17 -0400 (0:00:00.023) 0:00:02.234 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** Thursday 25 July 2024 07:25:18 -0400 (0:00:01.354) 0:00:03.588 ********* 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:25:18 -0400 (0:00:00.100) 0:00:03.689 ********* 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:25:18 -0400 (0:00:00.085) 0:00:03.775 ********* 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:25:18 -0400 (0:00:00.057) 0:00:03.832 ********* 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:25:18 -0400 (0:00:00.087) 0:00:03.920 ********* 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:25:19 -0400 (0:00:00.597) 0:00:04.517 ********* 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:25:19 -0400 (0:00:00.052) 0:00:04.570 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** Thursday 25 July 2024 07:25:19 -0400 (0:00:00.055) 0:00:04.626 ********* 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:25:19 -0400 (0:00:00.052) 0:00:04.679 ********* 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:25:19 -0400 (0:00:00.052) 0:00:04.731 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** Thursday 25 July 2024 07:25:19 -0400 (0:00:00.054) 0:00:04.786 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** Thursday 25 July 2024 07:25:19 -0400 (0:00:00.054) 0:00:04.840 ********* changed: [managed_node1] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2017", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** Thursday 25 July 2024 07:25:20 -0400 (0:00:00.497) 0:00:05.338 ********* 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:25:20 -0400 (0:00:00.051) 0:00:05.389 ********* 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:25:21 -0400 (0:00:00.745) 0:00:06.135 ********* changed: [managed_node1] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3465.1-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-14.0.3465.1-1.x86_64\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be installed\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 14.0.3465.1-1 packages-microsoft-com-mssql-server-2017\n 200 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 base 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 updates 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 updates 41 k\n gdb x86_64 7.6.1-120.el7 base 2.4 M\n libatomic x86_64 4.8.5-44.el7 base 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 updates 170 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+6 Dependent packages)\n\nTotal size: 203 M\nInstalled size: 1.0 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libatomic-4.8.5-44.el7.x86_64 1/7 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 2/7 \n Installing : gdb-7.6.1-120.el7.x86_64 3/7 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Installing : bzip2-1.0.6-13.el7.x86_64 5/7 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 6/7 \n Installing : mssql-server-14.0.3465.1-1.x86_64 7/7 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\nSQL Server needs to be restarted in order to apply this setting. Please run\n'systemctl restart mssql-server.service'.\n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 1/7 \n Verifying : bzip2-1.0.6-13.el7.x86_64 2/7 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 3/7 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Verifying : gdb-7.6.1-120.el7.x86_64 5/7 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/7 \n Verifying : libatomic-4.8.5-44.el7.x86_64 7/7 \n\nInstalled:\n mssql-server.x86_64 0:14.0.3465.1-1 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n\nComplete!\n" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** Thursday 25 July 2024 07:25:56 -0400 (0:00:35.813) 0:00:41.949 ********* 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:25:56 -0400 (0:00:00.051) 0:00:42.000 ********* 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.005788", "end": "2024-07-25 07:25:57.297076", "rc": 0, "start": "2024-07-25 07:25:57.291288" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** Thursday 25 July 2024 07:25:57 -0400 (0:00:00.467) 0:00:42.468 ********* 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:25:58 -0400 (0:00:01.040) 0:00:43.509 ********* 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:25:58 -0400 (0:00:00.079) 0:00:43.588 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** Thursday 25 July 2024 07:25:58 -0400 (0:00:00.065) 0:00:43.654 ********* 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:26:05 -0400 (0:00:06.681) 0:00:50.335 ********* 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:26:05 -0400 (0:00:00.074) 0:00:50.409 ********* 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:26:05 -0400 (0:00:00.061) 0:00:50.471 ********* 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:26:05 -0400 (0:00:00.057) 0:00:50.528 ********* 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:26:06 -0400 (0:00:00.728) 0:00:51.257 ********* 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": "dbus.service systemd-journald.socket systemd-sysctl.service basic.target network.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:07:57 EDT", "AssertTimestampMonotonic": "26119412", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "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": "dbus.service polkit.service system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "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:26:07 -0400 (0:00:01.030) 0:00:52.287 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.155673", "end": "2024-07-25 07:26:07.679251", "rc": 0, "start": "2024-07-25 07:26:07.523578" } 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:26:07 -0400 (0:00:00.588) 0:00:52.876 ********* 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:26:07 -0400 (0:00:00.062) 0:00:52.938 ********* 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:26:07 -0400 (0:00:00.060) 0:00:52.999 ********* 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:26:07 -0400 (0:00:00.059) 0:00:53.059 ********* 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:26:08 -0400 (0:00:00.819) 0:00:53.878 ********* 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:26:08 -0400 (0:00:00.057) 0:00:53.936 ********* 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:26:13 -0400 (0:00:04.652) 0:00:58.589 ********* 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:26:13 -0400 (0:00:00.060) 0:00:58.649 ********* 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:26:13 -0400 (0:00:00.059) 0:00:58.709 ********* 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:26:13 -0400 (0:00:00.058) 0:00:58.767 ********* 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:26:13 -0400 (0:00:00.058) 0:00:58.826 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** Thursday 25 July 2024 07:26:13 -0400 (0:00:00.061) 0:00:58.888 ********* 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:26:13 -0400 (0:00:00.059) 0:00:58.947 ********* 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:26:13 -0400 (0:00:00.057) 0:00:59.005 ********* 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:26:13 -0400 (0:00:00.059) 0:00:59.065 ********* 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:26:14 -0400 (0:00:00.059) 0:00:59.124 ********* 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:26:14 -0400 (0:00:00.099) 0:00:59.224 ********* 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:26:14 -0400 (0:00:00.061) 0:00:59.285 ********* 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:26:14 -0400 (0:00:00.059) 0:00:59.344 ********* 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:26:14 -0400 (0:00:00.057) 0:00:59.401 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** Thursday 25 July 2024 07:26:14 -0400 (0:00:00.059) 0:00:59.460 ********* 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:26:14 -0400 (0:00:00.061) 0:00:59.522 ********* 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:26:14 -0400 (0:00:00.105) 0:00:59.628 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003543", "end": "2024-07-25 07:26:14.777988", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:26:14.774445" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** Thursday 25 July 2024 07:26:14 -0400 (0:00:00.327) 0:00:59.955 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.044846", "end": "2024-07-25 07:26:15.159808", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:26:15.114962" } 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:26:15 -0400 (0:00:00.388) 0:01:00.344 ********* 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:26:15 -0400 (0:00:00.060) 0:01:00.404 ********* 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:26:15 -0400 (0:00:00.060) 0:01:00.465 ********* 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:26:15 -0400 (0:00:00.059) 0:01:00.525 ********* 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:26:15 -0400 (0:00:00.062) 0:01:00.587 ********* 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:26:15 -0400 (0:00:00.057) 0:01:00.644 ********* 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:26:15 -0400 (0:00:00.060) 0:01:00.705 ********* 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:26:15 -0400 (0:00:00.058) 0:01:00.763 ********* 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:26:15 -0400 (0:00:00.108) 0:01:00.872 ********* 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:26:15 -0400 (0:00:00.058) 0:01:00.931 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** Thursday 25 July 2024 07:26:15 -0400 (0:00:00.061) 0:01:00.992 ********* 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:26:15 -0400 (0:00:00.060) 0:01:01.053 ********* 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:26:16 -0400 (0:00:00.059) 0:01:01.112 ********* skipping: [managed_node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* Thursday 25 July 2024 07:26:16 -0400 (0:00:00.068) 0:01:01.181 ********* 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:26:16 -0400 (0:00:00.057) 0:01:01.238 ********* 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:26:16 -0400 (0:00:00.059) 0:01:01.297 ********* 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:26:16 -0400 (0:00:00.061) 0:01:01.359 ********* 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:26:16 -0400 (0:00:00.058) 0:01:01.418 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** Thursday 25 July 2024 07:26:16 -0400 (0:00:00.062) 0:01:01.480 ********* 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:26:16 -0400 (0:00:00.061) 0:01:01.542 ********* 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:26:16 -0400 (0:00:00.063) 0:01:01.605 ********* 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:26:16 -0400 (0:00:00.063) 0:01:01.668 ********* 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:26:16 -0400 (0:00:00.065) 0:01:01.734 ********* 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:26:16 -0400 (0:00:00.061) 0:01:01.795 ********* 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:26:16 -0400 (0:00:00.063) 0:01:01.858 ********* 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:26:16 -0400 (0:00:00.062) 0:01:01.920 ********* 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:26:16 -0400 (0:00:00.064) 0:01:01.985 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** Thursday 25 July 2024 07:26:17 -0400 (0:00:00.114) 0:01:02.099 ********* 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:26:17 -0400 (0:00:00.061) 0:01:02.160 ********* 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:26:17 -0400 (0:00:00.064) 0:01:02.225 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* Thursday 25 July 2024 07:26:17 -0400 (0:00:00.059) 0:01:02.284 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** Thursday 25 July 2024 07:26:17 -0400 (0:00:00.061) 0:01:02.346 ********* 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:26:17 -0400 (0:00:00.061) 0:01:02.407 ********* 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:26:17 -0400 (0:00:00.058) 0:01:02.466 ********* 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:26:17 -0400 (0:00:00.061) 0:01:02.527 ********* 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:26:17 -0400 (0:00:00.058) 0:01:02.585 ********* 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:26:17 -0400 (0:00:00.061) 0:01:02.646 ********* 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:26:17 -0400 (0:00:00.060) 0:01:02.707 ********* 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:26:17 -0400 (0:00:00.059) 0:01:02.766 ********* 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:26:17 -0400 (0:00:00.060) 0:01:02.827 ********* 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:26:17 -0400 (0:00:00.059) 0:01:02.887 ********* 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:26:17 -0400 (0:00:00.061) 0:01:02.948 ********* 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:26:17 -0400 (0:00:00.058) 0:01:03.007 ********* 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:26:17 -0400 (0:00:00.061) 0:01:03.068 ********* 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:26:18 -0400 (0:00:00.069) 0:01:03.138 ********* 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:26:18 -0400 (0:00:00.060) 0:01:03.198 ********* 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:26:18 -0400 (0:00:00.060) 0:01:03.259 ********* 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:26:18 -0400 (0:00:00.124) 0:01:03.383 ********* 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:26:18 -0400 (0:00:00.062) 0:01:03.445 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** Thursday 25 July 2024 07:26:18 -0400 (0:00:00.061) 0:01:03.506 ********* 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:26:18 -0400 (0:00:00.061) 0:01:03.567 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* Thursday 25 July 2024 07:26:18 -0400 (0:00:00.060) 0:01:03.628 ********* 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:26:18 -0400 (0:00:00.061) 0:01:03.690 ********* 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:26:18 -0400 (0:00:00.059) 0:01:03.749 ********* 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:26:18 -0400 (0:00:00.062) 0:01:03.812 ********* 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:26:18 -0400 (0:00:00.061) 0:01:03.874 ********* 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:26:18 -0400 (0:00:00.061) 0:01:03.936 ********* 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:26:18 -0400 (0:00:00.060) 0:01:03.996 ********* 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:26:18 -0400 (0:00:00.060) 0:01:04.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:26:19 -0400 (0:00:00.074) 0:01:04.132 ********* 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:26:19 -0400 (0:00:00.059) 0:01:04.192 ********* 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:26:19 -0400 (0:00:00.061) 0:01:04.254 ********* 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:26:19 -0400 (0:00:00.059) 0:01:04.313 ********* 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:26:19 -0400 (0:00:00.063) 0:01:04.376 ********* 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:26:19 -0400 (0:00:00.073) 0:01:04.449 ********* 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:26:19 -0400 (0:00:00.060) 0:01:04.510 ********* 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:26:19 -0400 (0:00:00.107) 0:01:04.617 ********* 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:26:19 -0400 (0:00:00.061) 0:01:04.679 ********* 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:26:19 -0400 (0:00:00.062) 0:01:04.741 ********* changed: [managed_node1] => { "changed": true } MSG: Block inserted TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:26:20 -0400 (0:00:00.612) 0:01:05.353 ********* 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:26:20 -0400 (0:00:00.059) 0:01:05.413 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure the mssql-server service start limit interval and burst] ******* Thursday 25 July 2024 07:26:20 -0400 (0:00:00.061) 0:01:05.475 ********* 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:26:20 -0400 (0:00:00.189) 0:01:05.664 ********* changed: [managed_node1] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** Thursday 25 July 2024 07:26:21 -0400 (0:00:00.493) 0:01:06.158 ********* changed: [managed_node1] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** Thursday 25 July 2024 07:26:21 -0400 (0:00:00.317) 0:01:06.476 ********* ok: [managed_node1] => { "changed": false, "name": null, "status": {} } TASK [Change the password with default settings. Should report Changed.] ******* Thursday 25 July 2024 07:26:21 -0400 (0:00:00.456) 0:01:06.932 ********* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** Thursday 25 July 2024 07:26:22 -0400 (0:00:00.529) 0:01:07.462 ********* 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:26:22 -0400 (0:00:00.106) 0:01:07.568 ********* 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:26:22 -0400 (0:00:00.077) 0:01:07.645 ********* 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:26:22 -0400 (0:00:00.095) 0:01:07.741 ********* 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:26:22 -0400 (0:00:00.064) 0:01:07.806 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Thursday 25 July 2024 07:26:22 -0400 (0:00:00.062) 0:01:07.868 ********* 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:26:22 -0400 (0:00:00.064) 0:01:07.932 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** Thursday 25 July 2024 07:26:22 -0400 (0:00:00.059) 0:01:07.992 ********* 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:26:22 -0400 (0:00:00.063) 0:01:08.055 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** Thursday 25 July 2024 07:26:23 -0400 (0:00:00.059) 0:01:08.115 ********* 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:26:23 -0400 (0:00:00.062) 0:01:08.177 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** Thursday 25 July 2024 07:26:23 -0400 (0:00:00.058) 0:01:08.235 ********* 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:26:23 -0400 (0:00:00.120) 0:01:08.356 ********* 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:26:23 -0400 (0:00:00.068) 0:01:08.424 ********* 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:26:23 -0400 (0:00:00.062) 0:01:08.487 ********* 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:26:23 -0400 (0:00:00.061) 0:01:08.549 ********* 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:26:23 -0400 (0:00:00.061) 0:01:08.611 ********* 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:26:23 -0400 (0:00:00.062) 0:01:08.674 ********* 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:26:23 -0400 (0:00:00.063) 0:01:08.738 ********* 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:26:23 -0400 (0:00:00.061) 0:01:08.800 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** Thursday 25 July 2024 07:26:24 -0400 (0:00:01.178) 0:01:09.978 ********* ok: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** Thursday 25 July 2024 07:26:25 -0400 (0:00:00.167) 0:01:10.146 ********* 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:26:25 -0400 (0:00:00.062) 0:01:10.208 ********* 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:26:25 -0400 (0:00:00.125) 0:01:10.334 ********* 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:26:25 -0400 (0:00:00.113) 0:01:10.448 ********* ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** Thursday 25 July 2024 07:26:25 -0400 (0:00:00.504) 0:01:10.952 ********* 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:26:25 -0400 (0:00:00.062) 0:01:11.015 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** Thursday 25 July 2024 07:26:25 -0400 (0:00:00.067) 0:01:11.082 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** Thursday 25 July 2024 07:26:26 -0400 (0:00:00.067) 0:01:11.150 ********* 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:26:26 -0400 (0:00:00.064) 0:01:11.215 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** Thursday 25 July 2024 07:26:26 -0400 (0:00:00.070) 0:01:11.285 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** Thursday 25 July 2024 07:26:26 -0400 (0:00:00.064) 0:01:11.350 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** Thursday 25 July 2024 07:26:26 -0400 (0:00:00.085) 0:01:11.436 ********* 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:26:26 -0400 (0:00:00.059) 0:01:11.495 ********* 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:26:26 -0400 (0:00:00.590) 0:01:12.086 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** Thursday 25 July 2024 07:26:27 -0400 (0:00:00.546) 0:01:12.632 ********* 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:26:27 -0400 (0:00:00.061) 0:01:12.694 ********* 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.007538", "end": "2024-07-25 07:26:27.854431", "rc": 0, "start": "2024-07-25 07:26:27.846893" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** Thursday 25 July 2024 07:26:27 -0400 (0:00:00.341) 0:01:13.036 ********* 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:26:28 -0400 (0:00:00.916) 0:01:13.953 ********* 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:26:28 -0400 (0:00:00.082) 0:01:14.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:26:29 -0400 (0:00:00.060) 0:01:14.096 ********* 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:26:29 -0400 (0:00:00.063) 0:01:14.159 ********* 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:26:29 -0400 (0:00:00.074) 0:01:14.234 ********* 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:26:29 -0400 (0:00:00.062) 0:01:14.297 ********* 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:26:29 -0400 (0:00:00.061) 0:01:14.358 ********* 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:26:29 -0400 (0:00:00.538) 0:01:14.897 ********* 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": "dbus.service systemd-journald.socket basic.target systemd-sysctl.service 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": "basic.target polkit.service system.slice dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 07:07:59 EDT", "WatchdogTimestampMonotonic": "28047298", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* Thursday 25 July 2024 07:26:30 -0400 (0:00:00.430) 0:01:15.327 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.087903", "end": "2024-07-25 07:26:30.569947", "rc": 0, "start": "2024-07-25 07:26:30.482044" } 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:26:30 -0400 (0:00:00.477) 0:01:15.804 ********* 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:26:30 -0400 (0:00:00.068) 0:01:15.872 ********* 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:26:30 -0400 (0:00:00.063) 0:01:15.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:26:30 -0400 (0:00:00.068) 0:01:16.004 ********* 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:26:31 -0400 (0:00:00.341) 0:01:16.346 ********* 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:26:31 -0400 (0:00:00.061) 0:01:16.407 ********* 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:26:31 -0400 (0:00:00.550) 0:01:16.958 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** Thursday 25 July 2024 07:26:31 -0400 (0:00:00.120) 0:01:17.078 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:26:04 EDT", "ActiveEnterTimestampMonotonic": "1113341299", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "-.mount basic.target systemd-journald.socket network.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:26:04 EDT", "AssertTimestampMonotonic": "1113339749", "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:26:04 EDT", "ConditionTimestampMonotonic": "1113339748", "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": "7035", "ExecMainStartTimestamp": "Thu 2024-07-25 07:26:04 EDT", "ExecMainStartTimestampMonotonic": "1113340513", "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:26:04 EDT", "InactiveExitTimestampMonotonic": "1113341299", "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": "7035", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 07:26:04 EDT", "WatchdogTimestampMonotonic": "1113341269", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** Thursday 25 July 2024 07:26:32 -0400 (0:00:00.436) 0:01:17.515 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003324", "end": "2024-07-25 07:26:32.675334", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:26:32.672010" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** Thursday 25 July 2024 07:26:32 -0400 (0:00:00.342) 0:01:17.858 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003182", "end": "2024-07-25 07:26:33.038227", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:26:33.035045" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* Thursday 25 July 2024 07:26:33 -0400 (0:00:00.359) 0:01:18.217 ********* 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 : Wait for mssql-server to prepare for client connections] *** Thursday 25 July 2024 07:26:33 -0400 (0:00:00.076) 0:01:18.294 ********* 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": 7378, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** Thursday 25 July 2024 07:26:34 -0400 (0:00:01.528) 0:01:19.822 ********* fatal: [managed_node1]: FAILED! => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ...ignoring TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** Thursday 25 July 2024 07:26:35 -0400 (0:00:00.365) 0:01:20.187 ********* changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:26:04 EDT", "ActiveEnterTimestampMonotonic": "1113341299", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "-.mount basic.target systemd-journald.socket network.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:26:04 EDT", "AssertTimestampMonotonic": "1113339749", "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:26:04 EDT", "ConditionTimestampMonotonic": "1113339748", "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": "7035", "ExecMainStartTimestamp": "Thu 2024-07-25 07:26:04 EDT", "ExecMainStartTimestampMonotonic": "1113340513", "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:26:04 EDT", "InactiveExitTimestampMonotonic": "1113341299", "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": "7035", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 07:26:04 EDT", "WatchdogTimestampMonotonic": "1113341269", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:26:36 -0400 (0:00:01.550) 0:01:21.738 ********* 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 password of sa user] ******** Thursday 25 July 2024 07:26:37 -0400 (0:00:01.232) 0:01:22.970 ********* changed: [managed_node1] => { "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 : Pre-input SQL script files to SQL Server] *** Thursday 25 July 2024 07:26:41 -0400 (0:00:03.846) 0:01:26.817 ********* 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:26:41 -0400 (0:00:00.116) 0:01:26.933 ********* 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:26:41 -0400 (0:00:00.065) 0:01:26.999 ********* 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:26:41 -0400 (0:00:00.069) 0:01:27.069 ********* 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:26:42 -0400 (0:00:00.063) 0:01:27.132 ********* 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:26:42 -0400 (0:00:00.067) 0:01:27.200 ********* 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:26:42 -0400 (0:00:00.062) 0:01:27.263 ********* 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:26:42 -0400 (0:00:00.064) 0:01:27.327 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** Thursday 25 July 2024 07:26:42 -0400 (0:00:00.065) 0:01:27.392 ********* 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:26:42 -0400 (0:00:00.062) 0:01:27.455 ********* 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:26:42 -0400 (0:00:00.113) 0:01:27.568 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003277", "end": "2024-07-25 07:26:42.723599", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:26:42.720322" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** Thursday 25 July 2024 07:26:42 -0400 (0:00:00.335) 0:01:27.904 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.048996", "end": "2024-07-25 07:26:43.101651", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:26:43.052655" } 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 tcpport] ***** Thursday 25 July 2024 07:26:43 -0400 (0:00:00.385) 0:01:28.290 ********* 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:26:43 -0400 (0:00:00.061) 0:01:28.352 ********* 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:26:43 -0400 (0:00:00.063) 0:01:28.416 ********* 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:26:43 -0400 (0:00:00.065) 0:01:28.481 ********* 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:26:43 -0400 (0:00:00.063) 0:01:28.545 ********* 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:26:43 -0400 (0:00:00.125) 0:01:28.670 ********* 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:26:43 -0400 (0:00:00.065) 0:01:28.735 ********* 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:26:43 -0400 (0:00:00.063) 0:01:28.799 ********* 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:26:43 -0400 (0:00:00.061) 0:01:28.860 ********* 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:26:43 -0400 (0:00:00.064) 0:01:28.925 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** Thursday 25 July 2024 07:26:43 -0400 (0:00:00.065) 0:01:28.991 ********* 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:26:43 -0400 (0:00:00.061) 0:01:29.053 ********* 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:26:44 -0400 (0:00:00.064) 0:01:29.118 ********* skipping: [managed_node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* Thursday 25 July 2024 07:26:44 -0400 (0:00:00.070) 0:01:29.188 ********* 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:26:44 -0400 (0:00:00.064) 0:01:29.252 ********* 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:26:44 -0400 (0:00:00.061) 0:01:29.314 ********* 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:26:44 -0400 (0:00:00.064) 0:01:29.379 ********* 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:26:44 -0400 (0:00:00.063) 0:01:29.442 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** Thursday 25 July 2024 07:26:44 -0400 (0:00:00.062) 0:01:29.504 ********* 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:26:44 -0400 (0:00:00.065) 0:01:29.570 ********* 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:26:44 -0400 (0:00:00.060) 0:01:29.630 ********* 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:26:44 -0400 (0:00:00.068) 0:01:29.698 ********* 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:26:44 -0400 (0:00:00.069) 0:01:29.768 ********* 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:26:44 -0400 (0:00:00.062) 0:01:29.831 ********* 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:26:44 -0400 (0:00:00.127) 0:01:29.959 ********* 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:26:44 -0400 (0:00:00.064) 0:01:30.023 ********* 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:26:45 -0400 (0:00:00.067) 0:01:30.091 ********* 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:26:45 -0400 (0:00:00.060) 0:01:30.151 ********* 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:26:45 -0400 (0:00:00.063) 0:01:30.214 ********* 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:26:45 -0400 (0:00:00.063) 0:01:30.278 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* Thursday 25 July 2024 07:26:45 -0400 (0:00:00.062) 0:01:30.341 ********* 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:26:45 -0400 (0:00:00.063) 0:01:30.404 ********* 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:26:45 -0400 (0:00:00.062) 0:01:30.466 ********* 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:26:45 -0400 (0:00:00.065) 0:01:30.532 ********* 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:26:45 -0400 (0:00:00.062) 0:01:30.595 ********* 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:26:45 -0400 (0:00:00.064) 0:01:30.660 ********* 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:26:45 -0400 (0:00:00.067) 0:01:30.727 ********* 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:26:45 -0400 (0:00:00.063) 0:01:30.791 ********* 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:26:45 -0400 (0:00:00.065) 0:01:30.856 ********* 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:26:45 -0400 (0:00:00.065) 0:01:30.922 ********* 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:26:45 -0400 (0:00:00.064) 0:01:30.986 ********* 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:26:45 -0400 (0:00:00.066) 0:01:31.052 ********* 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:26:46 -0400 (0:00:00.062) 0:01:31.115 ********* 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:26:46 -0400 (0:00:00.129) 0:01:31.245 ********* 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:26:46 -0400 (0:00:00.077) 0:01:31.322 ********* 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:26:46 -0400 (0:00:00.066) 0:01:31.388 ********* 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:26:46 -0400 (0:00:00.064) 0:01:31.453 ********* 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:26:46 -0400 (0:00:00.080) 0:01:31.533 ********* 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:26:46 -0400 (0:00:00.065) 0:01:31.599 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** Thursday 25 July 2024 07:26:46 -0400 (0:00:00.064) 0:01:31.663 ********* 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:26:46 -0400 (0:00:00.068) 0:01:31.732 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* Thursday 25 July 2024 07:26:46 -0400 (0:00:00.065) 0:01:31.797 ********* 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:26:46 -0400 (0:00:00.068) 0:01:31.866 ********* 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:26:46 -0400 (0:00:00.064) 0:01:31.930 ********* 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:26:46 -0400 (0:00:00.067) 0:01:31.998 ********* 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:26:46 -0400 (0:00:00.066) 0:01:32.065 ********* 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:26:47 -0400 (0:00:00.063) 0:01:32.128 ********* 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:26:47 -0400 (0:00:00.066) 0:01:32.194 ********* 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:26:47 -0400 (0:00:00.064) 0:01:32.259 ********* 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:26:47 -0400 (0:00:00.079) 0:01:32.338 ********* 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:26:47 -0400 (0:00:00.067) 0:01:32.405 ********* 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:26:47 -0400 (0:00:00.063) 0:01:32.468 ********* 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:26:47 -0400 (0:00:00.125) 0:01:32.593 ********* 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:26:47 -0400 (0:00:00.066) 0:01:32.660 ********* 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:26:47 -0400 (0:00:00.074) 0:01:32.734 ********* 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:26:47 -0400 (0:00:00.060) 0:01:32.794 ********* 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:26:47 -0400 (0:00:00.062) 0:01:32.857 ********* 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:26:47 -0400 (0:00:00.065) 0:01:32.923 ********* 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:26:47 -0400 (0:00:00.063) 0:01:32.986 ********* 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:26:48 -0400 (0:00:00.424) 0:01:33.411 ********* changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:26:04 EDT", "ActiveEnterTimestampMonotonic": "1113341299", "ActiveExitTimestamp": "Thu 2024-07-25 07:26:35 EDT", "ActiveExitTimestampMonotonic": "1143788832", "ActiveState": "inactive", "After": "-.mount basic.target systemd-journald.socket network.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:26:04 EDT", "AssertTimestampMonotonic": "1113339749", "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:26:04 EDT", "ConditionTimestampMonotonic": "1113339748", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "1", "ExecMainExitTimestamp": "Thu 2024-07-25 07:26:36 EDT", "ExecMainExitTimestampMonotonic": "1144898176", "ExecMainPID": "7035", "ExecMainStartTimestamp": "Thu 2024-07-25 07:26:04 EDT", "ExecMainStartTimestampMonotonic": "1113340513", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:26:04 EDT] ; stop_time=[Thu 2024-07-25 07:26:36 EDT] ; pid=7035 ; code=exited ; status=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:26:36 EDT", "InactiveEnterTimestampMonotonic": "1144898277", "InactiveExitTimestamp": "Thu 2024-07-25 07:26:04 EDT", "InactiveExitTimestampMonotonic": "1113341299", "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": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "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", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:26:48 -0400 (0:00:00.510) 0:01:33.921 ********* 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:26:48 -0400 (0:00:00.065) 0:01:33.987 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify settings] ********************************************************* Thursday 25 July 2024 07:26:48 -0400 (0:00:00.062) 0:01:34.050 ********* 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:26:49 -0400 (0:00:00.326) 0:01:34.376 ********* 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:26:49 -0400 (0:00:00.131) 0:01:34.507 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* Thursday 25 July 2024 07:26:49 -0400 (0:00:00.063) 0:01:34.571 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** Thursday 25 July 2024 07:26:49 -0400 (0:00:00.066) 0:01:34.638 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** Thursday 25 July 2024 07:26:49 -0400 (0:00:00.065) 0:01:34.704 ********* 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:26:49 -0400 (0:00:00.064) 0:01:34.768 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ Thursday 25 July 2024 07:26:49 -0400 (0:00:00.066) 0:01:34.835 ********* 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:26:49 -0400 (0:00:00.062) 0:01:34.898 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** Thursday 25 July 2024 07:26:49 -0400 (0:00:00.065) 0:01:34.963 ********* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** Thursday 25 July 2024 07:26:49 -0400 (0:00:00.123) 0:01:35.087 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:26:48 EDT", "ActiveEnterTimestampMonotonic": "1157070375", "ActiveExitTimestamp": "Thu 2024-07-25 07:26:35 EDT", "ActiveExitTimestampMonotonic": "1143788832", "ActiveState": "active", "After": "-.mount basic.target systemd-journald.socket network.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:26:48 EDT", "AssertTimestampMonotonic": "1157069573", "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:26:48 EDT", "ConditionTimestampMonotonic": "1157069571", "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": "9254", "ExecMainStartTimestamp": "Thu 2024-07-25 07:26:48 EDT", "ExecMainStartTimestampMonotonic": "1157070324", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:26:48 EDT] ; stop_time=[n/a] ; pid=9254 ; 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:26:36 EDT", "InactiveEnterTimestampMonotonic": "1144898277", "InactiveExitTimestamp": "Thu 2024-07-25 07:26:48 EDT", "InactiveExitTimestampMonotonic": "1157070375", "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": "9254", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 07:26:48 EDT", "WatchdogTimestampMonotonic": "1157070354", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** Thursday 25 July 2024 07:26:50 -0400 (0:00:00.726) 0:01:35.814 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004117", "end": "2024-07-25 07:26:51.053093", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:26:51.048976" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** Thursday 25 July 2024 07:26:51 -0400 (0:00:00.444) 0:01:36.258 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004291", "end": "2024-07-25 07:26:51.817229", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:26:51.812938" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* Thursday 25 July 2024 07:26:52 -0400 (0:00:01.015) 0:01:37.274 ********* 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:26:52 -0400 (0:00:00.081) 0:01:37.355 ********* 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": 7061, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** Thursday 25 July 2024 07:26:53 -0400 (0:00:01.439) 0:01:38.795 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1433", "-U", "sa", "-P", "p@55w0rD11", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.028457", "end": "2024-07-25 07:26:53.984216", "rc": 0, "start": "2024-07-25 07:26:53.955759" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* Thursday 25 July 2024 07:26:54 -0400 (0:00:00.372) 0:01:39.168 ********* ok: [managed_node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* Thursday 25 July 2024 07:26:54 -0400 (0:00:00.070) 0:01:39.238 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* Thursday 25 July 2024 07:26:54 -0400 (0:00:00.067) 0:01:39.306 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** Thursday 25 July 2024 07:26:54 -0400 (0:00:00.063) 0:01:39.370 ********* 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:26:54 -0400 (0:00:00.066) 0:01:39.437 ********* 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:26:54 -0400 (0:00:00.062) 0:01:39.500 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** Thursday 25 July 2024 07:26:54 -0400 (0:00:00.065) 0:01:39.565 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** Thursday 25 July 2024 07:26:54 -0400 (0:00:00.064) 0:01:39.630 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** Thursday 25 July 2024 07:26:54 -0400 (0:00:00.066) 0:01:39.696 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** Thursday 25 July 2024 07:26:54 -0400 (0:00:00.131) 0:01:39.828 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** Thursday 25 July 2024 07:26:54 -0400 (0:00:00.064) 0:01:39.892 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** Thursday 25 July 2024 07:26:54 -0400 (0:00:00.065) 0:01:39.958 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** Thursday 25 July 2024 07:26:54 -0400 (0:00:00.061) 0:01:40.020 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Change the IP address setting.] ****************************************** Thursday 25 July 2024 07:26:54 -0400 (0:00:00.067) 0:01:40.088 ********* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** Thursday 25 July 2024 07:26:55 -0400 (0:00:00.730) 0:01:40.818 ********* 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:26:55 -0400 (0:00:00.106) 0:01:40.924 ********* 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:26:55 -0400 (0:00:00.082) 0:01:41.007 ********* 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:26:56 -0400 (0:00:00.174) 0:01:41.182 ********* 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:26:56 -0400 (0:00:00.065) 0:01:41.247 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Thursday 25 July 2024 07:26:56 -0400 (0:00:00.063) 0:01:41.311 ********* 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:26:56 -0400 (0:00:00.066) 0:01:41.378 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** Thursday 25 July 2024 07:26:56 -0400 (0:00:00.064) 0:01:41.442 ********* 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:26:56 -0400 (0:00:00.065) 0:01:41.507 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** Thursday 25 July 2024 07:26:56 -0400 (0:00:00.063) 0:01:41.571 ********* 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:26:56 -0400 (0:00:00.065) 0:01:41.637 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** Thursday 25 July 2024 07:26:56 -0400 (0:00:00.068) 0:01:41.706 ********* 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:26:56 -0400 (0:00:00.063) 0:01:41.769 ********* 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:26:56 -0400 (0:00:00.074) 0:01:41.844 ********* 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:26:56 -0400 (0:00:00.063) 0:01:41.907 ********* 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:26:56 -0400 (0:00:00.066) 0:01:41.973 ********* 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:26:56 -0400 (0:00:00.063) 0:01:42.037 ********* 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:26:57 -0400 (0:00:00.062) 0:01:42.099 ********* 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:26:57 -0400 (0:00:00.069) 0:01:42.168 ********* 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:26:57 -0400 (0:00:00.063) 0:01:42.232 ********* 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:26:58 -0400 (0:00:01.383) 0:01:43.615 ********* ok: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** Thursday 25 July 2024 07:26:58 -0400 (0:00:00.178) 0:01:43.794 ********* 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:26:58 -0400 (0:00:00.066) 0:01:43.860 ********* 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:26:58 -0400 (0:00:00.076) 0:01:43.937 ********* 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:26:58 -0400 (0:00:00.119) 0:01:44.056 ********* ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** Thursday 25 July 2024 07:26:59 -0400 (0:00:00.528) 0:01:44.585 ********* 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:26:59 -0400 (0:00:00.067) 0:01:44.653 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** Thursday 25 July 2024 07:26:59 -0400 (0:00:00.070) 0:01:44.723 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** Thursday 25 July 2024 07:26:59 -0400 (0:00:00.071) 0:01:44.795 ********* 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:26:59 -0400 (0:00:00.065) 0:01:44.861 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** Thursday 25 July 2024 07:26:59 -0400 (0:00:00.145) 0:01:45.006 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** Thursday 25 July 2024 07:26:59 -0400 (0:00:00.071) 0:01:45.077 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** Thursday 25 July 2024 07:27:00 -0400 (0:00:00.091) 0:01:45.169 ********* 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:27:00 -0400 (0:00:00.067) 0:01:45.236 ********* 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:27:00 -0400 (0:00:00.601) 0:01:45.837 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** Thursday 25 July 2024 07:27:01 -0400 (0:00:00.563) 0:01:46.401 ********* 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:27:01 -0400 (0:00:00.065) 0:01:46.467 ********* 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.005176", "end": "2024-07-25 07:27:01.632324", "rc": 0, "start": "2024-07-25 07:27:01.627148" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** Thursday 25 July 2024 07:27:01 -0400 (0:00:00.349) 0:01:46.817 ********* 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:27:02 -0400 (0:00:00.900) 0:01:47.717 ********* 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:27:02 -0400 (0:00:00.091) 0:01:47.809 ********* 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:27:02 -0400 (0:00:00.066) 0:01:47.876 ********* 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:27:02 -0400 (0:00:00.068) 0:01:47.944 ********* 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:27:03 -0400 (0:00:00.165) 0:01:48.110 ********* 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:27:03 -0400 (0:00:00.067) 0:01:48.177 ********* 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:27:03 -0400 (0:00:00.072) 0:01:48.250 ********* 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:27:03 -0400 (0:00:00.552) 0:01:48.803 ********* 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": "dbus.service systemd-journald.socket basic.target systemd-sysctl.service 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": "basic.target polkit.service system.slice dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 07:07:59 EDT", "WatchdogTimestampMonotonic": "28047298", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* Thursday 25 July 2024 07:27:04 -0400 (0:00:00.439) 0:01:49.242 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.085513", "end": "2024-07-25 07:27:04.486527", "rc": 0, "start": "2024-07-25 07:27:04.401014" } 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:27:04 -0400 (0:00:00.433) 0:01:49.676 ********* 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:27:04 -0400 (0:00:00.072) 0:01:49.748 ********* 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:27:04 -0400 (0:00:00.066) 0:01:49.815 ********* 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:27:04 -0400 (0:00:00.069) 0:01:49.884 ********* 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:27:05 -0400 (0:00:00.351) 0:01:50.236 ********* 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:27:05 -0400 (0:00:00.067) 0:01:50.304 ********* 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:27:05 -0400 (0:00:00.559) 0:01:50.863 ********* 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:27:05 -0400 (0:00:00.149) 0:01:51.013 ********* 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:27:05 -0400 (0:00:00.068) 0:01:51.081 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** Thursday 25 July 2024 07:27:06 -0400 (0:00:00.069) 0:01:51.151 ********* 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:27:06 -0400 (0:00:00.068) 0:01:51.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 : Change the password of sa user] ******** Thursday 25 July 2024 07:27:06 -0400 (0:00:00.071) 0:01:51.291 ********* 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:27:06 -0400 (0:00:00.068) 0:01:51.359 ********* 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:27:06 -0400 (0:00:00.066) 0:01:51.425 ********* 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:27:06 -0400 (0:00:00.068) 0:01:51.493 ********* 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:27:06 -0400 (0:00:00.065) 0:01:51.559 ********* 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:27:06 -0400 (0:00:00.067) 0:01:51.627 ********* 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:27:06 -0400 (0:00:00.068) 0:01:51.695 ********* 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:27:06 -0400 (0:00:00.065) 0:01:51.760 ********* 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 ipaddress] ***** Thursday 25 July 2024 07:27:06 -0400 (0:00:00.121) 0:01:51.881 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003145", "end": "2024-07-25 07:27:07.054731", "failed_when_result": false, "rc": 1, "start": "2024-07-25 07:27:07.051586" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** Thursday 25 July 2024 07:27:07 -0400 (0:00:00.354) 0:01:52.236 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "127.0.0.1" ], "delta": "0:00:00.047095", "end": "2024-07-25 07:27:07.443881", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:27:07.396786" } 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 ipaddress] *** Thursday 25 July 2024 07:27:07 -0400 (0:00:00.395) 0:01:52.631 ********* 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:27:07 -0400 (0:00:00.066) 0:01:52.697 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** Thursday 25 July 2024 07:27:07 -0400 (0:00:00.149) 0:01:52.847 ********* 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:27:07 -0400 (0:00:00.069) 0:01:52.917 ********* 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:27:07 -0400 (0:00:00.120) 0:01:53.038 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003212", "end": "2024-07-25 07:27:08.212775", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:27:08.209563" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** Thursday 25 July 2024 07:27:08 -0400 (0:00:00.357) 0:01:53.396 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tcpport] ***** Thursday 25 July 2024 07:27:08 -0400 (0:00:00.071) 0:01:53.467 ********* 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:27:08 -0400 (0:00:00.066) 0:01:53.535 ********* 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:27:08 -0400 (0:00:00.068) 0:01:53.603 ********* 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:27:08 -0400 (0:00:00.065) 0:01:53.669 ********* 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:27:08 -0400 (0:00:00.068) 0:01:53.738 ********* 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:27:08 -0400 (0:00:00.065) 0:01:53.804 ********* 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:27:08 -0400 (0:00:00.067) 0:01:53.872 ********* 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:27:08 -0400 (0:00:00.065) 0:01:53.937 ********* 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:27:08 -0400 (0:00:00.070) 0:01:54.007 ********* 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:27:08 -0400 (0:00:00.065) 0:01:54.073 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** Thursday 25 July 2024 07:27:09 -0400 (0:00:00.064) 0:01:54.138 ********* 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:27:09 -0400 (0:00:00.065) 0:01:54.203 ********* 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:27:09 -0400 (0:00:00.064) 0:01:54.268 ********* skipping: [managed_node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* Thursday 25 July 2024 07:27:09 -0400 (0:00:00.155) 0:01:54.424 ********* 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:27:09 -0400 (0:00:00.069) 0:01:54.493 ********* 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:27:09 -0400 (0:00:00.064) 0:01:54.558 ********* 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:27:09 -0400 (0:00:00.067) 0:01:54.626 ********* 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:27:09 -0400 (0:00:00.065) 0:01:54.691 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** Thursday 25 July 2024 07:27:09 -0400 (0:00:00.069) 0:01:54.761 ********* 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:27:09 -0400 (0:00:00.064) 0:01:54.826 ********* 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:27:09 -0400 (0:00:00.067) 0:01:54.893 ********* 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:27:09 -0400 (0:00:00.072) 0:01:54.966 ********* 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:27:09 -0400 (0:00:00.068) 0:01:55.035 ********* 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:27:10 -0400 (0:00:00.070) 0:01:55.105 ********* 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:27:10 -0400 (0:00:00.065) 0:01:55.170 ********* 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:27:10 -0400 (0:00:00.068) 0:01:55.239 ********* 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:27:10 -0400 (0:00:00.066) 0:01:55.306 ********* 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:27:10 -0400 (0:00:00.065) 0:01:55.372 ********* 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:27:10 -0400 (0:00:00.065) 0:01:55.437 ********* 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:27:10 -0400 (0:00:00.064) 0:01:55.502 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* Thursday 25 July 2024 07:27:10 -0400 (0:00:00.067) 0:01:55.569 ********* 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:27:10 -0400 (0:00:00.064) 0:01:55.634 ********* 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:27:10 -0400 (0:00:00.150) 0:01:55.784 ********* 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:27:10 -0400 (0:00:00.069) 0:01:55.853 ********* 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:27:10 -0400 (0:00:00.065) 0:01:55.918 ********* 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:27:10 -0400 (0:00:00.070) 0:01:55.988 ********* 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:27:10 -0400 (0:00:00.066) 0:01:56.055 ********* 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:27:11 -0400 (0:00:00.070) 0:01:56.125 ********* 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:27:11 -0400 (0:00:00.065) 0:01:56.191 ********* 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:27:11 -0400 (0:00:00.068) 0:01:56.260 ********* 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:27:11 -0400 (0:00:00.069) 0:01:56.329 ********* 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:27:11 -0400 (0:00:00.065) 0:01:56.394 ********* 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:27:11 -0400 (0:00:00.071) 0:01:56.466 ********* 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:27:11 -0400 (0:00:00.065) 0:01:56.531 ********* 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:27:11 -0400 (0:00:00.078) 0:01:56.610 ********* 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:27:11 -0400 (0:00:00.066) 0:01:56.677 ********* 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:27:11 -0400 (0:00:00.065) 0:01:56.742 ********* 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:27:11 -0400 (0:00:00.084) 0:01:56.827 ********* 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:27:11 -0400 (0:00:00.064) 0:01:56.891 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** Thursday 25 July 2024 07:27:11 -0400 (0:00:00.067) 0:01:56.958 ********* 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:27:11 -0400 (0:00:00.063) 0:01:57.022 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* Thursday 25 July 2024 07:27:12 -0400 (0:00:00.149) 0:01:57.171 ********* 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:27:12 -0400 (0:00:00.068) 0:01:57.239 ********* 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:27:12 -0400 (0:00:00.066) 0:01:57.306 ********* 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:27:12 -0400 (0:00:00.068) 0:01:57.375 ********* 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:27:12 -0400 (0:00:00.063) 0:01:57.439 ********* 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:27:12 -0400 (0:00:00.068) 0:01:57.507 ********* 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:27:12 -0400 (0:00:00.065) 0:01:57.573 ********* 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:27:12 -0400 (0:00:00.067) 0:01:57.640 ********* 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:27:12 -0400 (0:00:00.084) 0:01:57.725 ********* 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:27:12 -0400 (0:00:00.066) 0:01:57.791 ********* 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:27:12 -0400 (0:00:00.068) 0:01:57.860 ********* 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:27:12 -0400 (0:00:00.067) 0:01:57.927 ********* 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:27:12 -0400 (0:00:00.068) 0:01:57.996 ********* 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:27:12 -0400 (0:00:00.077) 0:01:58.073 ********* 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:27:13 -0400 (0:00:00.064) 0:01:58.138 ********* 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:27:13 -0400 (0:00:00.068) 0:01:58.207 ********* 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:27:13 -0400 (0:00:00.066) 0:01:58.274 ********* 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:27:13 -0400 (0:00:00.067) 0:01:58.342 ********* 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:27:13 -0400 (0:00:00.541) 0:01:58.883 ********* changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:26:48 EDT", "ActiveEnterTimestampMonotonic": "1157070375", "ActiveExitTimestamp": "Thu 2024-07-25 07:26:35 EDT", "ActiveExitTimestampMonotonic": "1143788832", "ActiveState": "active", "After": "-.mount basic.target systemd-journald.socket network.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:26:48 EDT", "AssertTimestampMonotonic": "1157069573", "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:26:48 EDT", "ConditionTimestampMonotonic": "1157069571", "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": "9254", "ExecMainStartTimestamp": "Thu 2024-07-25 07:26:48 EDT", "ExecMainStartTimestampMonotonic": "1157070324", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:26:48 EDT] ; stop_time=[n/a] ; pid=9254 ; 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:26:36 EDT", "InactiveEnterTimestampMonotonic": "1144898277", "InactiveExitTimestamp": "Thu 2024-07-25 07:26:48 EDT", "InactiveExitTimestampMonotonic": "1157070375", "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": "9254", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 07:26:48 EDT", "WatchdogTimestampMonotonic": "1157070354", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:27:14 -0400 (0:00:00.750) 0:01:59.633 ********* 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:27:14 -0400 (0:00:00.068) 0:01:59.702 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Change the password with a custom IP address. Should report Changed.] **** Thursday 25 July 2024 07:27:14 -0400 (0:00:00.068) 0:01:59.770 ********* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** Thursday 25 July 2024 07:27:15 -0400 (0:00:00.982) 0:02:00.752 ********* 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:27:15 -0400 (0:00:00.112) 0:02:00.865 ********* 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:27:15 -0400 (0:00:00.087) 0:02:00.952 ********* 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:27:15 -0400 (0:00:00.110) 0:02:01.063 ********* 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:27:16 -0400 (0:00:00.065) 0:02:01.129 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Thursday 25 July 2024 07:27:16 -0400 (0:00:00.066) 0:02:01.195 ********* 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:27:16 -0400 (0:00:00.069) 0:02:01.265 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** Thursday 25 July 2024 07:27:16 -0400 (0:00:00.065) 0:02:01.331 ********* 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:27:16 -0400 (0:00:00.065) 0:02:01.396 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** Thursday 25 July 2024 07:27:16 -0400 (0:00:00.067) 0:02:01.464 ********* 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:27:16 -0400 (0:00:00.066) 0:02:01.531 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** Thursday 25 July 2024 07:27:16 -0400 (0:00:00.066) 0:02:01.597 ********* 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:27:16 -0400 (0:00:00.065) 0:02:01.663 ********* 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:27:16 -0400 (0:00:00.075) 0:02:01.738 ********* 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:27:16 -0400 (0:00:00.070) 0:02:01.808 ********* 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:27:16 -0400 (0:00:00.064) 0:02:01.873 ********* 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:27:16 -0400 (0:00:00.183) 0:02:02.056 ********* 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:27:17 -0400 (0:00:00.067) 0:02:02.124 ********* 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:27:17 -0400 (0:00:00.072) 0:02:02.196 ********* 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:27:17 -0400 (0:00:00.066) 0:02:02.263 ********* 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:27:18 -0400 (0:00:01.659) 0:02:03.923 ********* ok: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** Thursday 25 July 2024 07:27:19 -0400 (0:00:00.179) 0:02:04.103 ********* 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:27:19 -0400 (0:00:00.066) 0:02:04.169 ********* 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:27:19 -0400 (0:00:00.070) 0:02:04.240 ********* 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:27:19 -0400 (0:00:00.122) 0:02:04.362 ********* ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** Thursday 25 July 2024 07:27:19 -0400 (0:00:00.528) 0:02:04.891 ********* 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:27:19 -0400 (0:00:00.067) 0:02:04.958 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** Thursday 25 July 2024 07:27:19 -0400 (0:00:00.070) 0:02:05.028 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** Thursday 25 July 2024 07:27:20 -0400 (0:00:00.069) 0:02:05.098 ********* 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:27:20 -0400 (0:00:00.164) 0:02:05.263 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** Thursday 25 July 2024 07:27:20 -0400 (0:00:00.073) 0:02:05.336 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** Thursday 25 July 2024 07:27:20 -0400 (0:00:00.069) 0:02:05.406 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** Thursday 25 July 2024 07:27:20 -0400 (0:00:00.094) 0:02:05.500 ********* 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:27:20 -0400 (0:00:00.065) 0:02:05.565 ********* 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:27:21 -0400 (0:00:00.612) 0:02:06.177 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** Thursday 25 July 2024 07:27:21 -0400 (0:00:00.574) 0:02:06.752 ********* 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:27:21 -0400 (0:00:00.065) 0:02:06.817 ********* 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.005235", "end": "2024-07-25 07:27:21.993819", "rc": 0, "start": "2024-07-25 07:27:21.988584" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** Thursday 25 July 2024 07:27:22 -0400 (0:00:00.357) 0:02:07.175 ********* 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:27:22 -0400 (0:00:00.904) 0:02:08.080 ********* 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:27:23 -0400 (0:00:00.094) 0:02:08.175 ********* 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:27:23 -0400 (0:00:00.063) 0:02:08.239 ********* 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:27:23 -0400 (0:00:00.161) 0:02:08.400 ********* 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:27:23 -0400 (0:00:00.088) 0:02:08.488 ********* 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:27:23 -0400 (0:00:00.068) 0:02:08.557 ********* 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:27:23 -0400 (0:00:00.068) 0:02:08.625 ********* 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:27:24 -0400 (0:00:00.554) 0:02:09.180 ********* 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": "dbus.service systemd-journald.socket basic.target systemd-sysctl.service 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": "basic.target polkit.service system.slice dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 07:07:59 EDT", "WatchdogTimestampMonotonic": "28047298", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* Thursday 25 July 2024 07:27:24 -0400 (0:00:00.453) 0:02:09.633 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.087020", "end": "2024-07-25 07:27:24.880904", "rc": 0, "start": "2024-07-25 07:27:24.793884" } 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:27:24 -0400 (0:00:00.430) 0:02:10.063 ********* 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:27:25 -0400 (0:00:00.070) 0:02:10.134 ********* 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:27:25 -0400 (0:00:00.071) 0:02:10.205 ********* 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:27:25 -0400 (0:00:00.071) 0:02:10.276 ********* 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:27:25 -0400 (0:00:00.355) 0:02:10.631 ********* 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:27:25 -0400 (0:00:00.067) 0:02:10.699 ********* 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:27:26 -0400 (0:00:00.658) 0:02:11.357 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** Thursday 25 July 2024 07:27:26 -0400 (0:00:00.124) 0:02:11.481 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:27:14 EDT", "ActiveEnterTimestampMonotonic": "1182779415", "ActiveExitTimestamp": "Thu 2024-07-25 07:27:14 EDT", "ActiveExitTimestampMonotonic": "1182546996", "ActiveState": "active", "After": "-.mount basic.target systemd-journald.socket network.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:27:14 EDT", "AssertTimestampMonotonic": "1182778812", "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:27:14 EDT", "ConditionTimestampMonotonic": "1182778811", "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": "10602", "ExecMainStartTimestamp": "Thu 2024-07-25 07:27:14 EDT", "ExecMainStartTimestampMonotonic": "1182779362", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:27:14 EDT] ; stop_time=[n/a] ; pid=10602 ; 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:27:14 EDT", "InactiveEnterTimestampMonotonic": "1182777841", "InactiveExitTimestamp": "Thu 2024-07-25 07:27:14 EDT", "InactiveExitTimestampMonotonic": "1182779415", "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": "10602", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 07:27:14 EDT", "WatchdogTimestampMonotonic": "1182779395", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** Thursday 25 July 2024 07:27:26 -0400 (0:00:00.451) 0:02:11.933 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003129", "end": "2024-07-25 07:27:27.103982", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:27:27.100853" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** Thursday 25 July 2024 07:27:27 -0400 (0:00:00.354) 0:02:12.287 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003131", "end": "2024-07-25 07:27:27.452026", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:27:27.448895" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* Thursday 25 July 2024 07:27:27 -0400 (0:00:00.344) 0:02:12.632 ********* 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 : Wait for mssql-server to prepare for client connections] *** Thursday 25 July 2024 07:27:27 -0400 (0:00:00.084) 0:02:12.717 ********* 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": 6188, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** Thursday 25 July 2024 07:27:28 -0400 (0:00:01.352) 0:02:14.069 ********* fatal: [managed_node1]: FAILED! => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ...ignoring TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** Thursday 25 July 2024 07:27:29 -0400 (0:00:00.380) 0:02:14.450 ********* changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:27:14 EDT", "ActiveEnterTimestampMonotonic": "1182779415", "ActiveExitTimestamp": "Thu 2024-07-25 07:27:14 EDT", "ActiveExitTimestampMonotonic": "1182546996", "ActiveState": "active", "After": "-.mount basic.target systemd-journald.socket network.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:27:14 EDT", "AssertTimestampMonotonic": "1182778812", "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:27:14 EDT", "ConditionTimestampMonotonic": "1182778811", "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": "10602", "ExecMainStartTimestamp": "Thu 2024-07-25 07:27:14 EDT", "ExecMainStartTimestampMonotonic": "1182779362", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:27:14 EDT] ; stop_time=[n/a] ; pid=10602 ; 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:27:14 EDT", "InactiveEnterTimestampMonotonic": "1182777841", "InactiveExitTimestamp": "Thu 2024-07-25 07:27:14 EDT", "InactiveExitTimestampMonotonic": "1182779415", "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": "10602", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 07:27:14 EDT", "WatchdogTimestampMonotonic": "1182779395", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:27:30 -0400 (0:00:00.669) 0:02:15.119 ********* 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 password of sa user] ******** Thursday 25 July 2024 07:27:31 -0400 (0:00:01.427) 0:02:16.546 ********* changed: [managed_node1] => { "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 : Pre-input SQL script files to SQL Server] *** Thursday 25 July 2024 07:27:35 -0400 (0:00:03.861) 0:02:20.407 ********* 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:27:35 -0400 (0:00:00.067) 0:02:20.475 ********* 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:27:35 -0400 (0:00:00.065) 0:02:20.541 ********* 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:27:35 -0400 (0:00:00.072) 0:02:20.614 ********* 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:27:35 -0400 (0:00:00.069) 0:02:20.683 ********* 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:27:35 -0400 (0:00:00.069) 0:02:20.753 ********* 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:27:35 -0400 (0:00:00.071) 0:02:20.825 ********* 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:27:35 -0400 (0:00:00.065) 0:02:20.890 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** Thursday 25 July 2024 07:27:35 -0400 (0:00:00.068) 0:02:20.959 ********* 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:27:35 -0400 (0:00:00.068) 0:02:21.027 ********* 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:27:36 -0400 (0:00:00.219) 0:02:21.246 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003359", "end": "2024-07-25 07:27:36.415515", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:27:36.412156" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** Thursday 25 July 2024 07:27:36 -0400 (0:00:00.356) 0:02:21.603 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tcpport] ***** Thursday 25 July 2024 07:27:36 -0400 (0:00:00.076) 0:02:21.680 ********* 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:27:36 -0400 (0:00:00.069) 0:02:21.749 ********* 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:27:36 -0400 (0:00:00.065) 0:02:21.815 ********* 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:27:36 -0400 (0:00:00.072) 0:02:21.887 ********* 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:27:36 -0400 (0:00:00.072) 0:02:21.960 ********* 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:27:36 -0400 (0:00:00.069) 0:02:22.029 ********* 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:27:37 -0400 (0:00:00.068) 0:02:22.098 ********* 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:27:37 -0400 (0:00:00.067) 0:02:22.165 ********* 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:27:37 -0400 (0:00:00.067) 0:02:22.232 ********* 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:27:37 -0400 (0:00:00.069) 0:02:22.302 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** Thursday 25 July 2024 07:27:37 -0400 (0:00:00.066) 0:02:22.369 ********* 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:27:37 -0400 (0:00:00.067) 0:02:22.436 ********* 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:27:37 -0400 (0:00:00.067) 0:02:22.504 ********* skipping: [managed_node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* Thursday 25 July 2024 07:27:37 -0400 (0:00:00.075) 0:02:22.580 ********* 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:27:37 -0400 (0:00:00.065) 0:02:22.645 ********* 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:27:37 -0400 (0:00:00.164) 0:02:22.810 ********* 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:27:37 -0400 (0:00:00.069) 0:02:22.880 ********* 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:27:37 -0400 (0:00:00.066) 0:02:22.946 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** Thursday 25 July 2024 07:27:37 -0400 (0:00:00.072) 0:02:23.019 ********* 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:27:37 -0400 (0:00:00.066) 0:02:23.085 ********* 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:27:38 -0400 (0:00:00.070) 0:02:23.156 ********* 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:27:38 -0400 (0:00:00.071) 0:02:23.228 ********* 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:27:38 -0400 (0:00:00.072) 0:02:23.300 ********* 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:27:38 -0400 (0:00:00.068) 0:02:23.369 ********* 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:27:38 -0400 (0:00:00.067) 0:02:23.436 ********* 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:27:38 -0400 (0:00:00.069) 0:02:23.506 ********* 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:27:38 -0400 (0:00:00.067) 0:02:23.574 ********* 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:27:38 -0400 (0:00:00.069) 0:02:23.644 ********* 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:27:38 -0400 (0:00:00.070) 0:02:23.714 ********* 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:27:38 -0400 (0:00:00.064) 0:02:23.779 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* Thursday 25 July 2024 07:27:38 -0400 (0:00:00.067) 0:02:23.846 ********* 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:27:38 -0400 (0:00:00.065) 0:02:23.912 ********* 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:27:38 -0400 (0:00:00.067) 0:02:23.980 ********* 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:27:38 -0400 (0:00:00.067) 0:02:24.047 ********* 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:27:39 -0400 (0:00:00.178) 0:02:24.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:27:39 -0400 (0:00:00.070) 0:02:24.296 ********* 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:27:39 -0400 (0:00:00.068) 0:02:24.364 ********* 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:27:39 -0400 (0:00:00.072) 0:02:24.437 ********* 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:27:39 -0400 (0:00:00.067) 0:02:24.504 ********* 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:27:39 -0400 (0:00:00.069) 0:02:24.574 ********* 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:27:39 -0400 (0:00:00.065) 0:02:24.639 ********* 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:27:39 -0400 (0:00:00.065) 0:02:24.705 ********* 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:27:39 -0400 (0:00:00.066) 0:02:24.772 ********* 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:27:39 -0400 (0:00:00.063) 0:02:24.835 ********* 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:27:39 -0400 (0:00:00.081) 0:02:24.916 ********* 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:27:39 -0400 (0:00:00.063) 0:02:24.980 ********* 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:27:39 -0400 (0:00:00.067) 0:02:25.047 ********* 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:27:40 -0400 (0:00:00.083) 0:02:25.131 ********* 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:27:40 -0400 (0:00:00.066) 0:02:25.197 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** Thursday 25 July 2024 07:27:40 -0400 (0:00:00.068) 0:02:25.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:27:40 -0400 (0:00:00.065) 0:02:25.331 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* Thursday 25 July 2024 07:27:40 -0400 (0:00:00.067) 0:02:25.399 ********* 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:27:40 -0400 (0:00:00.066) 0:02:25.465 ********* 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:27:40 -0400 (0:00:00.163) 0:02:25.628 ********* 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:27:40 -0400 (0:00:00.070) 0:02:25.699 ********* 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:27:40 -0400 (0:00:00.064) 0:02:25.763 ********* 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:27:40 -0400 (0:00:00.068) 0:02:25.832 ********* 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:27:40 -0400 (0:00:00.063) 0:02:25.896 ********* 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:27:40 -0400 (0:00:00.067) 0:02:25.963 ********* 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:27:40 -0400 (0:00:00.084) 0:02:26.048 ********* 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:27:41 -0400 (0:00:00.066) 0:02:26.114 ********* 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:27:41 -0400 (0:00:00.066) 0:02:26.180 ********* 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:27:41 -0400 (0:00:00.064) 0:02:26.244 ********* 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:27:41 -0400 (0:00:00.069) 0:02:26.313 ********* 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:27:41 -0400 (0:00:00.077) 0:02:26.391 ********* 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:27:41 -0400 (0:00:00.066) 0:02:26.457 ********* 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:27:41 -0400 (0:00:00.068) 0:02:26.526 ********* 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:27:41 -0400 (0:00:00.067) 0:02:26.593 ********* 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:27:41 -0400 (0:00:00.066) 0:02:26.660 ********* ok: [managed_node1] => { "changed": false } RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** Thursday 25 July 2024 07:27:42 -0400 (0:00:00.556) 0:02:27.216 ********* changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:27:14 EDT", "ActiveEnterTimestampMonotonic": "1182779415", "ActiveExitTimestamp": "Thu 2024-07-25 07:27:29 EDT", "ActiveExitTimestampMonotonic": "1198057853", "ActiveState": "inactive", "After": "-.mount basic.target systemd-journald.socket network.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:27:14 EDT", "AssertTimestampMonotonic": "1182778812", "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:27:14 EDT", "ConditionTimestampMonotonic": "1182778811", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "1", "ExecMainExitTimestamp": "Thu 2024-07-25 07:27:29 EDT", "ExecMainExitTimestampMonotonic": "1198276081", "ExecMainPID": "10602", "ExecMainStartTimestamp": "Thu 2024-07-25 07:27:14 EDT", "ExecMainStartTimestampMonotonic": "1182779362", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:27:14 EDT] ; stop_time=[Thu 2024-07-25 07:27:29 EDT] ; pid=10602 ; code=exited ; status=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:27:29 EDT", "InactiveEnterTimestampMonotonic": "1198276168", "InactiveExitTimestamp": "Thu 2024-07-25 07:27:14 EDT", "InactiveExitTimestampMonotonic": "1182779415", "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": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "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", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:27:42 -0400 (0:00:00.671) 0:02:27.887 ********* 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:27:42 -0400 (0:00:00.065) 0:02:27.953 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify settings] ********************************************************* Thursday 25 July 2024 07:27:42 -0400 (0:00:00.069) 0:02:28.022 ********* 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:27:43 -0400 (0:00:00.550) 0:02:28.573 ********* 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:27:43 -0400 (0:00:00.064) 0:02:28.638 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* Thursday 25 July 2024 07:27:43 -0400 (0:00:00.065) 0:02:28.704 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** Thursday 25 July 2024 07:27:43 -0400 (0:00:00.069) 0:02:28.773 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** Thursday 25 July 2024 07:27:43 -0400 (0:00:00.065) 0:02:28.839 ********* 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:27:43 -0400 (0:00:00.067) 0:02:28.906 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ Thursday 25 July 2024 07:27:43 -0400 (0:00:00.065) 0:02:28.972 ********* 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:27:44 -0400 (0:00:00.169) 0:02:29.141 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** Thursday 25 July 2024 07:27:44 -0400 (0:00:00.067) 0:02:29.208 ********* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** Thursday 25 July 2024 07:27:44 -0400 (0:00:00.123) 0:02:29.332 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:27:42 EDT", "ActiveEnterTimestampMonotonic": "1210923198", "ActiveExitTimestamp": "Thu 2024-07-25 07:27:29 EDT", "ActiveExitTimestampMonotonic": "1198057853", "ActiveState": "active", "After": "-.mount basic.target systemd-journald.socket network.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:27:42 EDT", "AssertTimestampMonotonic": "1210922571", "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:27:42 EDT", "ConditionTimestampMonotonic": "1210922570", "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": "12155", "ExecMainStartTimestamp": "Thu 2024-07-25 07:27:42 EDT", "ExecMainStartTimestampMonotonic": "1210923149", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:27:42 EDT] ; stop_time=[n/a] ; pid=12155 ; 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:27:29 EDT", "InactiveEnterTimestampMonotonic": "1198276168", "InactiveExitTimestamp": "Thu 2024-07-25 07:27:42 EDT", "InactiveExitTimestampMonotonic": "1210923198", "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": "12155", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 07:27:42 EDT", "WatchdogTimestampMonotonic": "1210923178", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** Thursday 25 July 2024 07:27:44 -0400 (0:00:00.629) 0:02:29.962 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005467", "end": "2024-07-25 07:27:45.390953", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:27:45.385486" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** Thursday 25 July 2024 07:27:45 -0400 (0:00:00.677) 0:02:30.640 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005894", "end": "2024-07-25 07:27:46.107328", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:27:46.101434" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* Thursday 25 July 2024 07:27:46 -0400 (0:00:00.657) 0:02:31.297 ********* 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:27:46 -0400 (0:00:00.082) 0:02:31.380 ********* 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": 6984, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** Thursday 25 July 2024 07:27:47 -0400 (0:00:01.380) 0:02:32.761 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1433", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.026646", "end": "2024-07-25 07:27:47.949024", "rc": 0, "start": "2024-07-25 07:27:47.922378" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* Thursday 25 July 2024 07:27:48 -0400 (0:00:00.378) 0:02:33.139 ********* ok: [managed_node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* Thursday 25 July 2024 07:27:48 -0400 (0:00:00.071) 0:02:33.211 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* Thursday 25 July 2024 07:27:48 -0400 (0:00:00.067) 0:02:33.279 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** Thursday 25 July 2024 07:27:48 -0400 (0:00:00.065) 0:02:33.344 ********* 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:27:48 -0400 (0:00:00.184) 0:02:33.529 ********* 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:27:48 -0400 (0:00:00.067) 0:02:33.596 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** Thursday 25 July 2024 07:27:48 -0400 (0:00:00.073) 0:02:33.669 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** Thursday 25 July 2024 07:27:48 -0400 (0:00:00.065) 0:02:33.735 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** Thursday 25 July 2024 07:27:48 -0400 (0:00:00.070) 0:02:33.805 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** Thursday 25 July 2024 07:27:48 -0400 (0:00:00.066) 0:02:33.872 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** Thursday 25 July 2024 07:27:48 -0400 (0:00:00.069) 0:02:33.942 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** Thursday 25 July 2024 07:27:48 -0400 (0:00:00.067) 0:02:34.009 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** Thursday 25 July 2024 07:27:48 -0400 (0:00:00.067) 0:02:34.077 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Change the TCP port setting.] ******************************************** Thursday 25 July 2024 07:27:49 -0400 (0:00:00.071) 0:02:34.148 ********* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** Thursday 25 July 2024 07:27:50 -0400 (0:00:01.284) 0:02:35.432 ********* 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:27:50 -0400 (0:00:00.112) 0:02:35.545 ********* 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:27:50 -0400 (0:00:00.092) 0:02:35.637 ********* 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:27:50 -0400 (0:00:00.100) 0:02:35.738 ********* 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:27:50 -0400 (0:00:00.066) 0:02:35.805 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Thursday 25 July 2024 07:27:50 -0400 (0:00:00.067) 0:02:35.872 ********* 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:27:50 -0400 (0:00:00.064) 0:02:35.937 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** Thursday 25 July 2024 07:27:50 -0400 (0:00:00.069) 0:02:36.007 ********* 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:27:50 -0400 (0:00:00.067) 0:02:36.074 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** Thursday 25 July 2024 07:27:51 -0400 (0:00:00.067) 0:02:36.141 ********* 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:27:51 -0400 (0:00:00.065) 0:02:36.207 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** Thursday 25 July 2024 07:27:51 -0400 (0:00:00.206) 0:02:36.413 ********* 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:27:51 -0400 (0:00:00.073) 0:02:36.486 ********* 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:27:51 -0400 (0:00:00.074) 0:02:36.561 ********* 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:27:51 -0400 (0:00:00.072) 0:02:36.633 ********* 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:27:51 -0400 (0:00:00.069) 0:02:36.702 ********* 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:27:51 -0400 (0:00:00.069) 0:02:36.772 ********* 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:27:51 -0400 (0:00:00.068) 0:02:36.840 ********* 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:27:51 -0400 (0:00:00.073) 0:02:36.914 ********* 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:27:51 -0400 (0:00:00.068) 0:02:36.982 ********* 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:27:53 -0400 (0:00:01.192) 0:02:38.174 ********* ok: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** Thursday 25 July 2024 07:27:53 -0400 (0:00:00.178) 0:02:38.353 ********* 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:27:53 -0400 (0:00:00.065) 0:02:38.419 ********* 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:27:53 -0400 (0:00:00.204) 0:02:38.624 ********* 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:27:53 -0400 (0:00:00.126) 0:02:38.750 ********* ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** Thursday 25 July 2024 07:27:54 -0400 (0:00:00.523) 0:02:39.274 ********* 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:27:54 -0400 (0:00:00.070) 0:02:39.344 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** Thursday 25 July 2024 07:27:54 -0400 (0:00:00.072) 0:02:39.417 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** Thursday 25 July 2024 07:27:54 -0400 (0:00:00.076) 0:02:39.493 ********* 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:27:54 -0400 (0:00:00.070) 0:02:39.564 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** Thursday 25 July 2024 07:27:54 -0400 (0:00:00.073) 0:02:39.637 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** Thursday 25 July 2024 07:27:54 -0400 (0:00:00.071) 0:02:39.709 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** Thursday 25 July 2024 07:27:54 -0400 (0:00:00.098) 0:02:39.807 ********* 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:27:54 -0400 (0:00:00.066) 0:02:39.874 ********* 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:27:55 -0400 (0:00:00.609) 0:02:40.483 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** Thursday 25 July 2024 07:27:55 -0400 (0:00:00.560) 0:02:41.044 ********* 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:27:56 -0400 (0:00:00.066) 0:02:41.110 ********* 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.005257", "end": "2024-07-25 07:27:56.279483", "rc": 0, "start": "2024-07-25 07:27:56.274226" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** Thursday 25 July 2024 07:27:56 -0400 (0:00:00.353) 0:02:41.464 ********* 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:27:57 -0400 (0:00:00.884) 0:02:42.349 ********* 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:27:57 -0400 (0:00:00.223) 0:02:42.573 ********* 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:27:57 -0400 (0:00:00.072) 0:02:42.645 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** Thursday 25 July 2024 07:27:57 -0400 (0:00:00.067) 0:02:42.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:27:57 -0400 (0:00:00.086) 0:02:42.800 ********* 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:27:57 -0400 (0:00:00.069) 0:02:42.869 ********* 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:27:57 -0400 (0:00:00.069) 0:02:42.938 ********* 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:27:58 -0400 (0:00:00.567) 0:02:43.506 ********* 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": "dbus.service systemd-journald.socket basic.target systemd-sysctl.service 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": "basic.target polkit.service system.slice dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 07:07:59 EDT", "WatchdogTimestampMonotonic": "28047298", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* Thursday 25 July 2024 07:27:58 -0400 (0:00:00.451) 0:02:43.957 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.085924", "end": "2024-07-25 07:27:59.216542", "rc": 0, "start": "2024-07-25 07:27:59.130618" } 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:27:59 -0400 (0:00:00.441) 0:02:44.399 ********* 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:27:59 -0400 (0:00:00.070) 0:02:44.470 ********* 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:27:59 -0400 (0:00:00.066) 0:02:44.537 ********* 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:27:59 -0400 (0:00:00.068) 0:02:44.606 ********* 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:27:59 -0400 (0:00:00.359) 0:02:44.965 ********* 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:27:59 -0400 (0:00:00.068) 0:02:45.033 ********* 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:28:00 -0400 (0:00:00.600) 0:02:45.634 ********* 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:28:00 -0400 (0:00:00.199) 0:02:45.833 ********* 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:28:00 -0400 (0:00:00.074) 0:02:45.907 ********* 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:28:00 -0400 (0:00:00.070) 0:02:45.978 ********* 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:28:00 -0400 (0:00:00.072) 0:02:46.050 ********* 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:28:01 -0400 (0:00:00.071) 0:02:46.122 ********* 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:28:01 -0400 (0:00:00.072) 0:02:46.194 ********* 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:28:01 -0400 (0:00:00.073) 0:02:46.267 ********* 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:28:01 -0400 (0:00:00.067) 0:02:46.334 ********* 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:28:01 -0400 (0:00:00.071) 0:02:46.406 ********* 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:28:01 -0400 (0:00:00.072) 0:02:46.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 : Change the edition of MSSQL] *********** Thursday 25 July 2024 07:28:01 -0400 (0:00:00.073) 0:02:46.552 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** Thursday 25 July 2024 07:28:01 -0400 (0:00:00.073) 0:02:46.625 ********* 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:28:01 -0400 (0:00:00.069) 0:02:46.694 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1432] ************************************************** Thursday 25 July 2024 07:28:01 -0400 (0:00:00.071) 0:02:46.765 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1432] *** Thursday 25 July 2024 07:28:01 -0400 (0:00:00.069) 0:02:46.835 ********* 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:28:01 -0400 (0:00:00.120) 0:02:46.956 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003184", "end": "2024-07-25 07:28:02.162932", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:28:02.159748" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** Thursday 25 July 2024 07:28:02 -0400 (0:00:00.553) 0:02:47.509 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1432" ], "delta": "0:00:00.047441", "end": "2024-07-25 07:28:02.780552", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:28:02.733111" } 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 tcpport] ***** Thursday 25 July 2024 07:28:02 -0400 (0:00:00.463) 0:02:47.973 ********* 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:28:02 -0400 (0:00:00.070) 0:02:48.043 ********* 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:28:03 -0400 (0:00:00.067) 0:02:48.111 ********* 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:28:03 -0400 (0:00:00.075) 0:02:48.187 ********* 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:28:03 -0400 (0:00:00.068) 0:02:48.256 ********* 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:28:03 -0400 (0:00:00.071) 0:02:48.327 ********* 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:28:03 -0400 (0:00:00.071) 0:02:48.399 ********* 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:28:03 -0400 (0:00:00.066) 0:02:48.465 ********* 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:28:03 -0400 (0:00:00.070) 0:02:48.535 ********* 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:28:03 -0400 (0:00:00.066) 0:02:48.601 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** Thursday 25 July 2024 07:28:03 -0400 (0:00:00.071) 0:02:48.673 ********* 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:28:03 -0400 (0:00:00.065) 0:02:48.739 ********* 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:28:03 -0400 (0:00:00.069) 0:02:48.808 ********* skipping: [managed_node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* Thursday 25 July 2024 07:28:03 -0400 (0:00:00.075) 0:02:48.884 ********* 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:28:03 -0400 (0:00:00.067) 0:02:48.951 ********* 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:28:03 -0400 (0:00:00.068) 0:02:49.020 ********* 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:28:03 -0400 (0:00:00.068) 0:02:49.088 ********* 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:28:04 -0400 (0:00:00.201) 0:02:49.290 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** Thursday 25 July 2024 07:28:04 -0400 (0:00:00.071) 0:02:49.361 ********* 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:28:04 -0400 (0:00:00.070) 0:02:49.432 ********* 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:28:04 -0400 (0:00:00.072) 0:02:49.504 ********* 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:28:04 -0400 (0:00:00.071) 0:02:49.576 ********* 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:28:04 -0400 (0:00:00.073) 0:02:49.650 ********* 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:28:04 -0400 (0:00:00.069) 0:02:49.719 ********* 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:28:04 -0400 (0:00:00.073) 0:02:49.792 ********* 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:28:04 -0400 (0:00:00.075) 0:02:49.868 ********* 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:28:04 -0400 (0:00:00.067) 0:02:49.936 ********* 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:28:04 -0400 (0:00:00.070) 0:02:50.006 ********* 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:28:04 -0400 (0:00:00.068) 0:02:50.075 ********* 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:28:05 -0400 (0:00:00.069) 0:02:50.144 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* Thursday 25 July 2024 07:28:05 -0400 (0:00:00.065) 0:02:50.210 ********* 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:28:05 -0400 (0:00:00.066) 0:02:50.277 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** Thursday 25 July 2024 07:28:05 -0400 (0:00:00.070) 0:02:50.347 ********* 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:28:05 -0400 (0:00:00.065) 0:02:50.413 ********* 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:28:05 -0400 (0:00:00.068) 0:02:50.482 ********* 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:28:05 -0400 (0:00:00.066) 0:02:50.548 ********* 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:28:05 -0400 (0:00:00.199) 0:02:50.748 ********* 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:28:05 -0400 (0:00:00.070) 0:02:50.818 ********* 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:28:05 -0400 (0:00:00.073) 0:02:50.892 ********* 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:28:05 -0400 (0:00:00.073) 0:02:50.966 ********* 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:28:05 -0400 (0:00:00.068) 0:02:51.034 ********* 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:28:06 -0400 (0:00:00.073) 0:02:51.107 ********* 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:28:06 -0400 (0:00:00.067) 0:02:51.175 ********* 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:28:06 -0400 (0:00:00.072) 0:02:51.247 ********* 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:28:06 -0400 (0:00:00.084) 0:02:51.332 ********* 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:28:06 -0400 (0:00:00.066) 0:02:51.398 ********* 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:28:06 -0400 (0:00:00.071) 0:02:51.470 ********* 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:28:06 -0400 (0:00:00.085) 0:02:51.556 ********* 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:28:06 -0400 (0:00:00.068) 0:02:51.624 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** Thursday 25 July 2024 07:28:06 -0400 (0:00:00.066) 0:02:51.691 ********* 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:28:06 -0400 (0:00:00.069) 0:02:51.760 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* Thursday 25 July 2024 07:28:06 -0400 (0:00:00.067) 0:02:51.828 ********* 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:28:06 -0400 (0:00:00.067) 0:02:51.896 ********* 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:28:06 -0400 (0:00:00.069) 0:02:51.966 ********* 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:28:06 -0400 (0:00:00.068) 0:02:52.034 ********* 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:28:07 -0400 (0:00:00.201) 0:02:52.236 ********* 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:28:07 -0400 (0:00:00.070) 0:02:52.306 ********* 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:28:07 -0400 (0:00:00.065) 0:02:52.372 ********* 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:28:07 -0400 (0:00:00.073) 0:02:52.446 ********* 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:28:07 -0400 (0:00:00.085) 0:02:52.531 ********* 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:28:07 -0400 (0:00:00.069) 0:02:52.601 ********* 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:28:07 -0400 (0:00:00.068) 0:02:52.669 ********* 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:28:07 -0400 (0:00:00.069) 0:02:52.739 ********* 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:28:07 -0400 (0:00:00.074) 0:02:52.813 ********* 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:28:07 -0400 (0:00:00.075) 0:02:52.889 ********* 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:28:07 -0400 (0:00:00.068) 0:02:52.957 ********* 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:28:07 -0400 (0:00:00.064) 0:02:53.022 ********* 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:28:08 -0400 (0:00:00.069) 0:02:53.091 ********* 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:28:08 -0400 (0:00:00.073) 0:02:53.165 ********* 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:28:08 -0400 (0:00:00.444) 0:02:53.610 ********* changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:27:42 EDT", "ActiveEnterTimestampMonotonic": "1210923198", "ActiveExitTimestamp": "Thu 2024-07-25 07:27:29 EDT", "ActiveExitTimestampMonotonic": "1198057853", "ActiveState": "active", "After": "-.mount basic.target systemd-journald.socket network.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:27:42 EDT", "AssertTimestampMonotonic": "1210922571", "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:27:42 EDT", "ConditionTimestampMonotonic": "1210922570", "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": "12155", "ExecMainStartTimestamp": "Thu 2024-07-25 07:27:42 EDT", "ExecMainStartTimestampMonotonic": "1210923149", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:27:42 EDT] ; stop_time=[n/a] ; pid=12155 ; 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:27:29 EDT", "InactiveEnterTimestampMonotonic": "1198276168", "InactiveExitTimestamp": "Thu 2024-07-25 07:27:42 EDT", "InactiveExitTimestampMonotonic": "1210923198", "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": "12155", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 07:27:42 EDT", "WatchdogTimestampMonotonic": "1210923178", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:28:09 -0400 (0:00:01.252) 0:02:54.863 ********* 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:28:09 -0400 (0:00:00.067) 0:02:54.930 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Change the password with a custom TCP port and IP address. Should report Changed.] *** Thursday 25 July 2024 07:28:09 -0400 (0:00:00.070) 0:02:55.001 ********* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** Thursday 25 July 2024 07:28:11 -0400 (0:00:01.368) 0:02:56.369 ********* 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:28:11 -0400 (0:00:00.112) 0:02:56.481 ********* 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:28:11 -0400 (0:00:00.089) 0:02:56.571 ********* 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:28:11 -0400 (0:00:00.105) 0:02:56.677 ********* 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:28:11 -0400 (0:00:00.064) 0:02:56.741 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Thursday 25 July 2024 07:28:11 -0400 (0:00:00.065) 0:02:56.807 ********* 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:28:11 -0400 (0:00:00.065) 0:02:56.872 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** Thursday 25 July 2024 07:28:11 -0400 (0:00:00.065) 0:02:56.938 ********* 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:28:11 -0400 (0:00:00.069) 0:02:57.007 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** Thursday 25 July 2024 07:28:11 -0400 (0:00:00.066) 0:02:57.073 ********* 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:28:12 -0400 (0:00:00.066) 0:02:57.140 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** Thursday 25 July 2024 07:28:12 -0400 (0:00:00.066) 0:02:57.206 ********* 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:28:12 -0400 (0:00:00.068) 0:02:57.275 ********* 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:28:12 -0400 (0:00:00.073) 0:02:57.348 ********* 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:28:12 -0400 (0:00:00.066) 0:02:57.414 ********* 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:28:12 -0400 (0:00:00.241) 0:02:57.656 ********* 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:28:12 -0400 (0:00:00.072) 0:02:57.728 ********* 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:28:12 -0400 (0:00:00.073) 0:02:57.802 ********* 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:28:12 -0400 (0:00:00.069) 0:02:57.872 ********* 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:28:12 -0400 (0:00:00.070) 0:02:57.942 ********* 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:28:14 -0400 (0:00:01.298) 0:02:59.241 ********* ok: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** Thursday 25 July 2024 07:28:14 -0400 (0:00:00.191) 0:02:59.433 ********* 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:28:14 -0400 (0:00:00.070) 0:02:59.503 ********* 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:28:14 -0400 (0:00:00.074) 0:02:59.578 ********* 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:28:14 -0400 (0:00:00.134) 0:02:59.713 ********* ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** Thursday 25 July 2024 07:28:15 -0400 (0:00:00.526) 0:03:00.240 ********* 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:28:15 -0400 (0:00:00.073) 0:03:00.313 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** Thursday 25 July 2024 07:28:15 -0400 (0:00:00.071) 0:03:00.385 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** Thursday 25 July 2024 07:28:15 -0400 (0:00:00.069) 0:03:00.455 ********* 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:28:15 -0400 (0:00:00.071) 0:03:00.526 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** Thursday 25 July 2024 07:28:15 -0400 (0:00:00.070) 0:03:00.596 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** Thursday 25 July 2024 07:28:15 -0400 (0:00:00.228) 0:03:00.825 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** Thursday 25 July 2024 07:28:15 -0400 (0:00:00.098) 0:03:00.923 ********* 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:28:15 -0400 (0:00:00.071) 0:03:00.995 ********* 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:28:16 -0400 (0:00:00.631) 0:03:01.627 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** Thursday 25 July 2024 07:28:17 -0400 (0:00:00.584) 0:03:02.211 ********* 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:28:17 -0400 (0:00:00.070) 0:03:02.282 ********* 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.005208", "end": "2024-07-25 07:28:17.462782", "rc": 0, "start": "2024-07-25 07:28:17.457574" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** Thursday 25 July 2024 07:28:17 -0400 (0:00:00.368) 0:03:02.650 ********* 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:28:18 -0400 (0:00:00.911) 0:03:03.561 ********* 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:28:18 -0400 (0:00:00.096) 0:03:03.658 ********* 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:28:18 -0400 (0:00:00.068) 0:03:03.727 ********* 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:28:18 -0400 (0:00:00.069) 0:03:03.796 ********* 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:28:18 -0400 (0:00:00.081) 0:03:03.878 ********* 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:28:18 -0400 (0:00:00.068) 0:03:03.947 ********* 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:28:18 -0400 (0:00:00.070) 0:03:04.018 ********* 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:28:19 -0400 (0:00:00.576) 0:03:04.594 ********* 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": "dbus.service systemd-journald.socket basic.target systemd-sysctl.service 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": "basic.target polkit.service system.slice dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 07:07:59 EDT", "WatchdogTimestampMonotonic": "28047298", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* Thursday 25 July 2024 07:28:19 -0400 (0:00:00.466) 0:03:05.060 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.088318", "end": "2024-07-25 07:28:20.323493", "rc": 0, "start": "2024-07-25 07:28:20.235175" } 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:28:20 -0400 (0:00:00.446) 0:03:05.507 ********* 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:28:20 -0400 (0:00:00.071) 0:03:05.579 ********* 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:28:20 -0400 (0:00:00.230) 0:03:05.809 ********* 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:28:20 -0400 (0:00:00.078) 0:03:05.888 ********* 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:28:21 -0400 (0:00:00.364) 0:03:06.252 ********* 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:28:21 -0400 (0:00:00.065) 0:03:06.317 ********* 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:28:21 -0400 (0:00:00.559) 0:03:06.877 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** Thursday 25 July 2024 07:28:21 -0400 (0:00:00.127) 0:03:07.005 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:28:09 EDT", "ActiveEnterTimestampMonotonic": "1238008782", "ActiveExitTimestamp": "Thu 2024-07-25 07:28:08 EDT", "ActiveExitTimestampMonotonic": "1237282689", "ActiveState": "active", "After": "-.mount basic.target systemd-journald.socket network.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:28:09 EDT", "AssertTimestampMonotonic": "1238007540", "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:28:09 EDT", "ConditionTimestampMonotonic": "1238007538", "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": "13453", "ExecMainStartTimestamp": "Thu 2024-07-25 07:28:09 EDT", "ExecMainStartTimestampMonotonic": "1238008222", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:28:09 EDT] ; stop_time=[n/a] ; pid=13453 ; 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:28:09 EDT", "InactiveEnterTimestampMonotonic": "1238005510", "InactiveExitTimestamp": "Thu 2024-07-25 07:28:09 EDT", "InactiveExitTimestampMonotonic": "1238008782", "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": "13453", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 07:28:09 EDT", "WatchdogTimestampMonotonic": "1238008758", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** Thursday 25 July 2024 07:28:22 -0400 (0:00:00.450) 0:03:07.456 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003308", "end": "2024-07-25 07:28:22.619402", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:28:22.616094" } STDOUT: tcpport = 1432 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** Thursday 25 July 2024 07:28:22 -0400 (0:00:00.350) 0:03:07.806 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004283", "end": "2024-07-25 07:28:23.992567", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:28:22.988284" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* Thursday 25 July 2024 07:28:24 -0400 (0:00:01.371) 0:03:09.177 ********* 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 : Wait for mssql-server to prepare for client connections] *** Thursday 25 July 2024 07:28:24 -0400 (0:00:00.088) 0:03:09.266 ********* 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": 6188, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** Thursday 25 July 2024 07:28:25 -0400 (0:00:01.367) 0:03:10.633 ********* fatal: [managed_node1]: FAILED! => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ...ignoring TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** Thursday 25 July 2024 07:28:25 -0400 (0:00:00.384) 0:03:11.018 ********* changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:28:09 EDT", "ActiveEnterTimestampMonotonic": "1238008782", "ActiveExitTimestamp": "Thu 2024-07-25 07:28:08 EDT", "ActiveExitTimestampMonotonic": "1237282689", "ActiveState": "active", "After": "-.mount basic.target systemd-journald.socket network.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:28:09 EDT", "AssertTimestampMonotonic": "1238007540", "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:28:09 EDT", "ConditionTimestampMonotonic": "1238007538", "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": "13453", "ExecMainStartTimestamp": "Thu 2024-07-25 07:28:09 EDT", "ExecMainStartTimestampMonotonic": "1238008222", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:28:09 EDT] ; stop_time=[n/a] ; pid=13453 ; 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:28:09 EDT", "InactiveEnterTimestampMonotonic": "1238005510", "InactiveExitTimestamp": "Thu 2024-07-25 07:28:09 EDT", "InactiveExitTimestampMonotonic": "1238008782", "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": "13453", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 07:28:09 EDT", "WatchdogTimestampMonotonic": "1238008758", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 07:28:26 -0400 (0:00:00.696) 0:03:11.715 ********* 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 password of sa user] ******** Thursday 25 July 2024 07:28:28 -0400 (0:00:01.564) 0:03:13.280 ********* changed: [managed_node1] => { "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 : Pre-input SQL script files to SQL Server] *** Thursday 25 July 2024 07:28:32 -0400 (0:00:03.942) 0:03:17.222 ********* 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:28:32 -0400 (0:00:00.070) 0:03:17.293 ********* 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:28:32 -0400 (0:00:00.071) 0:03:17.364 ********* 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:28:32 -0400 (0:00:00.075) 0:03:17.439 ********* 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:28:32 -0400 (0:00:00.071) 0:03:17.511 ********* 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:28:32 -0400 (0:00:00.075) 0:03:17.586 ********* 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:28:32 -0400 (0:00:00.071) 0:03:17.658 ********* 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:28:32 -0400 (0:00:00.069) 0:03:17.727 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** Thursday 25 July 2024 07:28:32 -0400 (0:00:00.070) 0:03:17.797 ********* 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:28:32 -0400 (0:00:00.070) 0:03:17.868 ********* 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:28:32 -0400 (0:00:00.119) 0:03:17.988 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003461", "end": "2024-07-25 07:28:33.160325", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:28:33.156864" } STDOUT: tcpport = 1432 TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** Thursday 25 July 2024 07:28:33 -0400 (0:00:00.361) 0:03:18.349 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.046600", "end": "2024-07-25 07:28:33.569738", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:28:33.523138" } 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 tcpport] ***** Thursday 25 July 2024 07:28:33 -0400 (0:00:00.416) 0:03:18.766 ********* 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:28:33 -0400 (0:00:00.064) 0:03:18.831 ********* 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:28:33 -0400 (0:00:00.069) 0:03:18.900 ********* 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:28:33 -0400 (0:00:00.071) 0:03:18.972 ********* 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:28:34 -0400 (0:00:00.226) 0:03:19.199 ********* 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:28:34 -0400 (0:00:00.074) 0:03:19.273 ********* 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:28:34 -0400 (0:00:00.068) 0:03:19.342 ********* 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:28:34 -0400 (0:00:00.072) 0:03:19.414 ********* 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:28:34 -0400 (0:00:00.068) 0:03:19.483 ********* 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:28:34 -0400 (0:00:00.069) 0:03:19.553 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** Thursday 25 July 2024 07:28:34 -0400 (0:00:00.072) 0:03:19.625 ********* 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:28:34 -0400 (0:00:00.067) 0:03:19.693 ********* 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:28:34 -0400 (0:00:00.068) 0:03:19.761 ********* skipping: [managed_node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* Thursday 25 July 2024 07:28:34 -0400 (0:00:00.074) 0:03:19.835 ********* 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:28:34 -0400 (0:00:00.068) 0:03:19.904 ********* 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:28:34 -0400 (0:00:00.065) 0:03:19.969 ********* 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:28:34 -0400 (0:00:00.068) 0:03:20.038 ********* 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:28:35 -0400 (0:00:00.070) 0:03:20.109 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** Thursday 25 July 2024 07:28:35 -0400 (0:00:00.065) 0:03:20.174 ********* 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:28:35 -0400 (0:00:00.067) 0:03:20.241 ********* 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:28:35 -0400 (0:00:00.067) 0:03:20.309 ********* 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:28:35 -0400 (0:00:00.070) 0:03:20.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:28:35 -0400 (0:00:00.070) 0:03:20.450 ********* 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:28:35 -0400 (0:00:00.220) 0:03:20.671 ********* 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:28:35 -0400 (0:00:00.072) 0:03:20.743 ********* 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:28:35 -0400 (0:00:00.068) 0:03:20.812 ********* 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:28:35 -0400 (0:00:00.072) 0:03:20.885 ********* 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:28:35 -0400 (0:00:00.068) 0:03:20.954 ********* 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:28:35 -0400 (0:00:00.070) 0:03:21.024 ********* 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:28:36 -0400 (0:00:00.069) 0:03:21.094 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* Thursday 25 July 2024 07:28:36 -0400 (0:00:00.067) 0:03:21.161 ********* 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:28:36 -0400 (0:00:00.069) 0:03:21.231 ********* 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:28:36 -0400 (0:00:00.066) 0:03:21.298 ********* 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:28:36 -0400 (0:00:00.071) 0:03:21.369 ********* 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:28:36 -0400 (0:00:00.067) 0:03:21.436 ********* 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:28:36 -0400 (0:00:00.068) 0:03:21.505 ********* 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:28:36 -0400 (0:00:00.067) 0:03:21.573 ********* 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:28:36 -0400 (0:00:00.068) 0:03:21.641 ********* 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:28:36 -0400 (0:00:00.067) 0:03:21.709 ********* 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:28:36 -0400 (0:00:00.069) 0:03:21.778 ********* 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:28:36 -0400 (0:00:00.065) 0:03:21.844 ********* 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:28:36 -0400 (0:00:00.066) 0:03:21.911 ********* 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:28:37 -0400 (0:00:00.219) 0:03:22.130 ********* 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:28:37 -0400 (0:00:00.069) 0:03:22.199 ********* 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:28:37 -0400 (0:00:00.082) 0:03:22.282 ********* 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:28:37 -0400 (0:00:00.069) 0:03:22.352 ********* 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:28:37 -0400 (0:00:00.067) 0:03:22.420 ********* 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:28:37 -0400 (0:00:00.087) 0:03:22.508 ********* 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:28:37 -0400 (0:00:00.069) 0:03:22.578 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** Thursday 25 July 2024 07:28:37 -0400 (0:00:00.067) 0:03:22.645 ********* 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:28:37 -0400 (0:00:00.070) 0:03:22.715 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* Thursday 25 July 2024 07:28:37 -0400 (0:00:00.064) 0:03:22.780 ********* 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:28:37 -0400 (0:00:00.068) 0:03:22.848 ********* 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:28:37 -0400 (0:00:00.065) 0:03:22.914 ********* 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:28:37 -0400 (0:00:00.071) 0:03:22.985 ********* 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:28:37 -0400 (0:00:00.068) 0:03:23.054 ********* 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:28:38 -0400 (0:00:00.066) 0:03:23.120 ********* 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:28:38 -0400 (0:00:00.068) 0:03:23.189 ********* 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:28:38 -0400 (0:00:00.066) 0:03:23.255 ********* 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:28:38 -0400 (0:00:00.083) 0:03:23.339 ********* 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:28:38 -0400 (0:00:00.070) 0:03:23.410 ********* 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:28:38 -0400 (0:00:00.218) 0:03:23.628 ********* 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:28:38 -0400 (0:00:00.070) 0:03:23.699 ********* 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:28:38 -0400 (0:00:00.072) 0:03:23.771 ********* 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:28:38 -0400 (0:00:00.081) 0:03:23.853 ********* 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:28:38 -0400 (0:00:00.069) 0:03:23.923 ********* 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:28:38 -0400 (0:00:00.070) 0:03:23.994 ********* 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:28:38 -0400 (0:00:00.075) 0:03:24.069 ********* 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:28:39 -0400 (0:00:00.069) 0:03:24.139 ********* 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:28:39 -0400 (0:00:00.467) 0:03:24.607 ********* changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:28:09 EDT", "ActiveEnterTimestampMonotonic": "1238008782", "ActiveExitTimestamp": "Thu 2024-07-25 07:28:26 EDT", "ActiveExitTimestampMonotonic": "1254652177", "ActiveState": "inactive", "After": "-.mount basic.target systemd-journald.socket network.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:28:09 EDT", "AssertTimestampMonotonic": "1238007540", "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:28:09 EDT", "ConditionTimestampMonotonic": "1238007538", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "1", "ExecMainExitTimestamp": "Thu 2024-07-25 07:28:26 EDT", "ExecMainExitTimestampMonotonic": "1254874244", "ExecMainPID": "13453", "ExecMainStartTimestamp": "Thu 2024-07-25 07:28:09 EDT", "ExecMainStartTimestampMonotonic": "1238008222", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:28:09 EDT] ; stop_time=[Thu 2024-07-25 07:28:26 EDT] ; pid=13453 ; code=exited ; status=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:28:26 EDT", "InactiveEnterTimestampMonotonic": "1254874330", "InactiveExitTimestamp": "Thu 2024-07-25 07:28:09 EDT", "InactiveExitTimestampMonotonic": "1238008782", "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": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "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", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 07:28:40 -0400 (0:00:00.537) 0:03:25.145 ********* 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:28:40 -0400 (0:00:00.070) 0:03:25.215 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify settings] ********************************************************* Thursday 25 July 2024 07:28:40 -0400 (0:00:00.066) 0:03:25.281 ********* 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:28:41 -0400 (0:00:00.925) 0:03:26.206 ********* 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:28:41 -0400 (0:00:00.070) 0:03:26.277 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* Thursday 25 July 2024 07:28:41 -0400 (0:00:00.071) 0:03:26.349 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** Thursday 25 July 2024 07:28:41 -0400 (0:00:00.067) 0:03:26.417 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** Thursday 25 July 2024 07:28:41 -0400 (0:00:00.071) 0:03:26.488 ********* 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:28:41 -0400 (0:00:00.065) 0:03:26.554 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ Thursday 25 July 2024 07:28:41 -0400 (0:00:00.069) 0:03:26.623 ********* 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:28:41 -0400 (0:00:00.067) 0:03:26.691 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** Thursday 25 July 2024 07:28:41 -0400 (0:00:00.065) 0:03:26.756 ********* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** Thursday 25 July 2024 07:28:41 -0400 (0:00:00.117) 0:03:26.874 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:28:39 EDT", "ActiveEnterTimestampMonotonic": "1268287389", "ActiveExitTimestamp": "Thu 2024-07-25 07:28:26 EDT", "ActiveExitTimestampMonotonic": "1254652177", "ActiveState": "active", "After": "-.mount basic.target systemd-journald.socket network.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:28:39 EDT", "AssertTimestampMonotonic": "1268286754", "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:28:39 EDT", "ConditionTimestampMonotonic": "1268286752", "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": "15059", "ExecMainStartTimestamp": "Thu 2024-07-25 07:28:39 EDT", "ExecMainStartTimestampMonotonic": "1268287336", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 07:28:39 EDT] ; stop_time=[n/a] ; pid=15059 ; 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:28:26 EDT", "InactiveEnterTimestampMonotonic": "1254874330", "InactiveExitTimestamp": "Thu 2024-07-25 07:28:39 EDT", "InactiveExitTimestampMonotonic": "1268287389", "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": "15059", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 07:28:39 EDT", "WatchdogTimestampMonotonic": "1268287367", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** Thursday 25 July 2024 07:28:42 -0400 (0:00:00.595) 0:03:27.469 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005076", "end": "2024-07-25 07:28:43.205205", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:28:43.200129" } STDOUT: tcpport = 1433 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** Thursday 25 July 2024 07:28:43 -0400 (0:00:00.944) 0:03:28.413 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004158", "end": "2024-07-25 07:28:43.690545", "failed_when_result": false, "rc": 0, "start": "2024-07-25 07:28:43.686387" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* Thursday 25 July 2024 07:28:43 -0400 (0:00:00.646) 0:03:29.060 ********* 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:28:44 -0400 (0:00:00.086) 0:03:29.146 ********* 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": 6984, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** Thursday 25 July 2024 07:28:45 -0400 (0:00:01.360) 0:03:30.507 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1433", "-U", "sa", "-P", "p@55w0rD11", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.026122", "end": "2024-07-25 07:28:45.707700", "rc": 0, "start": "2024-07-25 07:28:45.681578" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* Thursday 25 July 2024 07:28:45 -0400 (0:00:00.391) 0:03:30.899 ********* ok: [managed_node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* Thursday 25 July 2024 07:28:45 -0400 (0:00:00.078) 0:03:30.977 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* Thursday 25 July 2024 07:28:45 -0400 (0:00:00.069) 0:03:31.046 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** Thursday 25 July 2024 07:28:46 -0400 (0:00:00.071) 0:03:31.118 ********* 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:28:46 -0400 (0:00:00.067) 0:03:31.185 ********* 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:28:46 -0400 (0:00:00.069) 0:03:31.255 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** Thursday 25 July 2024 07:28:46 -0400 (0:00:00.072) 0:03:31.328 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** Thursday 25 July 2024 07:28:46 -0400 (0:00:00.067) 0:03:31.395 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** Thursday 25 July 2024 07:28:46 -0400 (0:00:00.071) 0:03:31.466 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** Thursday 25 July 2024 07:28:46 -0400 (0:00:00.068) 0:03:31.535 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** Thursday 25 July 2024 07:28:46 -0400 (0:00:00.068) 0:03:31.604 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** Thursday 25 July 2024 07:28:46 -0400 (0:00:00.068) 0:03:31.672 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** Thursday 25 July 2024 07:28:46 -0400 (0:00:00.068) 0:03:31.740 ********* 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:28:46 -0400 (0:00:00.071) 0:03:31.812 ********* 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:28:47 -0400 (0:00:00.963) 0:03:32.775 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003374", "end": "2024-07-25 07:28:48.097190", "rc": 0, "start": "2024-07-25 07:28:48.093816" } STDOUT: # BEGIN ANSIBLE MANAGED BLOCK # # Ansible managed # # system_role:mssql # END ANSIBLE MANAGED BLOCK [sqlagent] enabled = false [EULA] accepteula = Y [network] tcpport = 1433 ipaddress = 127.0.0.1 TASK [Clean up after the role invocation] ************************************** Thursday 25 July 2024 07:28:48 -0400 (0:00:00.507) 0:03:33.283 ********* 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:28:48 -0400 (0:00:00.117) 0:03:33.400 ********* 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:28:49 -0400 (0:00:01.193) 0:03:34.594 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** Thursday 25 July 2024 07:28:49 -0400 (0:00:00.092) 0:03:34.686 ********* ok: [managed_node1] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** Thursday 25 July 2024 07:28:49 -0400 (0:00:00.070) 0:03:34.757 ********* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** Thursday 25 July 2024 07:28:50 -0400 (0:00:00.357) 0:03:35.114 ********* 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:28:50 -0400 (0:00:00.126) 0:03:35.241 ********* 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:28:50 -0400 (0:00:00.093) 0:03:35.334 ********* 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:28:50 -0400 (0:00:00.474) 0:03:35.809 ********* 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:28:50 -0400 (0:00:00.079) 0:03:35.889 ********* 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:28:51 -0400 (0:00:00.364) 0:03:36.254 ********* ok: [managed_node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** Thursday 25 July 2024 07:28:51 -0400 (0:00:00.074) 0:03:36.329 ********* 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:28:51 -0400 (0:00:00.582) 0:03:36.911 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** Thursday 25 July 2024 07:28:51 -0400 (0:00:00.071) 0:03:36.982 ********* 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:28:51 -0400 (0:00:00.068) 0:03:37.050 ********* 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:28:52 -0400 (0:00:00.069) 0:03:37.120 ********* 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:28:52 -0400 (0:00:00.068) 0:03:37.189 ********* 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:28:52 -0400 (0:00:00.086) 0:03:37.276 ********* ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:11:16 EDT", "ActiveEnterTimestampMonotonic": "224562844", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target polkit.service system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:11:15 EDT", "AssertTimestampMonotonic": "223566636", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-07-25 07:11:15 EDT", "ConditionTimestampMonotonic": "223566634", "Conflicts": "iptables.service ipset.service ebtables.service shutdown.target ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8433", "ExecMainStartTimestamp": "Thu 2024-07-25 07:11:15 EDT", "ExecMainStartTimestampMonotonic": "223568521", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-07-25 07:11:15 EDT", "InactiveExitTimestampMonotonic": "223568552", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "8433", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2024-07-25 07:11:16 EDT", "WatchdogTimestampMonotonic": "224562789", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** Thursday 25 July 2024 07:28:52 -0400 (0:00:00.465) 0:03:37.741 ********* 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": "basic.target polkit.service system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 07:11:15 EDT", "AssertTimestampMonotonic": "223566636", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-07-25 07:11:15 EDT", "ConditionTimestampMonotonic": "223566634", "Conflicts": "iptables.service ipset.service ebtables.service shutdown.target ip6tables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8433", "ExecMainStartTimestamp": "Thu 2024-07-25 07:11:15 EDT", "ExecMainStartTimestampMonotonic": "223568521", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-07-25 07:11:15 EDT", "InactiveExitTimestampMonotonic": "223568552", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "8433", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Thu 2024-07-25 07:11:16 EDT", "WatchdogTimestampMonotonic": "224562789", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** Thursday 25 July 2024 07:28:53 -0400 (0:00:00.616) 0:03:38.358 ********* 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:28:53 -0400 (0:00:00.077) 0:03:38.436 ********* 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:28:53 -0400 (0:00:00.370) 0:03:38.807 ********* ok: [managed_node1] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** Thursday 25 July 2024 07:28:53 -0400 (0:00:00.079) 0:03:38.886 ********* TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** Thursday 25 July 2024 07:28:53 -0400 (0:00:00.073) 0:03:38.960 ********* TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* Thursday 25 July 2024 07:28:53 -0400 (0:00:00.069) 0:03:39.030 ********* 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:28:54 -0400 (0:00:00.079) 0:03:39.110 ********* 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:28:54 -0400 (0:00:00.069) 0:03:39.180 ********* 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:28:54 -0400 (0:00:00.073) 0:03:39.254 ********* 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:28:54 -0400 (0:00:00.354) 0:03:39.608 ********* 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:28:54 -0400 (0:00:00.082) 0:03:39.691 ********* skipping: [managed_node1] => {} TASK [Purge selinux configuration] ********************************************* Thursday 25 July 2024 07:28:54 -0400 (0:00:00.070) 0:03:39.761 ********* TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** Thursday 25 July 2024 07:28:54 -0400 (0:00:00.165) 0:03:39.927 ********* 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:28:54 -0400 (0:00:00.119) 0:03:40.047 ********* 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:28:55 -0400 (0:00:00.237) 0:03:40.285 ********* 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:28:55 -0400 (0:00:00.129) 0:03:40.415 ********* 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:28:55 -0400 (0:00:00.376) 0:03:40.791 ********* 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:28:55 -0400 (0:00:00.078) 0:03:40.869 ********* 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:28:56 -0400 (0:00:00.376) 0:03:41.246 ********* 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:28:56 -0400 (0:00:00.076) 0:03:41.322 ********* 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:28:56 -0400 (0:00:00.578) 0:03:41.901 ********* 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:28:56 -0400 (0:00:00.067) 0:03:41.969 ********* 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:28:56 -0400 (0:00:00.070) 0:03:42.039 ********* 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:28:57 -0400 (0:00:00.070) 0:03:42.110 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** Thursday 25 July 2024 07:28:57 -0400 (0:00:00.069) 0:03:42.179 ********* 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:28:57 -0400 (0:00:00.069) 0:03:42.249 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** Thursday 25 July 2024 07:28:57 -0400 (0:00:00.068) 0:03:42.317 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** Thursday 25 July 2024 07:28:57 -0400 (0:00:00.598) 0:03:42.916 ********* 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:28:57 -0400 (0:00:00.068) 0:03:42.985 ********* 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:28:57 -0400 (0:00:00.068) 0:03:43.053 ********* 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:28:58 -0400 (0:00:00.071) 0:03:43.124 ********* 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:28:58 -0400 (0:00:00.062) 0:03:43.187 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** Thursday 25 July 2024 07:28:58 -0400 (0:00:00.220) 0:03:43.408 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:00.362985", "end": "2024-07-25 07:28:58.949768", "rc": 0, "start": "2024-07-25 07:28:58.586783" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** Thursday 25 July 2024 07:28:59 -0400 (0:00:00.730) 0:03:44.138 ********* 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:28:59 -0400 (0:00:00.066) 0:03:44.205 ********* 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:28:59 -0400 (0:00:00.071) 0:03:44.276 ********* 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:28:59 -0400 (0:00:00.070) 0:03:44.347 ********* 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:28:59 -0400 (0:00:00.070) 0:03:44.417 ********* TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** Thursday 25 July 2024 07:28:59 -0400 (0:00:00.069) 0:03:44.487 ********* TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** Thursday 25 July 2024 07:28:59 -0400 (0:00:00.071) 0:03:44.558 ********* TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** Thursday 25 July 2024 07:28:59 -0400 (0:00:00.069) 0:03:44.627 ********* TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** Thursday 25 July 2024 07:28:59 -0400 (0:00:00.068) 0:03:44.696 ********* 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:29:02 -0400 (0:00:03.084) 0:03:47.781 ********* 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:29:02 -0400 (0:00:00.092) 0:03:47.874 ********* TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** Thursday 25 July 2024 07:29:02 -0400 (0:00:00.089) 0:03:47.963 ********* TASK [Leave realm] ************************************************************* Thursday 25 July 2024 07:29:03 -0400 (0:00:00.231) 0:03:48.194 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ Thursday 25 July 2024 07:29:03 -0400 (0:00:00.127) 0:03:48.322 ********* 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:29:03 -0400 (0:00:00.125) 0:03:48.447 ********* ok: [managed_node1] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* Thursday 25 July 2024 07:29:03 -0400 (0:00:00.487) 0:03:48.934 ********* changed: [managed_node1] => { "changed": true, "changes": { "removed": [ "mssql-server", "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "adutil is not installed", "mssql-server-fts is not installed", "mssql-server-ha is not installed", "powershell is not installed", "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3465.1-1 will be erased\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be erased\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n--> Finding unneeded leftover dependencies\n---> Marking msodbcsql17 to be removed - no longer needed by mssql-tools\n---> Marking unixODBC to be removed - no longer needed by unixODBC-devel\n---> Marking cyrus-sasl to be removed - no longer needed by mssql-server\n---> Marking gdb to be removed - no longer needed by mssql-server\n---> Marking libatomic to be removed - no longer needed by mssql-server\n---> Marking libsss_nss_idmap to be removed - no longer needed by mssql-server\n---> Marking bzip2 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl-gssapi to be removed - no longer needed by mssql-server\n---> Marking libtool-ltdl to be removed - no longer needed by unixODBC\nFound and removing 9 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package msodbcsql17.x86_64 0:17.10.6.1-1 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 14.0.3465.1-1 @packages-microsoft-com-mssql-server-2017\n 1.0 G\n mssql-tools x86_64 17.10.1.1-1 @packages-microsoft-com-prod 714 k\n unixODBC-devel x86_64 2.3.11-1.rh @packages-microsoft-com-prod 223 k\nRemoving for dependencies:\n bzip2 x86_64 1.0.6-13.el7 @base 82 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 @updates 141 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 @updates 36 k\n gdb x86_64 7.6.1-120.el7 @base 7.0 M\n libatomic x86_64 4.8.5-44.el7 @base 26 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 @updates 82 k\n libtool-ltdl x86_64 2.4.2-22.el7_3 @base 66 k\n msodbcsql17 x86_64 17.10.6.1-1 @packages-microsoft-com-prod 2.2 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+9 Dependent packages)\n\nInstalled size: 1.0 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-14.0.3465.1-1.x86_64 1/12 \n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 2/12 \n Erasing : mssql-tools-17.10.1.1-1.x86_64 3/12 \n Erasing : msodbcsql17-17.10.6.1-1.x86_64 4/12 \nODBC Driver 17 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-2.3.11-1.rh.x86_64 5/12 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 6/12 \n Erasing : libatomic-4.8.5-44.el7.x86_64 7/12 \n Erasing : bzip2-1.0.6-13.el7.x86_64 8/12 \n Erasing : gdb-7.6.1-120.el7.x86_64 9/12 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 10/12 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 12/12 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/12 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 2/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 3/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 4/12 \n Verifying : msodbcsql17-17.10.6.1-1.x86_64 5/12 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 6/12 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 7/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 8/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 9/12 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 10/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 12/12 \n\nRemoved:\n mssql-server.x86_64 0:14.0.3465.1-1 mssql-tools.x86_64 0:17.10.1.1-1 \n unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Removed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 \n msodbcsql17.x86_64 0:17.10.6.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** Thursday 25 July 2024 07:29:06 -0400 (0:00:03.135) 0:03:52.070 ********* [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.007528", "end": "2024-07-25 07:29:07.249402", "rc": 0, "start": "2024-07-25 07:29:07.241874" } STDOUT: removed ‘/var/opt/mssql/mssql.conf’ removed ‘/var/opt/mssql/data/model.mdf’ removed ‘/var/opt/mssql/data/templog.ldf’ removed ‘/var/opt/mssql/data/tempdb.mdf’ removed ‘/var/opt/mssql/data/msdbdata.mdf’ removed ‘/var/opt/mssql/data/modellog.ldf’ removed ‘/var/opt/mssql/data/msdblog.ldf’ removed ‘/var/opt/mssql/data/mastlog.ldf’ removed ‘/var/opt/mssql/data/master.mdf’ removed directory: ‘/var/opt/mssql/data’ removed ‘/var/opt/mssql/secrets/machine-key’ removed directory: ‘/var/opt/mssql/secrets’ removed ‘/var/opt/mssql/.system/system/lsa.hiv’ removed directory: ‘/var/opt/mssql/.system/system/Temp’ removed ‘/var/opt/mssql/.system/system/licensing.hiv’ removed ‘/var/opt/mssql/.system/system/lsasetup.log’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/4a44e37f-a86b-44d1-b4c3-d199485b20dd’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles/Scm’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles’ removed directory: ‘/var/opt/mssql/.system/system/system32’ removed ‘/var/opt/mssql/.system/system/security.hiv’ removed ‘/var/opt/mssql/.system/system/debug/PASSWD.LOG’ removed directory: ‘/var/opt/mssql/.system/system/debug’ removed directory: ‘/var/opt/mssql/.system/system’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Temp’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/LocalLow’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-2014803082-2972846378-359124418-500/42e7704ae40b0d75de00736cc66b813a_d5179aa2-1c42-4b60-89a6-2d4ec898601b’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-2014803082-2972846378-359124418-500’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-2014803082-2972846378-359124418-500/755ba524-97d5-4d55-aec3-32a514f4b880’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-2014803082-2972846378-359124418-500/Preferred’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-2014803082-2972846378-359124418-500’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/CREDHIST’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Desktop’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Documents’ removed directory: ‘/var/opt/mssql/.system/profiles/Client’ removed directory: ‘/var/opt/mssql/.system/profiles’ removed ‘/var/opt/mssql/.system/instance_id’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft’ removed directory: ‘/var/opt/mssql/.system/programdata’ removed directory: ‘/var/opt/mssql/.system’ removed ‘/var/opt/mssql/log/errorlog.8’ removed ‘/var/opt/mssql/log/errorlog.9’ removed ‘/var/opt/mssql/log/system_health_0_133663804115780000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663803616850000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663805223110000.xel’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/log_9.trc’ removed ‘/var/opt/mssql/log/system_health_0_133663804922610000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133663804006700000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133663804653830000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663804366720000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663804003590000.xel’ removed ‘/var/opt/mssql/log/log_6.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663805107260000.xel’ removed ‘/var/opt/mssql/log/errorlog.10’ removed ‘/var/opt/mssql/log/errorlog’ removed ‘/var/opt/mssql/log/system_health_0_133663803626580000.xel’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/system_health_0_133663804370010000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663804539640000.xel’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/log_8.trc’ removed ‘/var/opt/mssql/log/system_health_0_133663805226910000.xel’ removed ‘/var/opt/mssql/log/log_5.trc’ removed ‘/var/opt/mssql/log/errorlog.4’ removed ‘/var/opt/mssql/log/errorlog.2’ removed ‘/var/opt/mssql/log/system_health_0_133663804542620000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133663803681060000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663803677140000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663804649840000.xel’ removed ‘/var/opt/mssql/log/errorlog.7’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663804111980000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663804919260000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133663805110430000.xel’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/log_7.trc’ removed directory: ‘/var/opt/mssql/log’ removed directory: ‘/var/opt/mssql’ removed directory: ‘/opt/mssql’ removed directory: ‘/opt/mssql-tools’ removed ‘/etc/yum.repos.d/packages-microsoft-com-mssql-server-2017.repo’ removed ‘/etc/yum.repos.d/packages-microsoft-com-prod.repo’ removed ‘/etc/systemd/system/multi-user.target.wants/mssql-server.service’ TASK [Stop the mssql-server service] ******************************************* Thursday 25 July 2024 07:29:07 -0400 (0:00:00.395) 0:03:52.466 ********* ok: [managed_node1] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.369788", "end": "2024-07-25 07:29:08.004138", "rc": 0, "start": "2024-07-25 07:29:07.634350" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** Thursday 25 July 2024 07:29:08 -0400 (0:00:00.676) 0:03:53.142 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.842197", "end": "2024-07-25 07:29:10.224056", "rc": 0, "start": "2024-07-25 07:29:08.381859" } PLAY RECAP ********************************************************************* managed_node1 : ok=236 changed=31 unreachable=0 failed=0 skipped=801 rescued=0 ignored=3 Thursday 25 July 2024 07:29:10 -0400 (0:00:02.226) 0:03:55.369 ********* =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 35.81s fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 6.68s fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 4.65s fedora.linux_system_roles.mssql : Change the password of sa user -------- 3.94s fedora.linux_system_roles.mssql : Change the password of sa user -------- 3.86s Remove related packages ------------------------------------------------- 3.14s fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 3.08s fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.23s fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.66s fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.56s Wait for mssql-server to prepare for client connections ----------------- 1.44s fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.43s fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.38s Wait for mssql-server to prepare for client connections ----------------- 1.38s fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist --- 1.37s Change the password with a custom TCP port and IP address. Should report Changed. --- 1.37s fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 1.37s Wait for mssql-server to prepare for client connections ----------------- 1.36s fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.35s fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 1.35s