Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles PLAY [Ensure that the role is idempotent] ************************************** TASK [Run tests_idempotency with SQL Server 2017] ****************************** Thursday 25 July 2024 07:59:46 -0400 (0:00:00.044) 0:00:00.044 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml for managed_node1 TASK [Assert fail on EL 7 with version = 2022 and EL 9 with version != 2022] *** Thursday 25 July 2024 07:59:46 -0400 (0:00:00.022) 0:00:00.067 ********* 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:59:46 -0400 (0:00:00.077) 0:00:00.145 ********* ok: [managed_node1] TASK [Run the role] ************************************************************ Thursday 25 July 2024 07:59:47 -0400 (0:00:00.681) 0:00:00.826 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** Thursday 25 July 2024 07:59:47 -0400 (0:00:00.018) 0:00:00.844 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run on a fresh host and set all parameters] ****************************** Thursday 25 July 2024 07:59:47 -0400 (0:00:00.019) 0:00:00.864 ********* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** Thursday 25 July 2024 07:59:47 -0400 (0:00:00.317) 0:00:01.182 ********* 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:59:47 -0400 (0:00:00.021) 0:00:01.204 ********* 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:59:47 -0400 (0:00:00.019) 0:00:01.224 ********* 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:59:47 -0400 (0:00:00.048) 0:00:01.272 ********* 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:59:47 -0400 (0:00:00.018) 0:00:01.291 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Thursday 25 July 2024 07:59:48 -0400 (0:00:00.017) 0:00:01.308 ********* 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:59:48 -0400 (0:00:00.016) 0:00:01.325 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** Thursday 25 July 2024 07:59:48 -0400 (0:00:00.020) 0:00:01.345 ********* 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:59:48 -0400 (0:00:00.015) 0:00:01.361 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** Thursday 25 July 2024 07:59:48 -0400 (0:00:00.016) 0:00:01.378 ********* 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:59:48 -0400 (0:00:00.015) 0:00:01.394 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** Thursday 25 July 2024 07:59:48 -0400 (0:00:00.019) 0:00:01.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:59:48 -0400 (0:00:00.016) 0:00:01.429 ********* 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:59:48 -0400 (0:00:00.024) 0:00:01.454 ********* 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:59:48 -0400 (0:00:00.017) 0:00:01.471 ********* 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:59:48 -0400 (0:00:00.017) 0:00:01.488 ********* 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:59:48 -0400 (0:00:00.016) 0:00:01.504 ********* 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:59:48 -0400 (0:00:00.018) 0:00:01.522 ********* 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:59:48 -0400 (0:00:00.017) 0:00:01.540 ********* 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:59:48 -0400 (0:00:00.019) 0:00:01.560 ********* 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:59:49 -0400 (0:00:01.370) 0:00:02.930 ********* 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:59:49 -0400 (0:00:00.100) 0:00:03.030 ********* 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:59:49 -0400 (0:00:00.051) 0:00:03.081 ********* 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:59:49 -0400 (0:00:00.054) 0:00:03.135 ********* skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** Thursday 25 July 2024 07:59:49 -0400 (0:00:00.086) 0:00:03.222 ********* 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:59:50 -0400 (0:00:00.654) 0:00:03.877 ********* 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:59:50 -0400 (0:00:00.049) 0:00:03.927 ********* 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:59:50 -0400 (0:00:00.052) 0:00:03.979 ********* 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:59:50 -0400 (0:00:00.049) 0:00:04.028 ********* 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:59:50 -0400 (0:00:00.051) 0:00:04.080 ********* 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:59:50 -0400 (0:00:00.052) 0:00:04.132 ********* 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:59:50 -0400 (0:00:00.055) 0:00:04.188 ********* 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:59:51 -0400 (0:00:00.428) 0:00:04.617 ********* 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:59:51 -0400 (0:00:00.050) 0:00:04.668 ********* 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:59:52 -0400 (0:00:00.745) 0:00:05.413 ********* 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 08:00:27 -0400 (0:00:35.237) 0:00:40.651 ********* 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 08:00:27 -0400 (0:00:00.051) 0:00:40.703 ********* 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.006892", "end": "2024-07-25 08:00:27.778022", "rc": 0, "start": "2024-07-25 08:00:27.771130" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** Thursday 25 July 2024 08:00:27 -0400 (0:00:00.458) 0:00:41.161 ********* 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 08:00:28 -0400 (0:00:01.029) 0:00:42.191 ********* 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 08:00:28 -0400 (0:00:00.081) 0:00:42.273 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** Thursday 25 July 2024 08:00:29 -0400 (0:00:00.065) 0:00:42.338 ********* 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 08:00:34 -0400 (0:00:05.069) 0:00:47.408 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed_node1 included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /tmp/mssql_data] *** Thursday 25 July 2024 08:00:34 -0400 (0:00:00.130) 0:00:47.539 ********* changed: [managed_node1] => { "changed": true, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/tmp/mssql_data", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** Thursday 25 July 2024 08:00:34 -0400 (0:00:00.589) 0:00:48.128 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** Thursday 25 July 2024 08:00:34 -0400 (0:00:00.081) 0:00:48.209 ********* 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 filelocation defaultdatadir] *** Thursday 25 July 2024 08:00:35 -0400 (0:00:00.103) 0:00:48.313 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004269", "end": "2024-07-25 08:00:35.410256", "failed_when_result": false, "rc": 1, "start": "2024-07-25 08:00:35.405987" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** Thursday 25 July 2024 08:00:35 -0400 (0:00:00.513) 0:00:48.826 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultdatadir", "/tmp/mssql_data" ], "delta": "0:00:00.067900", "end": "2024-07-25 08:00:36.078987", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:00:36.011087" } 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 filelocation defaultdatadir] *** Thursday 25 July 2024 08:00:36 -0400 (0:00:00.705) 0:00:49.532 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /tmp/mssql_log] *** Thursday 25 July 2024 08:00:36 -0400 (0:00:00.061) 0:00:49.593 ********* changed: [managed_node1] => { "changed": true, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/tmp/mssql_log", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** Thursday 25 July 2024 08:00:36 -0400 (0:00:00.502) 0:00:50.096 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** Thursday 25 July 2024 08:00:36 -0400 (0:00:00.058) 0:00:50.154 ********* 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 filelocation defaultlogdir] *** Thursday 25 July 2024 08:00:36 -0400 (0:00:00.104) 0:00:50.259 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004349", "end": "2024-07-25 08:00:37.506594", "failed_when_result": false, "rc": 1, "start": "2024-07-25 08:00:37.502245" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** Thursday 25 July 2024 08:00:37 -0400 (0:00:00.659) 0:00:50.918 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/tmp/mssql_log" ], "delta": "0:00:00.072512", "end": "2024-07-25 08:00:38.027492", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:00:37.954980" } 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 filelocation defaultlogdir] *** Thursday 25 July 2024 08:00:38 -0400 (0:00:00.506) 0:00:51.425 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** Thursday 25 July 2024 08:00:38 -0400 (0:00:00.060) 0:00:51.485 ********* 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 08:00:38 -0400 (0:00:00.059) 0:00:51.544 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** Thursday 25 July 2024 08:00:38 -0400 (0:00:00.059) 0:00:51.604 ********* 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 08:00:38 -0400 (0:00:00.533) 0:00:52.137 ********* 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 basic.target system.slice systemd-sysctl.service systemd-journald.socket network.target", "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": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "850", "ExecMainStartTimestamp": "Thu 2024-07-25 07:07:57 EDT", "ExecMainStartTimestampMonotonic": "26120028", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-07-25 07:07:57 EDT", "InactiveExitTimestampMonotonic": "26120069", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "850", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target dbus.service system.slice polkit.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 08:00:39 -0400 (0:00:00.669) 0:00:52.806 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.089100", "end": "2024-07-25 08:00:39.831399", "rc": 0, "start": "2024-07-25 08:00:39.742299" } 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 08:00:39 -0400 (0:00:00.417) 0:00:53.224 ********* 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 08:00:39 -0400 (0:00:00.059) 0:00:53.283 ********* 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 08:00:40 -0400 (0:00:00.063) 0:00:53.347 ********* 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 08:00:40 -0400 (0:00:00.061) 0:00:53.409 ********* 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 08:00:40 -0400 (0:00:00.336) 0:00:53.746 ********* 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 08:00:40 -0400 (0:00:00.056) 0:00:53.802 ********* 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 08:00:44 -0400 (0:00:04.496) 0:00:58.299 ********* 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 08:00:45 -0400 (0:00:00.057) 0:00:58.357 ********* 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 08:00:45 -0400 (0:00:00.057) 0:00:58.414 ********* skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** Thursday 25 July 2024 08:00:45 -0400 (0:00:00.060) 0:00:58.474 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 08:00:45 -0400 (0:00:00.058) 0:00:58.533 ********* 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 08:00:45 -0400 (0:00:00.058) 0:00:58.591 ********* 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 08:00:45 -0400 (0:00:00.058) 0:00:58.650 ********* 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 08:00:45 -0400 (0:00:00.057) 0:00:58.708 ********* 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 08:00:45 -0400 (0:00:00.096) 0:00:58.804 ********* 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 08:00:45 -0400 (0:00:00.058) 0:00:58.863 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 08:00:45 -0400 (0:00:00.060) 0:00:58.923 ********* 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 08:00:45 -0400 (0:00:00.061) 0:00:58.984 ********* 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 08:00:45 -0400 (0:00:00.057) 0:00:59.042 ********* 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 08:00:45 -0400 (0:00:00.111) 0:00:59.154 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003132", "end": "2024-07-25 08:00:46.099146", "failed_when_result": false, "rc": 1, "start": "2024-07-25 08:00:46.096014" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** Thursday 25 July 2024 08:00:46 -0400 (0:00:00.338) 0:00:59.493 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "0.0.0.0" ], "delta": "0:00:00.045504", "end": "2024-07-25 08:00:46.486489", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:00:46.440985" } 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 08:00:46 -0400 (0:00:00.393) 0:00:59.886 ********* 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 08:00:46 -0400 (0:00:00.058) 0:00:59.945 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** Thursday 25 July 2024 08:00:46 -0400 (0:00:00.062) 0:01:00.008 ********* 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 08:00:46 -0400 (0:00:00.060) 0:01:00.069 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* Thursday 25 July 2024 08:00:46 -0400 (0:00:00.109) 0:01:00.178 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004348", "end": "2024-07-25 08:00:47.130683", "failed_when_result": false, "rc": 1, "start": "2024-07-25 08:00:47.126335" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** Thursday 25 July 2024 08:00:47 -0400 (0:00:00.346) 0:01:00.524 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.047063", "end": "2024-07-25 08:00:47.516670", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:00:47.469607" } 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 08:00:47 -0400 (0:00:00.450) 0:01:00.974 ********* 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 08:00:47 -0400 (0:00:00.059) 0:01:01.034 ********* 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 08:00:47 -0400 (0:00:00.060) 0:01:01.095 ********* 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 sqlagent enabled] ****** Thursday 25 July 2024 08:00:47 -0400 (0:00:00.115) 0:01:01.210 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003230", "end": "2024-07-25 08:00:48.156213", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:00:48.152983" } STDOUT: enabled = false TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** Thursday 25 July 2024 08:00:48 -0400 (0:00:00.334) 0:01:01.545 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "True" ], "delta": "0:00:00.046672", "end": "2024-07-25 08:00:48.538074", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:00:48.491402" } 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 sqlagent enabled] **** Thursday 25 July 2024 08:00:48 -0400 (0:00:00.387) 0:01:01.932 ********* 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 08:00:48 -0400 (0:00:00.059) 0:01:01.991 ********* changed: [managed_node1] => { "changed": true, "changes": { "installed": [ "mssql-server-fts" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server-fts.x86_64 0:14.0.3465.1-1 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server-fts\n x86_64 14.0.3465.1-1 packages-microsoft-com-mssql-server-2017 225 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal size: 225 M\nInstalled size: 554 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : mssql-server-fts-14.0.3465.1-1.x86_64 1/1 \n\n+-------------------------------------------------------------------------------------+\nPlease restart mssql-server to enable Microsoft SQL Server Full Text Search.\n+-------------------------------------------------------------------------------------+\n\n Verifying : mssql-server-fts-14.0.3465.1-1.x86_64 1/1 \n\nInstalled:\n mssql-server-fts.x86_64 0:14.0.3465.1-1 \n\nComplete!\n" ] } lsrpackages: mssql-server-fts TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* Thursday 25 July 2024 08:01:09 -0400 (0:00:20.797) 0:01:22.789 ********* changed: [managed_node1] => { "changed": true, "changes": { "installed": [ "powershell" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\nResolving Dependencies\n--> Running transaction check\n---> Package powershell.x86_64 0:7.3.12-1.rh will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n powershell x86_64 7.3.12-1.rh packages-microsoft-com-prod 66 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal size: 66 M\nInstalled size: 168 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : powershell-7.3.12-1.rh.x86_64 1/1 \n Verifying : powershell-7.3.12-1.rh.x86_64 1/1 \n\nInstalled:\n powershell.x86_64 0:7.3.12-1.rh \n\nComplete!\n" ] } lsrpackages: powershell TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** Thursday 25 July 2024 08:01:19 -0400 (0:00:10.216) 0:01:33.005 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005884", "end": "2024-07-25 08:01:19.942124", "failed_when_result": false, "rc": 1, "start": "2024-07-25 08:01:19.936240" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** Thursday 25 July 2024 08:01:20 -0400 (0:00:00.323) 0:01:33.328 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "on" ], "delta": "0:00:00.047389", "end": "2024-07-25 08:01:20.314330", "rc": 0, "start": "2024-07-25 08:01:20.266941" } 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 3979 traceflag] ************** Thursday 25 July 2024 08:01:20 -0400 (0:00:00.377) 0:01:33.705 ********* 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 08:01:20 -0400 (0:00:00.058) 0:01:33.764 ********* 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 control alternatewritethrough] *** Thursday 25 July 2024 08:01:20 -0400 (0:00:00.148) 0:01:33.912 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003196", "end": "2024-07-25 08:01:20.863794", "failed_when_result": false, "rc": 1, "start": "2024-07-25 08:01:20.860598" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** Thursday 25 July 2024 08:01:20 -0400 (0:00:00.342) 0:01:34.255 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.alternatewritethrough", "0" ], "delta": "0:00:00.048238", "end": "2024-07-25 08:01:21.250628", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:01:21.202390" } 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 control alternatewritethrough] *** Thursday 25 July 2024 08:01:21 -0400 (0:00:00.392) 0:01:34.647 ********* 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 08:01:21 -0400 (0:00:00.060) 0:01:34.708 ********* 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 control writethrough] *** Thursday 25 July 2024 08:01:21 -0400 (0:00:00.108) 0:01:34.816 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003234", "end": "2024-07-25 08:01:21.756653", "failed_when_result": false, "rc": 1, "start": "2024-07-25 08:01:21.753419" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** Thursday 25 July 2024 08:01:21 -0400 (0:00:00.331) 0:01:35.147 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "1" ], "delta": "0:00:00.049162", "end": "2024-07-25 08:01:22.143935", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:01:22.094773" } 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 control writethrough] *** Thursday 25 July 2024 08:01:22 -0400 (0:00:00.396) 0:01:35.544 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** Thursday 25 July 2024 08:01:22 -0400 (0:00:00.060) 0:01:35.605 ********* 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 08:01:22 -0400 (0:00:00.060) 0:01:35.665 ********* 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 08:01:22 -0400 (0:00:00.057) 0:01:35.723 ********* 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 08:01:22 -0400 (0:00:00.065) 0:01:35.789 ********* 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 08:01:22 -0400 (0:00:00.058) 0:01:35.847 ********* 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 08:01:22 -0400 (0:00:00.059) 0:01:35.907 ********* 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 08:01:22 -0400 (0:00:00.106) 0:01:36.014 ********* 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 08:01:22 -0400 (0:00:00.059) 0:01:36.074 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** Thursday 25 July 2024 08:01:22 -0400 (0:00:00.060) 0:01:36.134 ********* 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 08:01:22 -0400 (0:00:00.057) 0:01:36.192 ********* 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 08:01:22 -0400 (0:00:00.061) 0:01:36.253 ********* 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 08:01:23 -0400 (0:00:00.060) 0:01:36.314 ********* 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 08:01:23 -0400 (0:00:00.065) 0:01:36.380 ********* 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 08:01:23 -0400 (0:00:00.060) 0:01:36.440 ********* 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 08:01:23 -0400 (0:00:00.059) 0:01:36.500 ********* 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 08:01:23 -0400 (0:00:00.060) 0:01:36.560 ********* 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 08:01:23 -0400 (0:00:00.060) 0:01:36.620 ********* 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 08:01:23 -0400 (0:00:00.059) 0:01:36.680 ********* 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 08:01:23 -0400 (0:00:00.055) 0:01:36.736 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** Thursday 25 July 2024 08:01:23 -0400 (0:00:00.058) 0:01:36.795 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* Thursday 25 July 2024 08:01:23 -0400 (0:00:00.057) 0:01:36.852 ********* 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 08:01:23 -0400 (0:00:00.060) 0:01:36.913 ********* 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 08:01:23 -0400 (0:00:00.057) 0:01:36.971 ********* 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 08:01:23 -0400 (0:00:00.060) 0:01:37.031 ********* 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 08:01:23 -0400 (0:00:00.061) 0:01:37.092 ********* 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 08:01:23 -0400 (0:00:00.060) 0:01:37.152 ********* 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 08:01:23 -0400 (0:00:00.056) 0:01:37.209 ********* 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 08:01:24 -0400 (0:00:00.111) 0:01:37.321 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** Thursday 25 July 2024 08:01:24 -0400 (0:00:00.059) 0:01:37.381 ********* 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 08:01:24 -0400 (0:00:00.060) 0:01:37.441 ********* 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 08:01:24 -0400 (0:00:00.060) 0:01:37.502 ********* 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 08:01:24 -0400 (0:00:00.057) 0:01:37.559 ********* 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 08:01:24 -0400 (0:00:00.061) 0:01:37.620 ********* 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 08:01:24 -0400 (0:00:00.058) 0:01:37.679 ********* 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 08:01:24 -0400 (0:00:00.071) 0:01:37.750 ********* 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 08:01:24 -0400 (0:00:00.058) 0:01:37.808 ********* 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 08:01:24 -0400 (0:00:00.060) 0:01:37.869 ********* 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 08:01:24 -0400 (0:00:00.077) 0:01:37.946 ********* 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 08:01:24 -0400 (0:00:00.058) 0:01:38.005 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** Thursday 25 July 2024 08:01:24 -0400 (0:00:00.060) 0:01:38.066 ********* 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 08:01:24 -0400 (0:00:00.059) 0:01:38.125 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* Thursday 25 July 2024 08:01:24 -0400 (0:00:00.060) 0:01:38.185 ********* 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 08:01:24 -0400 (0:00:00.058) 0:01:38.244 ********* 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 08:01:25 -0400 (0:00:00.060) 0:01:38.305 ********* 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 08:01:25 -0400 (0:00:00.059) 0:01:38.364 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** Thursday 25 July 2024 08:01:25 -0400 (0:00:00.059) 0:01:38.424 ********* 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 08:01:25 -0400 (0:00:00.059) 0:01:38.483 ********* 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 08:01:25 -0400 (0:00:00.108) 0:01:38.591 ********* 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 08:01:25 -0400 (0:00:00.060) 0:01:38.651 ********* 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 08:01:25 -0400 (0:00:00.074) 0:01:38.726 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** Thursday 25 July 2024 08:01:25 -0400 (0:00:00.058) 0:01:38.784 ********* 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 08:01:25 -0400 (0:00:00.057) 0:01:38.842 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* Thursday 25 July 2024 08:01:25 -0400 (0:00:00.057) 0:01:38.900 ********* 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 08:01:25 -0400 (0:00:00.059) 0:01:38.959 ********* 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 08:01:25 -0400 (0:00:00.068) 0:01:39.028 ********* 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 08:01:25 -0400 (0:00:00.059) 0:01:39.087 ********* 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 08:01:25 -0400 (0:00:00.058) 0:01:39.146 ********* 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 08:01:25 -0400 (0:00:00.060) 0:01:39.207 ********* 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 08:01:25 -0400 (0:00:00.059) 0:01:39.266 ********* changed: [managed_node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** Thursday 25 July 2024 08:01:26 -0400 (0:00:00.570) 0:01:39.836 ********* changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 08:00:33 EDT", "ActiveEnterTimestampMonotonic": "3182243480", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target system.slice systemd-journald.socket -.mount network.target auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 08:00:33 EDT", "AssertTimestampMonotonic": "3182242832", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-07-25 08:00:33 EDT", "ConditionTimestampMonotonic": "3182242830", "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": "32342", "ExecMainStartTimestamp": "Thu 2024-07-25 08:00:33 EDT", "ExecMainStartTimestampMonotonic": "3182243419", "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 08:00:33 EDT", "InactiveExitTimestampMonotonic": "3182243480", "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": "32342", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount system.slice basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 08:00:33 EDT", "WatchdogTimestampMonotonic": "3182243459", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 08:01:28 -0400 (0:00:01.551) 0:01:41.388 ********* 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 08:01:28 -0400 (0:00:00.058) 0:01:41.446 ********* 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 08:01:28 -0400 (0:00:00.061) 0:01:41.508 ********* 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 08:01:28 -0400 (0:00:00.187) 0:01:41.695 ********* changed: [managed_node1] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** Thursday 25 July 2024 08:01:28 -0400 (0:00:00.504) 0:01:42.200 ********* changed: [managed_node1] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** Thursday 25 July 2024 08:01:29 -0400 (0:00:00.461) 0:01:42.661 ********* ok: [managed_node1] => { "changed": false, "name": null, "status": {} } TASK [Run again with the same settings - should report not changed] ************ Thursday 25 July 2024 08:01:30 -0400 (0:00:00.848) 0:01:43.510 ********* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** Thursday 25 July 2024 08:01:30 -0400 (0:00:00.425) 0:01:43.935 ********* 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 08:01:30 -0400 (0:00:00.101) 0:01:44.037 ********* 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 08:01:30 -0400 (0:00:00.078) 0:01:44.116 ********* 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 08:01:30 -0400 (0:00:00.097) 0:01:44.214 ********* 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 08:01:30 -0400 (0:00:00.059) 0:01:44.274 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Thursday 25 July 2024 08:01:31 -0400 (0:00:00.061) 0:01:44.335 ********* 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 08:01:31 -0400 (0:00:00.060) 0:01:44.395 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** Thursday 25 July 2024 08:01:31 -0400 (0:00:00.061) 0:01:44.457 ********* 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 08:01:31 -0400 (0:00:00.059) 0:01:44.516 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** Thursday 25 July 2024 08:01:31 -0400 (0:00:00.058) 0:01:44.574 ********* 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 08:01:31 -0400 (0:00:00.058) 0:01:44.633 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** Thursday 25 July 2024 08:01:31 -0400 (0:00:00.060) 0:01:44.694 ********* 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 08:01:31 -0400 (0:00:00.061) 0:01:44.755 ********* 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 08:01:31 -0400 (0:00:00.069) 0:01:44.825 ********* 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 08:01:31 -0400 (0:00:00.063) 0:01:44.888 ********* 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 08:01:31 -0400 (0:00:00.061) 0:01:44.950 ********* 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 08:01:31 -0400 (0:00:00.130) 0:01:45.080 ********* 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 08:01:31 -0400 (0:00:00.062) 0:01:45.142 ********* 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 08:01:31 -0400 (0:00:00.065) 0:01:45.208 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 08:01:31 -0400 (0:00:00.062) 0:01:45.270 ********* 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 08:01:33 -0400 (0:00:01.368) 0:01:46.639 ********* 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 08:01:33 -0400 (0:00:00.161) 0:01:46.800 ********* 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 08:01:33 -0400 (0:00:00.061) 0:01:46.861 ********* 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 08:01:33 -0400 (0:00:00.066) 0:01:46.928 ********* 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 08:01:33 -0400 (0:00:00.112) 0:01:47.041 ********* 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 08:01:34 -0400 (0:00:00.546) 0:01:47.587 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** Thursday 25 July 2024 08:01:34 -0400 (0:00:00.064) 0:01:47.652 ********* 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 08:01:34 -0400 (0:00:00.067) 0:01:47.719 ********* 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 08:01:34 -0400 (0:00:00.065) 0:01:47.784 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** Thursday 25 July 2024 08:01:34 -0400 (0:00:00.061) 0:01:47.846 ********* 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 08:01:34 -0400 (0:00:00.066) 0:01:47.912 ********* 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 08:01:34 -0400 (0:00:00.063) 0:01:47.975 ********* 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 08:01:34 -0400 (0:00:00.086) 0:01:48.061 ********* 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 08:01:34 -0400 (0:00:00.060) 0:01:48.122 ********* 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 08:01:35 -0400 (0:00:00.597) 0:01:48.719 ********* 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 08:01:35 -0400 (0:00:00.559) 0:01:49.278 ********* 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 08:01:36 -0400 (0:00:00.061) 0:01:49.340 ********* 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.008502", "end": "2024-07-25 08:01:36.281174", "rc": 0, "start": "2024-07-25 08:01:36.272672" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** Thursday 25 July 2024 08:01:36 -0400 (0:00:00.332) 0:01:49.673 ********* 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 08:01:37 -0400 (0:00:00.982) 0:01:50.655 ********* 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 08:01:37 -0400 (0:00:00.085) 0:01:50.740 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** Thursday 25 July 2024 08:01:37 -0400 (0:00:00.064) 0:01:50.805 ********* 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 08:01:37 -0400 (0:00:00.060) 0:01:50.866 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed_node1 included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /tmp/mssql_data] *** Thursday 25 July 2024 08:01:37 -0400 (0:00:00.134) 0:01:51.001 ********* ok: [managed_node1] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/tmp/mssql_data", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** Thursday 25 July 2024 08:01:38 -0400 (0:00:00.348) 0:01:51.349 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** Thursday 25 July 2024 08:01:38 -0400 (0:00:00.062) 0:01:51.412 ********* 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 filelocation defaultdatadir] *** Thursday 25 July 2024 08:01:38 -0400 (0:00:00.112) 0:01:51.524 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003459", "end": "2024-07-25 08:01:38.475064", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:01:38.471605" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** Thursday 25 July 2024 08:01:38 -0400 (0:00:00.348) 0:01:51.873 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting filelocation defaultdatadir] *** Thursday 25 July 2024 08:01:38 -0400 (0:00:00.070) 0:01:51.943 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /tmp/mssql_log] *** Thursday 25 July 2024 08:01:38 -0400 (0:00:00.065) 0:01:52.009 ********* ok: [managed_node1] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/tmp/mssql_log", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** Thursday 25 July 2024 08:01:39 -0400 (0:00:00.398) 0:01:52.407 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** Thursday 25 July 2024 08:01:39 -0400 (0:00:00.063) 0:01:52.470 ********* 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 filelocation defaultlogdir] *** Thursday 25 July 2024 08:01:39 -0400 (0:00:00.110) 0:01:52.581 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003289", "end": "2024-07-25 08:01:39.526799", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:01:39.523510" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** Thursday 25 July 2024 08:01:39 -0400 (0:00:00.340) 0:01:52.921 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting filelocation defaultlogdir] *** Thursday 25 July 2024 08:01:39 -0400 (0:00:00.068) 0:01:52.990 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** Thursday 25 July 2024 08:01:39 -0400 (0:00:00.063) 0:01:53.054 ********* 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 08:01:39 -0400 (0:00:00.064) 0:01:53.119 ********* 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 08:01:39 -0400 (0:00:00.061) 0:01:53.180 ********* 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 08:01:40 -0400 (0:00:00.539) 0:01:53.720 ********* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:07:59 EDT", "ActiveEnterTimestampMonotonic": "28047343", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target systemd-sysctl.service dbus.service basic.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": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "850", "ExecMainStartTimestamp": "Thu 2024-07-25 07:07:57 EDT", "ExecMainStartTimestampMonotonic": "26120028", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-07-25 07:07:57 EDT", "InactiveExitTimestampMonotonic": "26120069", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "850", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice dbus.service polkit.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "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 08:01:40 -0400 (0:00:00.432) 0:01:54.152 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.097792", "end": "2024-07-25 08:01:41.192685", "rc": 0, "start": "2024-07-25 08:01:41.094893" } 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 08:01:41 -0400 (0:00:00.438) 0:01:54.591 ********* 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 08:01:41 -0400 (0:00:00.061) 0:01:54.653 ********* 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 08:01:41 -0400 (0:00:00.119) 0:01:54.773 ********* 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 08:01:41 -0400 (0:00:00.064) 0:01:54.837 ********* 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 08:01:41 -0400 (0:00:00.351) 0:01:55.189 ********* 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 08:01:41 -0400 (0:00:00.062) 0:01:55.251 ********* 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 08:01:42 -0400 (0:00:00.552) 0:01:55.803 ********* 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 08:01:42 -0400 (0:00:00.116) 0:01:55.920 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 08:01:27 EDT", "ActiveEnterTimestampMonotonic": "3236327828", "ActiveExitTimestamp": "Thu 2024-07-25 08:01:26 EDT", "ActiveExitTimestampMonotonic": "3235276492", "ActiveState": "active", "After": "systemd-journald.socket network.target -.mount basic.target auditd.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 08:01:27 EDT", "AssertTimestampMonotonic": "3236326828", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-07-25 08:01:27 EDT", "ConditionTimestampMonotonic": "3236326826", "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": "1514", "ExecMainStartTimestamp": "Thu 2024-07-25 08:01:27 EDT", "ExecMainStartTimestampMonotonic": "3236327770", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2024-07-25 08:01:27 EDT", "InactiveEnterTimestampMonotonic": "3236323063", "InactiveExitTimestamp": "Thu 2024-07-25 08:01:27 EDT", "InactiveExitTimestampMonotonic": "3236327828", "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": "1514", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 08:01:27 EDT", "WatchdogTimestampMonotonic": "3236327809", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** Thursday 25 July 2024 08:01:43 -0400 (0:00:00.431) 0:01:56.351 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003226", "end": "2024-07-25 08:01:43.292880", "failed_when_result": false, "rc": 1, "start": "2024-07-25 08:01:43.289654" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** Thursday 25 July 2024 08:01:43 -0400 (0:00:00.334) 0:01:56.686 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003279", "end": "2024-07-25 08:01:43.643039", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:01:43.639760" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* Thursday 25 July 2024 08:01:43 -0400 (0:00:00.350) 0:01:57.037 ********* 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 08:01:43 -0400 (0:00:00.077) 0:01:57.114 ********* 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": 6323, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** Thursday 25 July 2024 08:01:45 -0400 (0:00:01.500) 0:01:58.614 ********* ok: [managed_node1] => { "attempts": 1, "censored": "the output 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 08:01:45 -0400 (0:00:00.367) 0:01:58.981 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 08:01:45 -0400 (0:00:00.064) 0:01:59.046 ********* 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 08:01:46 -0400 (0:00:01.198) 0:02:00.244 ********* 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 08:01:47 -0400 (0:00:00.074) 0:02:00.319 ********* 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 08:01:47 -0400 (0:00:00.066) 0:02:00.385 ********* 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 08:01:47 -0400 (0:00:00.061) 0:02:00.446 ********* ok: [managed_node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005332", "end": "2024-07-25 08:01:47.414144", "rc": 0, "start": "2024-07-25 08:01:47.408812" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** Thursday 25 July 2024 08:01:47 -0400 (0:00:00.365) 0:02:00.812 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 08:01:47 -0400 (0:00:00.067) 0:02:00.879 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** Thursday 25 July 2024 08:01:48 -0400 (0:00:01.193) 0:02:02.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 [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** Thursday 25 July 2024 08:01:48 -0400 (0:00:00.065) 0:02:02.139 ********* 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 08:01:48 -0400 (0:00:00.114) 0:02:02.254 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003494", "end": "2024-07-25 08:01:49.199694", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:01:49.196200" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** Thursday 25 July 2024 08:01:49 -0400 (0:00:00.346) 0:02:02.601 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network ipaddress] *** Thursday 25 July 2024 08:01:49 -0400 (0:00:00.068) 0:02:02.669 ********* 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 08:01:49 -0400 (0:00:00.064) 0:02:02.734 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** Thursday 25 July 2024 08:01:49 -0400 (0:00:00.065) 0:02:02.799 ********* 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 08:01:49 -0400 (0:00:00.122) 0:02:02.922 ********* 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 08:01:49 -0400 (0:00:00.115) 0:02:03.037 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003282", "end": "2024-07-25 08:01:49.973601", "failed_when_result": false, "rc": 1, "start": "2024-07-25 08:01:49.970319" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** Thursday 25 July 2024 08:01:50 -0400 (0:00:00.328) 0:02:03.366 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.047684", "end": "2024-07-25 08:01:50.354407", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:01:50.306723" } 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 08:01:50 -0400 (0:00:00.401) 0:02:03.768 ********* 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 08:01:50 -0400 (0:00:00.062) 0:02:03.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 08:01:50 -0400 (0:00:00.063) 0:02:03.894 ********* 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 sqlagent enabled] ****** Thursday 25 July 2024 08:01:50 -0400 (0:00:00.118) 0:02:04.013 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004414", "end": "2024-07-25 08:01:51.952453", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:01:50.948039" } STDOUT: enabled = True TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** Thursday 25 July 2024 08:01:52 -0400 (0:00:01.336) 0:02:05.350 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting sqlagent enabled] **** Thursday 25 July 2024 08:01:52 -0400 (0:00:00.073) 0:02:05.423 ********* 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 08:01:52 -0400 (0:00:00.063) 0:02:05.487 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-fts-14.0.3465.1-1.x86_64 providing mssql-server-fts is already installed" ] } lsrpackages: mssql-server-fts TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* Thursday 25 July 2024 08:01:52 -0400 (0:00:00.572) 0:02:06.060 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "powershell-7.3.12-1.rh.x86_64 providing powershell is already installed" ] } lsrpackages: powershell TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** Thursday 25 July 2024 08:01:53 -0400 (0:00:00.549) 0:02:06.610 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003303", "end": "2024-07-25 08:01:53.548198", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:01:53.544895" } STDOUT: traceflag0 = 3979 TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** Thursday 25 July 2024 08:01:53 -0400 (0:00:00.332) 0:02:06.942 ********* 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 08:01:53 -0400 (0:00:00.064) 0:02:07.007 ********* 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 08:01:53 -0400 (0:00:00.065) 0:02:07.072 ********* 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 control alternatewritethrough] *** Thursday 25 July 2024 08:01:53 -0400 (0:00:00.111) 0:02:07.184 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003366", "end": "2024-07-25 08:01:54.123854", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:01:54.120488" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** Thursday 25 July 2024 08:01:54 -0400 (0:00:00.341) 0:02:07.526 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control alternatewritethrough] *** Thursday 25 July 2024 08:01:54 -0400 (0:00:00.069) 0:02:07.595 ********* 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 08:01:54 -0400 (0:00:00.062) 0:02:07.658 ********* 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 control writethrough] *** Thursday 25 July 2024 08:01:54 -0400 (0:00:00.116) 0:02:07.775 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003290", "end": "2024-07-25 08:01:54.717756", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:01:54.714466" } STDOUT: writethrough = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** Thursday 25 July 2024 08:01:54 -0400 (0:00:00.393) 0:02:08.168 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control writethrough] *** Thursday 25 July 2024 08:01:54 -0400 (0:00:00.073) 0:02:08.242 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** Thursday 25 July 2024 08:01:55 -0400 (0:00:00.066) 0:02:08.309 ********* 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 08:01:55 -0400 (0:00:00.060) 0:02:08.370 ********* 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 08:01:55 -0400 (0:00:00.063) 0:02:08.433 ********* 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 08:01:55 -0400 (0:00:00.072) 0:02:08.505 ********* 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 08:01:55 -0400 (0:00:00.061) 0:02:08.567 ********* 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 08:01:55 -0400 (0:00:00.064) 0:02:08.632 ********* 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 08:01:55 -0400 (0:00:00.064) 0:02:08.696 ********* 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 08:01:55 -0400 (0:00:00.063) 0:02:08.759 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** Thursday 25 July 2024 08:01:55 -0400 (0:00:00.063) 0:02:08.823 ********* 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 08:01:55 -0400 (0:00:00.065) 0:02:08.888 ********* 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 08:01:55 -0400 (0:00:00.062) 0:02:08.950 ********* 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 08:01:55 -0400 (0:00:00.067) 0:02:09.018 ********* 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 08:01:55 -0400 (0:00:00.066) 0:02:09.085 ********* 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 08:01:55 -0400 (0:00:00.063) 0:02:09.148 ********* 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 08:01:55 -0400 (0:00:00.062) 0:02:09.211 ********* 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 08:01:55 -0400 (0:00:00.063) 0:02:09.275 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** Thursday 25 July 2024 08:01:56 -0400 (0:00:00.064) 0:02:09.339 ********* 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 08:01:56 -0400 (0:00:00.064) 0:02:09.404 ********* 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 08:01:56 -0400 (0:00:00.124) 0:02:09.528 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** Thursday 25 July 2024 08:01:56 -0400 (0:00:00.063) 0:02:09.592 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* Thursday 25 July 2024 08:01:56 -0400 (0:00:00.062) 0:02:09.655 ********* 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 08:01:56 -0400 (0:00:00.063) 0:02:09.718 ********* 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 08:01:56 -0400 (0:00:00.063) 0:02:09.782 ********* 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 08:01:56 -0400 (0:00:00.062) 0:02:09.844 ********* 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 08:01:56 -0400 (0:00:00.061) 0:02:09.906 ********* 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 08:01:56 -0400 (0:00:00.062) 0:02:09.968 ********* 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 08:01:56 -0400 (0:00:00.061) 0:02:10.030 ********* 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 08:01:56 -0400 (0:00:00.061) 0:02:10.091 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** Thursday 25 July 2024 08:01:56 -0400 (0:00:00.062) 0:02:10.154 ********* 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 08:01:56 -0400 (0:00:00.061) 0:02:10.216 ********* 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 08:01:56 -0400 (0:00:00.065) 0:02:10.281 ********* 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 08:01:57 -0400 (0:00:00.060) 0:02:10.342 ********* 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 08:01:57 -0400 (0:00:00.064) 0:02:10.406 ********* 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 08:01:57 -0400 (0:00:00.062) 0:02:10.469 ********* 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 08:01:57 -0400 (0:00:00.074) 0:02:10.543 ********* 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 08:01:57 -0400 (0:00:00.063) 0:02:10.607 ********* 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 08:01:57 -0400 (0:00:00.062) 0:02:10.669 ********* 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 08:01:57 -0400 (0:00:00.137) 0:02:10.806 ********* 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 08:01:57 -0400 (0:00:00.063) 0:02:10.870 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** Thursday 25 July 2024 08:01:57 -0400 (0:00:00.063) 0:02:10.933 ********* 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 08:01:57 -0400 (0:00:00.062) 0:02:10.996 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* Thursday 25 July 2024 08:01:57 -0400 (0:00:00.065) 0:02:11.061 ********* 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 08:01:57 -0400 (0:00:00.063) 0:02:11.124 ********* 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 08:01:57 -0400 (0:00:00.063) 0:02:11.188 ********* 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 08:01:57 -0400 (0:00:00.065) 0:02:11.254 ********* 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 08:01:58 -0400 (0:00:00.062) 0:02:11.317 ********* 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 08:01:58 -0400 (0:00:00.063) 0:02:11.380 ********* 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 08:01:58 -0400 (0:00:00.064) 0:02:11.444 ********* 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 08:01:58 -0400 (0:00:00.062) 0:02:11.507 ********* 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 08:01:58 -0400 (0:00:00.078) 0:02:11.586 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** Thursday 25 July 2024 08:01:58 -0400 (0:00:00.062) 0:02:11.648 ********* 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 08:01:58 -0400 (0:00:00.063) 0:02:11.711 ********* 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 08:01:58 -0400 (0:00:00.064) 0:02:11.776 ********* 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 08:01:58 -0400 (0:00:00.066) 0:02:11.842 ********* 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 08:01:58 -0400 (0:00:00.073) 0:02:11.916 ********* 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 08:01:58 -0400 (0:00:00.060) 0:02:11.976 ********* 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 08:01:58 -0400 (0:00:00.126) 0:02:12.103 ********* 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 08:01:58 -0400 (0:00:00.063) 0:02:12.167 ********* 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 08:01:58 -0400 (0:00:00.067) 0:02:12.234 ********* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 08:01:59 -0400 (0:00:00.469) 0:02:12.703 ********* 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 08:01:59 -0400 (0:00:00.063) 0:02:12.767 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify settings] ********************************************************* Thursday 25 July 2024 08:01:59 -0400 (0:00:00.060) 0:02:12.827 ********* 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 08:01:59 -0400 (0:00:00.322) 0:02:13.150 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile' /var/opt/mssql/mssql.conf \\\n2>&1 | sed 's\\errorlogfile : \\\\')\" || :\nif [ -f \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -f /var/opt/mssql/log/errorlog ]; then\n echo \"/var/opt/mssql/log/errorlog\"\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005268", "end": "2024-07-25 08:02:00.105352", "rc": 0, "start": "2024-07-25 08:02:00.100084" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* Thursday 25 July 2024 08:02:00 -0400 (0:00:00.351) 0:02:13.501 ********* ok: [managed_node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n echo false\nelse\n echo true\nfi\n", "delta": "0:00:00.004877", "end": "2024-07-25 08:02:00.439255", "rc": 0, "start": "2024-07-25 08:02:00.434378" } STDOUT: true TASK [Verify if the edition matches] ******************************************* Thursday 25 July 2024 08:02:00 -0400 (0:00:00.330) 0:02:13.832 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** Thursday 25 July 2024 08:02:00 -0400 (0:00:00.069) 0:02:13.901 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting ipaddress] ********************************** Thursday 25 July 2024 08:02:00 -0400 (0:00:00.220) 0:02:14.121 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004341", "end": "2024-07-25 08:02:01.073467", "rc": 0, "start": "2024-07-25 08:02:01.069126" } STDOUT: ipaddress = 0.0.0.0 TASK [Verify the setting when it is type str ipaddress] ************************ Thursday 25 July 2024 08:02:01 -0400 (0:00:00.349) 0:02:14.471 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** Thursday 25 July 2024 08:02:01 -0400 (0:00:00.078) 0:02:14.550 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 0.0.0.0] ******************************************* Thursday 25 July 2024 08:02:01 -0400 (0:00:00.067) 0:02:14.617 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultdatadir] ***************************** Thursday 25 July 2024 08:02:01 -0400 (0:00:00.068) 0:02:14.686 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004352", "end": "2024-07-25 08:02:01.641150", "rc": 0, "start": "2024-07-25 08:02:01.636798" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [Verify the setting when it is type str defaultdatadir] ******************* Thursday 25 July 2024 08:02:01 -0400 (0:00:00.352) 0:02:15.039 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** Thursday 25 July 2024 08:02:01 -0400 (0:00:00.080) 0:02:15.120 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_data] *********************************** Thursday 25 July 2024 08:02:01 -0400 (0:00:00.067) 0:02:15.187 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ Thursday 25 July 2024 08:02:01 -0400 (0:00:00.068) 0:02:15.256 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004239", "end": "2024-07-25 08:02:02.217082", "rc": 0, "start": "2024-07-25 08:02:02.212843" } STDOUT: enabled = True TASK [Verify the setting when it is type str enabled] ************************** Thursday 25 July 2024 08:02:02 -0400 (0:00:00.363) 0:02:15.620 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool enabled] ************************* Thursday 25 July 2024 08:02:02 -0400 (0:00:00.066) 0:02:15.686 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** Thursday 25 July 2024 08:02:02 -0400 (0:00:00.084) 0:02:15.770 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** Thursday 25 July 2024 08:02:02 -0400 (0:00:00.065) 0:02:15.835 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004363", "end": "2024-07-25 08:02:02.782802", "rc": 0, "start": "2024-07-25 08:02:02.778439" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [Verify the setting when it is type str defaultlogdir] ******************** Thursday 25 July 2024 08:02:02 -0400 (0:00:00.346) 0:02:16.181 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* Thursday 25 July 2024 08:02:02 -0400 (0:00:00.078) 0:02:16.260 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_log] ************************************ Thursday 25 July 2024 08:02:03 -0400 (0:00:00.135) 0:02:16.395 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ Thursday 25 July 2024 08:02:03 -0400 (0:00:00.067) 0:02:16.463 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004279", "end": "2024-07-25 08:02:03.405483", "rc": 0, "start": "2024-07-25 08:02:03.401204" } TASK [Verify the setting when it is type str tcpport] ************************** Thursday 25 July 2024 08:02:03 -0400 (0:00:00.336) 0:02:16.800 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool tcpport] ************************* Thursday 25 July 2024 08:02:03 -0400 (0:00:00.070) 0:02:16.870 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1433] ********************************************** Thursday 25 July 2024 08:02:03 -0400 (0:00:00.070) 0:02:16.941 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_datadir] *********************************************** Thursday 25 July 2024 08:02:03 -0400 (0:00:00.071) 0:02:17.013 ********* 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 08:02:03 -0400 (0:00:00.065) 0:02:17.078 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ Thursday 25 July 2024 08:02:03 -0400 (0:00:00.062) 0:02:17.140 ********* 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 08:02:03 -0400 (0:00:00.065) 0:02:17.205 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** Thursday 25 July 2024 08:02:03 -0400 (0:00:00.061) 0:02:17.266 ********* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** Thursday 25 July 2024 08:02:04 -0400 (0:00:00.123) 0:02:17.390 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 08:01:27 EDT", "ActiveEnterTimestampMonotonic": "3236327828", "ActiveExitTimestamp": "Thu 2024-07-25 08:01:26 EDT", "ActiveExitTimestampMonotonic": "3235276492", "ActiveState": "active", "After": "systemd-journald.socket network.target -.mount basic.target auditd.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 08:01:27 EDT", "AssertTimestampMonotonic": "3236326828", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-07-25 08:01:27 EDT", "ConditionTimestampMonotonic": "3236326826", "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": "1514", "ExecMainStartTimestamp": "Thu 2024-07-25 08:01:27 EDT", "ExecMainStartTimestampMonotonic": "3236327770", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2024-07-25 08:01:27 EDT", "InactiveEnterTimestampMonotonic": "3236323063", "InactiveExitTimestamp": "Thu 2024-07-25 08:01:27 EDT", "InactiveExitTimestampMonotonic": "3236327828", "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": "1514", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 08:01:27 EDT", "WatchdogTimestampMonotonic": "3236327809", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** Thursday 25 July 2024 08:02:04 -0400 (0:00:00.443) 0:02:17.833 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003257", "end": "2024-07-25 08:02:04.790127", "failed_when_result": false, "rc": 1, "start": "2024-07-25 08:02:04.786870" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** Thursday 25 July 2024 08:02:04 -0400 (0:00:00.348) 0:02:18.182 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005313", "end": "2024-07-25 08:02:05.128905", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:02:05.123592" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* Thursday 25 July 2024 08:02:05 -0400 (0:00:00.342) 0:02:18.524 ********* 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 08:02:05 -0400 (0:00:00.147) 0:02:18.671 ********* 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": 6323, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** Thursday 25 July 2024 08:02:06 -0400 (0:00:01.349) 0:02:20.020 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "0.0.0.0", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.020841", "end": "2024-07-25 08:02:06.982704", "rc": 0, "start": "2024-07-25 08:02:06.961863" } 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 08:02:07 -0400 (0:00:00.364) 0:02:20.385 ********* ok: [managed_node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* Thursday 25 July 2024 08:02:07 -0400 (0:00:00.068) 0:02:20.453 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml for managed_node1 TASK [Gather package facts] **************************************************** Thursday 25 July 2024 08:02:07 -0400 (0:00:00.112) 0:02:20.565 ********* 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 [Verify if the package is installed mssql-server-fts] ********************* Thursday 25 July 2024 08:02:08 -0400 (0:00:01.186) 0:02:21.752 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed mssql-server-fts] ***************** Thursday 25 July 2024 08:02:08 -0400 (0:00:00.148) 0:02:21.901 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* Thursday 25 July 2024 08:02:08 -0400 (0:00:00.065) 0:02:21.966 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml for managed_node1 TASK [Gather package facts] **************************************************** Thursday 25 July 2024 08:02:08 -0400 (0:00:00.111) 0:02:22.078 ********* 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 [Verify if the package is installed powershell] *************************** Thursday 25 July 2024 08:02:09 -0400 (0:00:01.191) 0:02:23.270 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed powershell] *********************** Thursday 25 July 2024 08:02:10 -0400 (0:00:00.095) 0:02:23.366 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** Thursday 25 July 2024 08:02:10 -0400 (0:00:00.064) 0:02:23.430 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004326", "end": "2024-07-25 08:02:10.370482", "rc": 0, "start": "2024-07-25 08:02:10.366156" } STDOUT: traceflag0 = 3979 TASK [Verify that the traceflag setting is set to 3979] ************************ Thursday 25 July 2024 08:02:10 -0400 (0:00:00.338) 0:02:23.769 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that the traceflag setting is not set to 3979] ******************** Thursday 25 July 2024 08:02:10 -0400 (0:00:00.072) 0:02:23.841 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** Thursday 25 July 2024 08:02:10 -0400 (0:00:00.064) 0:02:23.906 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting alternatewritethrough] ********************** Thursday 25 July 2024 08:02:10 -0400 (0:00:00.172) 0:02:24.078 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004324", "end": "2024-07-25 08:02:11.021972", "rc": 0, "start": "2024-07-25 08:02:11.017648" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ Thursday 25 July 2024 08:02:11 -0400 (0:00:00.341) 0:02:24.420 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool alternatewritethrough] *********** Thursday 25 July 2024 08:02:11 -0400 (0:00:00.068) 0:02:24.489 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* Thursday 25 July 2024 08:02:11 -0400 (0:00:00.082) 0:02:24.571 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** Thursday 25 July 2024 08:02:11 -0400 (0:00:00.064) 0:02:24.636 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting writethrough] ******************************* Thursday 25 July 2024 08:02:11 -0400 (0:00:00.118) 0:02:24.754 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004365", "end": "2024-07-25 08:02:11.717280", "rc": 0, "start": "2024-07-25 08:02:11.712915" } STDOUT: writethrough = 1 TASK [Verify the setting when it is type str writethrough] ********************* Thursday 25 July 2024 08:02:11 -0400 (0:00:00.357) 0:02:25.112 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool writethrough] ******************** Thursday 25 July 2024 08:02:11 -0400 (0:00:00.067) 0:02:25.180 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** Thursday 25 July 2024 08:02:11 -0400 (0:00:00.080) 0:02:25.260 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** Thursday 25 July 2024 08:02:12 -0400 (0:00:00.062) 0:02:25.323 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** Thursday 25 July 2024 08:02:12 -0400 (0:00:00.062) 0:02:25.386 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** Thursday 25 July 2024 08:02:12 -0400 (0:00:00.059) 0:02:25.446 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** Thursday 25 July 2024 08:02:12 -0400 (0:00:00.063) 0:02:25.509 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** Thursday 25 July 2024 08:02:12 -0400 (0:00:00.062) 0:02:25.572 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run to edit settings] **************************************************** Thursday 25 July 2024 08:02:12 -0400 (0:00:00.062) 0:02:25.634 ********* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** Thursday 25 July 2024 08:02:13 -0400 (0:00:00.793) 0:02:26.428 ********* 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 08:02:13 -0400 (0:00:00.104) 0:02:26.532 ********* 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 08:02:13 -0400 (0:00:00.082) 0:02:26.615 ********* 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 08:02:13 -0400 (0:00:00.094) 0:02:26.709 ********* 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 08:02:13 -0400 (0:00:00.063) 0:02:26.773 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Thursday 25 July 2024 08:02:13 -0400 (0:00:00.061) 0:02:26.835 ********* 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 08:02:13 -0400 (0:00:00.064) 0:02:26.899 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** Thursday 25 July 2024 08:02:13 -0400 (0:00:00.060) 0:02:26.960 ********* 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 08:02:13 -0400 (0:00:00.137) 0:02:27.098 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** Thursday 25 July 2024 08:02:13 -0400 (0:00:00.064) 0:02:27.163 ********* 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 08:02:13 -0400 (0:00:00.065) 0:02:27.228 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** Thursday 25 July 2024 08:02:13 -0400 (0:00:00.067) 0:02:27.296 ********* 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 08:02:14 -0400 (0:00:00.061) 0:02:27.358 ********* 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 08:02:14 -0400 (0:00:00.073) 0:02:27.431 ********* 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 08:02:14 -0400 (0:00:00.062) 0:02:27.493 ********* 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 08:02:14 -0400 (0:00:00.062) 0:02:27.555 ********* 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 08:02:14 -0400 (0:00:00.064) 0:02:27.620 ********* 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 08:02:14 -0400 (0:00:00.063) 0:02:27.683 ********* 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 08:02:14 -0400 (0:00:00.067) 0:02:27.750 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 08:02:14 -0400 (0:00:00.061) 0:02:27.811 ********* 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 08:02:15 -0400 (0:00:01.358) 0:02:29.170 ********* 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 08:02:16 -0400 (0:00:00.166) 0:02:29.337 ********* 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 08:02:16 -0400 (0:00:00.062) 0:02:29.400 ********* 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 08:02:16 -0400 (0:00:00.068) 0:02:29.468 ********* 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 08:02:16 -0400 (0:00:00.120) 0:02:29.588 ********* 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 08:02:16 -0400 (0:00:00.541) 0:02:30.130 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** Thursday 25 July 2024 08:02:16 -0400 (0:00:00.064) 0:02:30.195 ********* 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 08:02:16 -0400 (0:00:00.072) 0:02:30.268 ********* 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 08:02:17 -0400 (0:00:00.066) 0:02:30.335 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** Thursday 25 July 2024 08:02:17 -0400 (0:00:00.067) 0:02:30.402 ********* 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 08:02:17 -0400 (0:00:00.069) 0:02:30.472 ********* 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 08:02:17 -0400 (0:00:00.066) 0:02:30.538 ********* 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 08:02:17 -0400 (0:00:00.086) 0:02:30.625 ********* 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 08:02:17 -0400 (0:00:00.062) 0:02:30.688 ********* 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 08:02:18 -0400 (0:00:00.660) 0:02:31.349 ********* 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 08:02:18 -0400 (0:00:00.548) 0:02:31.897 ********* 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 08:02:18 -0400 (0:00:00.061) 0:02:31.959 ********* 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.005311", "end": "2024-07-25 08:02:18.893410", "rc": 0, "start": "2024-07-25 08:02:18.888099" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** Thursday 25 July 2024 08:02:18 -0400 (0:00:00.327) 0:02:32.286 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** Thursday 25 July 2024 08:02:19 -0400 (0:00:00.876) 0:02:33.163 ********* 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 08:02:19 -0400 (0:00:00.087) 0:02:33.250 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** Thursday 25 July 2024 08:02:20 -0400 (0:00:00.063) 0:02:33.314 ********* 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 08:02:20 -0400 (0:00:00.063) 0:02:33.377 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed_node1 included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /var/opt/mssql/data] *** Thursday 25 July 2024 08:02:20 -0400 (0:00:00.134) 0:02:33.512 ********* ok: [managed_node1] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/data", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** Thursday 25 July 2024 08:02:20 -0400 (0:00:00.338) 0:02:33.851 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** Thursday 25 July 2024 08:02:20 -0400 (0:00:00.140) 0:02:33.991 ********* 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 filelocation defaultdatadir] *** Thursday 25 July 2024 08:02:20 -0400 (0:00:00.112) 0:02:34.103 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003524", "end": "2024-07-25 08:02:21.050384", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:02:21.046860" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** Thursday 25 July 2024 08:02:21 -0400 (0:00:00.346) 0:02:34.450 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultdatadir", "/var/opt/mssql/data" ], "delta": "0:00:00.048784", "end": "2024-07-25 08:02:21.448985", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:02:21.400201" } 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 filelocation defaultdatadir] *** Thursday 25 July 2024 08:02:21 -0400 (0:00:00.401) 0:02:34.851 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /var/opt/mssql/log] *** Thursday 25 July 2024 08:02:21 -0400 (0:00:00.068) 0:02:34.920 ********* ok: [managed_node1] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/log", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** Thursday 25 July 2024 08:02:21 -0400 (0:00:00.352) 0:02:35.273 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** Thursday 25 July 2024 08:02:22 -0400 (0:00:00.065) 0:02:35.338 ********* 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 filelocation defaultlogdir] *** Thursday 25 July 2024 08:02:22 -0400 (0:00:00.113) 0:02:35.452 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003318", "end": "2024-07-25 08:02:22.397338", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:02:22.394020" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** Thursday 25 July 2024 08:02:22 -0400 (0:00:00.345) 0:02:35.797 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/var/opt/mssql/log" ], "delta": "0:00:00.049525", "end": "2024-07-25 08:02:22.796948", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:02:22.747423" } 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 filelocation defaultlogdir] *** Thursday 25 July 2024 08:02:22 -0400 (0:00:00.402) 0:02:36.200 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** Thursday 25 July 2024 08:02:22 -0400 (0:00:00.065) 0:02:36.265 ********* 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 08:02:23 -0400 (0:00:00.063) 0:02:36.329 ********* 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 08:02:23 -0400 (0:00:00.143) 0:02:36.472 ********* 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 08:02:23 -0400 (0:00:00.550) 0:02:37.023 ********* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:07:59 EDT", "ActiveEnterTimestampMonotonic": "28047343", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target systemd-sysctl.service dbus.service basic.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": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "850", "ExecMainStartTimestamp": "Thu 2024-07-25 07:07:57 EDT", "ExecMainStartTimestampMonotonic": "26120028", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-07-25 07:07:57 EDT", "InactiveExitTimestampMonotonic": "26120069", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "850", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice dbus.service polkit.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "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 08:02:24 -0400 (0:00:00.439) 0:02:37.462 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.087328", "end": "2024-07-25 08:02:24.490844", "rc": 0, "start": "2024-07-25 08:02:24.403516" } 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 08:02:24 -0400 (0:00:00.429) 0:02:37.891 ********* 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 08:02:24 -0400 (0:00:00.067) 0:02:37.958 ********* 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 08:02:24 -0400 (0:00:00.065) 0:02:38.024 ********* 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 08:02:24 -0400 (0:00:00.066) 0:02:38.091 ********* 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 08:02:25 -0400 (0:00:00.351) 0:02:38.443 ********* 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 08:02:25 -0400 (0:00:00.064) 0:02:38.508 ********* 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 08:02:25 -0400 (0:00:00.558) 0:02:39.066 ********* 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 08:02:25 -0400 (0:00:00.119) 0:02:39.185 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 08:01:27 EDT", "ActiveEnterTimestampMonotonic": "3236327828", "ActiveExitTimestamp": "Thu 2024-07-25 08:01:26 EDT", "ActiveExitTimestampMonotonic": "3235276492", "ActiveState": "active", "After": "systemd-journald.socket network.target -.mount basic.target auditd.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 08:01:27 EDT", "AssertTimestampMonotonic": "3236326828", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-07-25 08:01:27 EDT", "ConditionTimestampMonotonic": "3236326826", "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": "1514", "ExecMainStartTimestamp": "Thu 2024-07-25 08:01:27 EDT", "ExecMainStartTimestampMonotonic": "3236327770", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2024-07-25 08:01:27 EDT", "InactiveEnterTimestampMonotonic": "3236323063", "InactiveExitTimestamp": "Thu 2024-07-25 08:01:27 EDT", "InactiveExitTimestampMonotonic": "3236327828", "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": "1514", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 08:01:27 EDT", "WatchdogTimestampMonotonic": "3236327809", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** Thursday 25 July 2024 08:02:26 -0400 (0:00:00.559) 0:02:39.745 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003197", "end": "2024-07-25 08:02:26.690186", "failed_when_result": false, "rc": 1, "start": "2024-07-25 08:02:26.686989" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** Thursday 25 July 2024 08:02:26 -0400 (0:00:00.341) 0:02:40.087 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003236", "end": "2024-07-25 08:02:27.034916", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:02:27.031680" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* Thursday 25 July 2024 08:02:27 -0400 (0:00:00.343) 0:02:40.431 ********* 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 08:02:27 -0400 (0:00:00.080) 0:02:40.511 ********* 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": 6323, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** Thursday 25 July 2024 08:02:28 -0400 (0:00:01.336) 0:02:41.848 ********* 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 08:02:28 -0400 (0:00:00.358) 0:02:42.207 ********* changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 08:01:27 EDT", "ActiveEnterTimestampMonotonic": "3236327828", "ActiveExitTimestamp": "Thu 2024-07-25 08:01:26 EDT", "ActiveExitTimestampMonotonic": "3235276492", "ActiveState": "active", "After": "systemd-journald.socket network.target -.mount basic.target auditd.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 08:01:27 EDT", "AssertTimestampMonotonic": "3236326828", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-07-25 08:01:27 EDT", "ConditionTimestampMonotonic": "3236326826", "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": "1514", "ExecMainStartTimestamp": "Thu 2024-07-25 08:01:27 EDT", "ExecMainStartTimestampMonotonic": "3236327770", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Thu 2024-07-25 08:01:27 EDT", "InactiveEnterTimestampMonotonic": "3236323063", "InactiveExitTimestamp": "Thu 2024-07-25 08:01:27 EDT", "InactiveExitTimestampMonotonic": "3236327828", "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": "1514", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 08:01:27 EDT", "WatchdogTimestampMonotonic": "3236327809", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 08:02:29 -0400 (0:00:00.901) 0:02:43.108 ********* 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 08:02:31 -0400 (0:00:01.280) 0:02:44.388 ********* 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 08:02:37 -0400 (0:00:06.253) 0:02:50.642 ********* 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 08:02:37 -0400 (0:00:00.061) 0:02:50.704 ********* 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 08:02:37 -0400 (0:00:00.064) 0:02:50.768 ********* ok: [managed_node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.004911", "end": "2024-07-25 08:02:37.715432", "rc": 0, "start": "2024-07-25 08:02:37.710521" } STDOUT: false TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** Thursday 25 July 2024 08:02:37 -0400 (0:00:00.346) 0:02:51.115 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 08:01:27 EDT", "ActiveEnterTimestampMonotonic": "3236327828", "ActiveExitTimestamp": "Thu 2024-07-25 08:02:29 EDT", "ActiveExitTimestampMonotonic": "3297598968", "ActiveState": "inactive", "After": "systemd-journald.socket network.target -.mount basic.target auditd.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 08:01:27 EDT", "AssertTimestampMonotonic": "3236326828", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-07-25 08:01:27 EDT", "ConditionTimestampMonotonic": "3236326826", "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 08:02:29 EDT", "ExecMainExitTimestampMonotonic": "3298048512", "ExecMainPID": "1514", "ExecMainStartTimestamp": "Thu 2024-07-25 08:01:27 EDT", "ExecMainStartTimestampMonotonic": "3236327770", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 08:01:27 EDT] ; stop_time=[Thu 2024-07-25 08:02:29 EDT] ; pid=1514 ; 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 08:02:29 EDT", "InactiveEnterTimestampMonotonic": "3298048617", "InactiveExitTimestamp": "Thu 2024-07-25 08:01:27 EDT", "InactiveExitTimestampMonotonic": "3236327828", "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": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "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 : Gather package facts] ****************** Thursday 25 July 2024 08:02:38 -0400 (0:00:00.427) 0:02:51.543 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** Thursday 25 July 2024 08:02:39 -0400 (0:00:01.287) 0:02:52.830 ********* 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 : Configure the IP address setting] ****** Thursday 25 July 2024 08:02:45 -0400 (0:00:06.297) 0:02:59.128 ********* 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 08:02:45 -0400 (0:00:00.117) 0:02:59.245 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003360", "end": "2024-07-25 08:02:46.185398", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:02:46.182038" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** Thursday 25 July 2024 08:02:46 -0400 (0:00:00.340) 0:02:59.585 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "127.0.0.1" ], "delta": "0:00:00.049262", "end": "2024-07-25 08:02:46.589948", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:02:46.540686" } 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 08:02:46 -0400 (0:00:00.411) 0:02:59.997 ********* 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 08:02:46 -0400 (0:00:00.065) 0:03:00.062 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** Thursday 25 July 2024 08:02:46 -0400 (0:00:00.067) 0:03:00.130 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1435] *** Thursday 25 July 2024 08:02:46 -0400 (0:00:00.066) 0:03:00.198 ********* 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 08:02:47 -0400 (0:00:00.116) 0:03:00.314 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003315", "end": "2024-07-25 08:02:47.273445", "failed_when_result": false, "rc": 1, "start": "2024-07-25 08:02:47.270130" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** Thursday 25 July 2024 08:02:47 -0400 (0:00:00.355) 0:03:00.670 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1435" ], "delta": "0:00:00.047319", "end": "2024-07-25 08:02:47.670684", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:02:47.623365" } 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 08:02:47 -0400 (0:00:00.403) 0:03:01.074 ********* 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 08:02:47 -0400 (0:00:00.060) 0:03:01.135 ********* 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 08:02:47 -0400 (0:00:00.064) 0:03:01.199 ********* 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 sqlagent enabled] ****** Thursday 25 July 2024 08:02:48 -0400 (0:00:00.193) 0:03:01.392 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003302", "end": "2024-07-25 08:02:48.339122", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:02:48.335820" } STDOUT: enabled = True TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** Thursday 25 July 2024 08:02:48 -0400 (0:00:00.342) 0:03:01.735 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "False" ], "delta": "0:00:00.047037", "end": "2024-07-25 08:02:48.729600", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:02:48.682563" } 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 sqlagent enabled] **** Thursday 25 July 2024 08:02:48 -0400 (0:00:00.399) 0:03:02.134 ********* 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 08:02:48 -0400 (0:00:00.061) 0:03:02.196 ********* changed: [managed_node1] => { "changed": true, "changes": { "removed": [ "mssql-server-fts" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server-fts.x86_64 0:14.0.3465.1-1 will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server-fts\n x86_64 14.0.3465.1-1 @packages-microsoft-com-mssql-server-2017 554 M\n\nTransaction Summary\n================================================================================\nRemove 1 Package\n\nInstalled size: 554 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-fts-14.0.3465.1-1.x86_64 1/1 \n Verifying : mssql-server-fts-14.0.3465.1-1.x86_64 1/1 \n\nRemoved:\n mssql-server-fts.x86_64 0:14.0.3465.1-1 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* Thursday 25 July 2024 08:02:50 -0400 (0:00:01.520) 0:03:03.717 ********* changed: [managed_node1] => { "changed": true, "changes": { "removed": [ "powershell" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package powershell.x86_64 0:7.3.12-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n powershell x86_64 7.3.12-1.rh @packages-microsoft-com-prod 168 M\n\nTransaction Summary\n================================================================================\nRemove 1 Package\n\nInstalled size: 168 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : powershell-7.3.12-1.rh.x86_64 1/1 \n Verifying : powershell-7.3.12-1.rh.x86_64 1/1 \n\nRemoved:\n powershell.x86_64 0:7.3.12-1.rh \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** Thursday 25 July 2024 08:02:51 -0400 (0:00:01.421) 0:03:05.138 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003673", "end": "2024-07-25 08:02:52.085310", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:02:52.081637" } STDOUT: traceflag0 = 3979 TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** Thursday 25 July 2024 08:02:52 -0400 (0:00:00.352) 0:03:05.490 ********* 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 08:02:52 -0400 (0:00:00.065) 0:03:05.555 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "off" ], "delta": "0:00:00.046050", "end": "2024-07-25 08:02:52.553852", "rc": 0, "start": "2024-07-25 08:02:52.507802" } STDOUT: SQL Server needs to be restarted in order to apply this setting. Please run 'systemctl restart mssql-server.service'. TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** Thursday 25 July 2024 08:02:52 -0400 (0:00:00.402) 0:03:05.958 ********* 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 control alternatewritethrough] *** Thursday 25 July 2024 08:02:52 -0400 (0:00:00.191) 0:03:06.150 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.005551", "end": "2024-07-25 08:02:53.095372", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:02:53.089821" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** Thursday 25 July 2024 08:02:53 -0400 (0:00:00.342) 0:03:06.492 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control alternatewritethrough] *** Thursday 25 July 2024 08:02:53 -0400 (0:00:00.072) 0:03:06.565 ********* 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 08:02:53 -0400 (0:00:00.066) 0:03:06.631 ********* 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 control writethrough] *** Thursday 25 July 2024 08:02:53 -0400 (0:00:00.116) 0:03:06.747 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003297", "end": "2024-07-25 08:02:53.687649", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:02:53.684352" } STDOUT: writethrough = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** Thursday 25 July 2024 08:02:53 -0400 (0:00:00.335) 0:03:07.083 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "0" ], "delta": "0:00:00.047082", "end": "2024-07-25 08:02:54.075568", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:02:54.028486" } 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 control writethrough] *** Thursday 25 July 2024 08:02:54 -0400 (0:00:00.395) 0:03:07.478 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** Thursday 25 July 2024 08:02:54 -0400 (0:00:00.066) 0:03:07.545 ********* 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 08:02:54 -0400 (0:00:00.061) 0:03:07.606 ********* 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 08:02:54 -0400 (0:00:00.061) 0:03:07.668 ********* 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 08:02:54 -0400 (0:00:00.070) 0:03:07.739 ********* 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 08:02:54 -0400 (0:00:00.059) 0:03:07.799 ********* 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 08:02:54 -0400 (0:00:00.062) 0:03:07.861 ********* 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 08:02:54 -0400 (0:00:00.062) 0:03:07.923 ********* 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 08:02:54 -0400 (0:00:00.143) 0:03:08.066 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** Thursday 25 July 2024 08:02:54 -0400 (0:00:00.064) 0:03:08.131 ********* 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 08:02:54 -0400 (0:00:00.064) 0:03:08.196 ********* 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 08:02:54 -0400 (0:00:00.063) 0:03:08.259 ********* 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 08:02:55 -0400 (0:00:00.064) 0:03:08.323 ********* 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 08:02:55 -0400 (0:00:00.068) 0:03:08.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 [fedora.linux_system_roles.mssql : Check if AD user exists] *************** Thursday 25 July 2024 08:02:55 -0400 (0:00:00.062) 0:03:08.454 ********* 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 08:02:55 -0400 (0:00:00.064) 0:03:08.519 ********* 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 08:02:55 -0400 (0:00:00.065) 0:03:08.584 ********* 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 08:02:55 -0400 (0:00:00.063) 0:03:08.647 ********* 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 08:02:55 -0400 (0:00:00.064) 0:03:08.712 ********* 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 08:02:55 -0400 (0:00:00.062) 0:03:08.775 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** Thursday 25 July 2024 08:02:55 -0400 (0:00:00.065) 0:03:08.840 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* Thursday 25 July 2024 08:02:55 -0400 (0:00:00.060) 0:03:08.901 ********* 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 08:02:55 -0400 (0:00:00.063) 0:03:08.965 ********* 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 08:02:55 -0400 (0:00:00.063) 0:03:09.028 ********* 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 08:02:55 -0400 (0:00:00.059) 0:03:09.088 ********* 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 08:02:55 -0400 (0:00:00.062) 0:03:09.151 ********* 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 08:02:55 -0400 (0:00:00.061) 0:03:09.212 ********* 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 08:02:56 -0400 (0:00:00.138) 0:03:09.351 ********* 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 08:02:56 -0400 (0:00:00.064) 0:03:09.416 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** Thursday 25 July 2024 08:02:56 -0400 (0:00:00.064) 0:03:09.481 ********* 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 08:02:56 -0400 (0:00:00.062) 0:03:09.544 ********* 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 08:02:56 -0400 (0:00:00.063) 0:03:09.607 ********* 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 08:02:56 -0400 (0:00:00.064) 0:03:09.671 ********* 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 08:02:56 -0400 (0:00:00.060) 0:03:09.732 ********* 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 08:02:56 -0400 (0:00:00.065) 0:03:09.797 ********* 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 08:02:56 -0400 (0:00:00.071) 0:03:09.869 ********* 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 08:02:56 -0400 (0:00:00.063) 0:03:09.932 ********* 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 08:02:56 -0400 (0:00:00.063) 0:03:09.996 ********* 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 08:02:56 -0400 (0:00:00.082) 0:03:10.078 ********* 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 08:02:56 -0400 (0:00:00.067) 0:03:10.146 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** Thursday 25 July 2024 08:02:56 -0400 (0:00:00.064) 0:03:10.211 ********* 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 08:02:56 -0400 (0:00:00.071) 0:03:10.282 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* Thursday 25 July 2024 08:02:57 -0400 (0:00:00.065) 0:03:10.347 ********* 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 08:02:57 -0400 (0:00:00.065) 0:03:10.413 ********* 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 08:02:57 -0400 (0:00:00.061) 0:03:10.474 ********* 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 08:02:57 -0400 (0:00:00.063) 0:03:10.538 ********* 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 08:02:57 -0400 (0:00:00.063) 0:03:10.602 ********* 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 08:02:57 -0400 (0:00:00.138) 0:03:10.741 ********* 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 08:02:57 -0400 (0:00:00.065) 0:03:10.806 ********* 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 08:02:57 -0400 (0:00:00.060) 0:03:10.867 ********* 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 08:02:57 -0400 (0:00:00.081) 0:03:10.949 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** Thursday 25 July 2024 08:02:57 -0400 (0:00:00.063) 0:03:11.012 ********* 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 08:02:57 -0400 (0:00:00.063) 0:03:11.075 ********* 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 08:02:57 -0400 (0:00:00.063) 0:03:11.139 ********* 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 08:02:57 -0400 (0:00:00.061) 0:03:11.201 ********* 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 08:02:57 -0400 (0:00:00.073) 0:03:11.274 ********* 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 08:02:58 -0400 (0:00:00.062) 0:03:11.337 ********* 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 08:02:58 -0400 (0:00:00.062) 0:03:11.399 ********* 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 08:02:58 -0400 (0:00:00.064) 0:03:11.463 ********* 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 08:02:58 -0400 (0:00:00.064) 0:03:11.528 ********* changed: [managed_node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** Thursday 25 July 2024 08:02:58 -0400 (0:00:00.427) 0:03:11.956 ********* changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 08:01:27 EDT", "ActiveEnterTimestampMonotonic": "3236327828", "ActiveExitTimestamp": "Thu 2024-07-25 08:02:29 EDT", "ActiveExitTimestampMonotonic": "3297598968", "ActiveState": "inactive", "After": "systemd-journald.socket network.target -.mount basic.target auditd.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 08:01:27 EDT", "AssertTimestampMonotonic": "3236326828", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-07-25 08:01:27 EDT", "ConditionTimestampMonotonic": "3236326826", "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 08:02:29 EDT", "ExecMainExitTimestampMonotonic": "3298048512", "ExecMainPID": "1514", "ExecMainStartTimestamp": "Thu 2024-07-25 08:01:27 EDT", "ExecMainStartTimestampMonotonic": "3236327770", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 08:01:27 EDT] ; stop_time=[Thu 2024-07-25 08:02:29 EDT] ; pid=1514 ; 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 08:02:29 EDT", "InactiveEnterTimestampMonotonic": "3298048617", "InactiveExitTimestamp": "Thu 2024-07-25 08:01:27 EDT", "InactiveExitTimestampMonotonic": "3236327828", "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": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "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 08:02:59 -0400 (0:00:00.525) 0:03:12.481 ********* 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 08:02:59 -0400 (0:00:00.062) 0:03:12.544 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run with the edited settings again - should report not changed] ********** Thursday 25 July 2024 08:02:59 -0400 (0:00:00.141) 0:03:12.685 ********* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** Thursday 25 July 2024 08:03:00 -0400 (0:00:00.890) 0:03:13.576 ********* 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 08:03:00 -0400 (0:00:00.103) 0:03:13.679 ********* 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 08:03:00 -0400 (0:00:00.081) 0:03:13.761 ********* 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 08:03:00 -0400 (0:00:00.092) 0:03:13.854 ********* 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 08:03:00 -0400 (0:00:00.155) 0:03:14.009 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** Thursday 25 July 2024 08:03:00 -0400 (0:00:00.067) 0:03:14.077 ********* 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 08:03:00 -0400 (0:00:00.061) 0:03:14.138 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** Thursday 25 July 2024 08:03:00 -0400 (0:00:00.066) 0:03:14.204 ********* 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 08:03:00 -0400 (0:00:00.061) 0:03:14.266 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** Thursday 25 July 2024 08:03:01 -0400 (0:00:00.065) 0:03:14.331 ********* 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 08:03:01 -0400 (0:00:00.063) 0:03:14.395 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** Thursday 25 July 2024 08:03:01 -0400 (0:00:00.064) 0:03:14.459 ********* 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 08:03:01 -0400 (0:00:00.061) 0:03:14.520 ********* 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 08:03:01 -0400 (0:00:00.071) 0:03:14.592 ********* 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 08:03:01 -0400 (0:00:00.068) 0:03:14.661 ********* 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 08:03:01 -0400 (0:00:00.064) 0:03:14.725 ********* 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 08:03:01 -0400 (0:00:00.065) 0:03:14.791 ********* 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 08:03:01 -0400 (0:00:00.065) 0:03:14.856 ********* 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 08:03:01 -0400 (0:00:00.069) 0:03:14.925 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 08:03:01 -0400 (0:00:00.064) 0:03:14.990 ********* 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 08:03:03 -0400 (0:00:01.955) 0:03:16.946 ********* 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 08:03:03 -0400 (0:00:00.176) 0:03:17.122 ********* 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 08:03:03 -0400 (0:00:00.066) 0:03:17.189 ********* 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 08:03:03 -0400 (0:00:00.071) 0:03:17.260 ********* 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 08:03:04 -0400 (0:00:00.123) 0:03:17.383 ********* 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 08:03:04 -0400 (0:00:00.551) 0:03:17.934 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** Thursday 25 July 2024 08:03:04 -0400 (0:00:00.066) 0:03:18.001 ********* 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 08:03:04 -0400 (0:00:00.064) 0:03:18.066 ********* 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 08:03:04 -0400 (0:00:00.066) 0:03:18.133 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** Thursday 25 July 2024 08:03:04 -0400 (0:00:00.066) 0:03:18.199 ********* 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 08:03:05 -0400 (0:00:00.158) 0:03:18.357 ********* 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 08:03:05 -0400 (0:00:00.070) 0:03:18.428 ********* 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 08:03:05 -0400 (0:00:00.091) 0:03:18.520 ********* 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 08:03:05 -0400 (0:00:00.065) 0:03:18.585 ********* 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 08:03:05 -0400 (0:00:00.595) 0:03:19.181 ********* 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 08:03:06 -0400 (0:00:00.551) 0:03:19.733 ********* 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 08:03:06 -0400 (0:00:00.062) 0:03:19.795 ********* 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.005356", "end": "2024-07-25 08:03:06.744336", "rc": 0, "start": "2024-07-25 08:03:06.738980" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** Thursday 25 July 2024 08:03:06 -0400 (0:00:00.342) 0:03:20.137 ********* 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 08:03:07 -0400 (0:00:00.905) 0:03:21.043 ********* 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 08:03:07 -0400 (0:00:00.086) 0:03:21.130 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** Thursday 25 July 2024 08:03:07 -0400 (0:00:00.154) 0:03:21.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 : Ensure the directory and permissions for datadir and logdir] *** Thursday 25 July 2024 08:03:08 -0400 (0:00:00.065) 0:03:21.350 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed_node1 included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /var/opt/mssql/data] *** Thursday 25 July 2024 08:03:08 -0400 (0:00:00.137) 0:03:21.487 ********* ok: [managed_node1] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/data", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** Thursday 25 July 2024 08:03:08 -0400 (0:00:00.348) 0:03:21.836 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** Thursday 25 July 2024 08:03:08 -0400 (0:00:00.063) 0:03:21.899 ********* 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 filelocation defaultdatadir] *** Thursday 25 July 2024 08:03:08 -0400 (0:00:00.109) 0:03:22.009 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003203", "end": "2024-07-25 08:03:08.950799", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:03:08.947596" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** Thursday 25 July 2024 08:03:09 -0400 (0:00:00.339) 0:03:22.349 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting filelocation defaultdatadir] *** Thursday 25 July 2024 08:03:09 -0400 (0:00:00.070) 0:03:22.419 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /var/opt/mssql/log] *** Thursday 25 July 2024 08:03:09 -0400 (0:00:00.068) 0:03:22.488 ********* ok: [managed_node1] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/log", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** Thursday 25 July 2024 08:03:09 -0400 (0:00:00.347) 0:03:22.835 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** Thursday 25 July 2024 08:03:09 -0400 (0:00:00.062) 0:03:22.897 ********* 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 filelocation defaultlogdir] *** Thursday 25 July 2024 08:03:09 -0400 (0:00:00.109) 0:03:23.007 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003283", "end": "2024-07-25 08:03:09.945801", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:03:09.942518" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** Thursday 25 July 2024 08:03:10 -0400 (0:00:00.336) 0:03:23.343 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting filelocation defaultlogdir] *** Thursday 25 July 2024 08:03:10 -0400 (0:00:00.161) 0:03:23.505 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** Thursday 25 July 2024 08:03:10 -0400 (0:00:00.067) 0:03:23.573 ********* 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 08:03:10 -0400 (0:00:00.061) 0:03:23.634 ********* 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 08:03:10 -0400 (0:00:00.063) 0:03:23.698 ********* 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 08:03:10 -0400 (0:00:00.531) 0:03:24.230 ********* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:07:59 EDT", "ActiveEnterTimestampMonotonic": "28047343", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target systemd-sysctl.service dbus.service basic.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": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "850", "ExecMainStartTimestamp": "Thu 2024-07-25 07:07:57 EDT", "ExecMainStartTimestampMonotonic": "26120028", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-07-25 07:07:57 EDT", "InactiveExitTimestampMonotonic": "26120069", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "850", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice dbus.service polkit.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "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 08:03:11 -0400 (0:00:00.456) 0:03:24.687 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.084571", "end": "2024-07-25 08:03:11.707614", "rc": 0, "start": "2024-07-25 08:03:11.623043" } 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 08:03:11 -0400 (0:00:00.419) 0:03:25.106 ********* 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 08:03:11 -0400 (0:00:00.067) 0:03:25.174 ********* 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 08:03:11 -0400 (0:00:00.066) 0:03:25.240 ********* 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 08:03:12 -0400 (0:00:00.067) 0:03:25.308 ********* 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 08:03:12 -0400 (0:00:00.336) 0:03:25.645 ********* 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 08:03:12 -0400 (0:00:00.061) 0:03:25.707 ********* 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 08:03:13 -0400 (0:00:00.641) 0:03:26.348 ********* 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 08:03:13 -0400 (0:00:00.121) 0:03:26.469 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 08:02:59 EDT", "ActiveEnterTimestampMonotonic": "3327410067", "ActiveExitTimestamp": "Thu 2024-07-25 08:02:29 EDT", "ActiveExitTimestampMonotonic": "3297598968", "ActiveState": "active", "After": "systemd-journald.socket network.target -.mount basic.target auditd.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 08:02:59 EDT", "AssertTimestampMonotonic": "3327409145", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-07-25 08:02:59 EDT", "ConditionTimestampMonotonic": "3327409143", "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": "7246", "ExecMainStartTimestamp": "Thu 2024-07-25 08:02:59 EDT", "ExecMainStartTimestampMonotonic": "3327409965", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 08:02:59 EDT] ; stop_time=[n/a] ; pid=7246 ; 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 08:02:29 EDT", "InactiveEnterTimestampMonotonic": "3298048617", "InactiveExitTimestamp": "Thu 2024-07-25 08:02:59 EDT", "InactiveExitTimestampMonotonic": "3327410067", "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": "7246", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 08:02:59 EDT", "WatchdogTimestampMonotonic": "3327410044", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** Thursday 25 July 2024 08:03:13 -0400 (0:00:00.439) 0:03:26.909 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003213", "end": "2024-07-25 08:03:13.866664", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:03:13.863451" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** Thursday 25 July 2024 08:03:13 -0400 (0:00:00.349) 0:03:27.259 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003205", "end": "2024-07-25 08:03:14.199687", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:03:14.196482" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* Thursday 25 July 2024 08:03:14 -0400 (0:00:00.334) 0:03:27.594 ********* 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 08:03:14 -0400 (0:00:00.077) 0:03:27.671 ********* 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": 6890, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** Thursday 25 July 2024 08:03:15 -0400 (0:00:01.344) 0:03:29.016 ********* ok: [managed_node1] => { "attempts": 1, "censored": "the output 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 08:03:16 -0400 (0:00:00.364) 0:03:29.381 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 08:03:16 -0400 (0:00:00.068) 0:03:29.450 ********* 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 08:03:17 -0400 (0:00:01.363) 0:03:30.813 ********* 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 08:03:17 -0400 (0:00:00.073) 0:03:30.887 ********* 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 08:03:17 -0400 (0:00:00.067) 0:03:30.954 ********* 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 08:03:17 -0400 (0:00:00.064) 0:03:31.019 ********* ok: [managed_node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005176", "end": "2024-07-25 08:03:17.968965", "rc": 0, "start": "2024-07-25 08:03:17.963789" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** Thursday 25 July 2024 08:03:18 -0400 (0:00:00.343) 0:03:31.362 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** Thursday 25 July 2024 08:03:18 -0400 (0:00:00.068) 0:03:31.431 ********* ok: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** Thursday 25 July 2024 08:03:19 -0400 (0:00:01.309) 0:03:32.740 ********* 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 08:03:19 -0400 (0:00:00.071) 0:03:32.811 ********* 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 08:03:19 -0400 (0:00:00.208) 0:03:33.020 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003240", "end": "2024-07-25 08:03:19.963617", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:03:19.960377" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** Thursday 25 July 2024 08:03:20 -0400 (0:00:00.342) 0:03:33.362 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network ipaddress] *** Thursday 25 July 2024 08:03:20 -0400 (0:00:00.071) 0:03:33.434 ********* 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 08:03:20 -0400 (0:00:00.064) 0:03:33.498 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** Thursday 25 July 2024 08:03:20 -0400 (0:00:00.065) 0:03:33.564 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1435] *** Thursday 25 July 2024 08:03:20 -0400 (0:00:00.065) 0:03:33.629 ********* 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 08:03:20 -0400 (0:00:00.112) 0:03:33.741 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003139", "end": "2024-07-25 08:03:20.689060", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:03:20.685921" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** Thursday 25 July 2024 08:03:20 -0400 (0:00:00.346) 0:03:34.088 ********* 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 08:03:20 -0400 (0:00:00.074) 0:03:34.162 ********* 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 08:03:20 -0400 (0:00:00.061) 0:03:34.224 ********* 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 08:03:20 -0400 (0:00:00.066) 0:03:34.290 ********* 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 sqlagent enabled] ****** Thursday 25 July 2024 08:03:21 -0400 (0:00:00.119) 0:03:34.410 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003245", "end": "2024-07-25 08:03:21.357612", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:03:21.354367" } STDOUT: enabled = False TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** Thursday 25 July 2024 08:03:21 -0400 (0:00:00.343) 0:03:34.753 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting sqlagent enabled] **** Thursday 25 July 2024 08:03:21 -0400 (0:00:00.173) 0:03:34.926 ********* 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 08:03:21 -0400 (0:00:00.066) 0:03:34.993 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-fts is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* Thursday 25 July 2024 08:03:22 -0400 (0:00:00.598) 0:03:35.591 ********* ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "powershell is not installed" ] } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** Thursday 25 July 2024 08:03:22 -0400 (0:00:00.495) 0:03:36.087 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003161", "end": "2024-07-25 08:03:23.027177", "failed_when_result": false, "rc": 1, "start": "2024-07-25 08:03:23.024016" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** Thursday 25 July 2024 08:03:23 -0400 (0:00:00.334) 0:03:36.422 ********* 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 08:03:23 -0400 (0:00:00.065) 0:03:36.487 ********* 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 08:03:23 -0400 (0:00:00.071) 0:03:36.559 ********* 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 control alternatewritethrough] *** Thursday 25 July 2024 08:03:23 -0400 (0:00:00.112) 0:03:36.671 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003189", "end": "2024-07-25 08:03:23.616650", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:03:23.613461" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** Thursday 25 July 2024 08:03:23 -0400 (0:00:00.340) 0:03:37.011 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control alternatewritethrough] *** Thursday 25 July 2024 08:03:23 -0400 (0:00:00.072) 0:03:37.083 ********* 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 08:03:23 -0400 (0:00:00.064) 0:03:37.148 ********* 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 control writethrough] *** Thursday 25 July 2024 08:03:23 -0400 (0:00:00.116) 0:03:37.264 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003187", "end": "2024-07-25 08:03:24.240885", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:03:24.237698" } STDOUT: writethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** Thursday 25 July 2024 08:03:24 -0400 (0:00:00.368) 0:03:37.633 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control writethrough] *** Thursday 25 July 2024 08:03:24 -0400 (0:00:00.078) 0:03:37.711 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** Thursday 25 July 2024 08:03:24 -0400 (0:00:00.066) 0:03:37.778 ********* 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 08:03:24 -0400 (0:00:00.066) 0:03:37.844 ********* 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 08:03:24 -0400 (0:00:00.067) 0:03:37.912 ********* 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 08:03:24 -0400 (0:00:00.070) 0:03:37.982 ********* 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 08:03:24 -0400 (0:00:00.065) 0:03:38.047 ********* 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 08:03:24 -0400 (0:00:00.061) 0:03:38.109 ********* 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 08:03:24 -0400 (0:00:00.063) 0:03:38.173 ********* 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 08:03:24 -0400 (0:00:00.062) 0:03:38.235 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** Thursday 25 July 2024 08:03:24 -0400 (0:00:00.067) 0:03:38.302 ********* 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 08:03:25 -0400 (0:00:00.063) 0:03:38.366 ********* 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 08:03:25 -0400 (0:00:00.061) 0:03:38.427 ********* 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 08:03:25 -0400 (0:00:00.066) 0:03:38.494 ********* 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 08:03:25 -0400 (0:00:00.065) 0:03:38.559 ********* 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 08:03:25 -0400 (0:00:00.064) 0:03:38.624 ********* 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 08:03:25 -0400 (0:00:00.062) 0:03:38.686 ********* 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 08:03:25 -0400 (0:00:00.064) 0:03:38.751 ********* 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 08:03:25 -0400 (0:00:00.065) 0:03:38.816 ********* 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 08:03:25 -0400 (0:00:00.158) 0:03:38.974 ********* 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 08:03:25 -0400 (0:00:00.065) 0:03:39.039 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** Thursday 25 July 2024 08:03:25 -0400 (0:00:00.062) 0:03:39.102 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* Thursday 25 July 2024 08:03:25 -0400 (0:00:00.065) 0:03:39.167 ********* 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 08:03:25 -0400 (0:00:00.061) 0:03:39.229 ********* 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 08:03:25 -0400 (0:00:00.064) 0:03:39.293 ********* 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 08:03:26 -0400 (0:00:00.063) 0:03:39.357 ********* 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 08:03:26 -0400 (0:00:00.062) 0:03:39.419 ********* 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 08:03:26 -0400 (0:00:00.062) 0:03:39.481 ********* 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 08:03:26 -0400 (0:00:00.062) 0:03:39.544 ********* 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 08:03:26 -0400 (0:00:00.066) 0:03:39.611 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** Thursday 25 July 2024 08:03:26 -0400 (0:00:00.061) 0:03:39.672 ********* 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 08:03:26 -0400 (0:00:00.068) 0:03:39.741 ********* 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 08:03:26 -0400 (0:00:00.063) 0:03:39.804 ********* 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 08:03:26 -0400 (0:00:00.064) 0:03:39.869 ********* 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 08:03:26 -0400 (0:00:00.062) 0:03:39.932 ********* 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 08:03:26 -0400 (0:00:00.062) 0:03:39.995 ********* 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 08:03:26 -0400 (0:00:00.077) 0:03:40.073 ********* 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 08:03:26 -0400 (0:00:00.063) 0:03:40.136 ********* 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 08:03:26 -0400 (0:00:00.163) 0:03:40.300 ********* 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 08:03:27 -0400 (0:00:00.081) 0:03:40.381 ********* 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 08:03:27 -0400 (0:00:00.067) 0:03:40.448 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** Thursday 25 July 2024 08:03:27 -0400 (0:00:00.064) 0:03:40.513 ********* 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 08:03:27 -0400 (0:00:00.066) 0:03:40.579 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* Thursday 25 July 2024 08:03:27 -0400 (0:00:00.064) 0:03:40.643 ********* 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 08:03:27 -0400 (0:00:00.063) 0:03:40.707 ********* 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 08:03:27 -0400 (0:00:00.062) 0:03:40.770 ********* 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 08:03:27 -0400 (0:00:00.066) 0:03:40.836 ********* 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 08:03:27 -0400 (0:00:00.064) 0:03:40.901 ********* 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 08:03:27 -0400 (0:00:00.062) 0:03:40.964 ********* 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 08:03:27 -0400 (0:00:00.066) 0:03:41.030 ********* 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 08:03:27 -0400 (0:00:00.063) 0:03:41.094 ********* 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 08:03:27 -0400 (0:00:00.079) 0:03:41.174 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** Thursday 25 July 2024 08:03:27 -0400 (0:00:00.060) 0:03:41.235 ********* 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 08:03:27 -0400 (0:00:00.067) 0:03:41.303 ********* 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 08:03:28 -0400 (0:00:00.064) 0:03:41.367 ********* 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 08:03:28 -0400 (0:00:00.064) 0:03:41.431 ********* 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 08:03:28 -0400 (0:00:00.072) 0:03:41.504 ********* 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 08:03:28 -0400 (0:00:00.063) 0:03:41.568 ********* 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 08:03:28 -0400 (0:00:00.161) 0:03:41.729 ********* 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 08:03:28 -0400 (0:00:00.066) 0:03:41.795 ********* 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 08:03:28 -0400 (0:00:00.066) 0:03:41.862 ********* ok: [managed_node1] => { "changed": false } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** Thursday 25 July 2024 08:03:29 -0400 (0:00:00.477) 0:03:42.339 ********* 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 08:03:29 -0400 (0:00:00.063) 0:03:42.402 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify disabled settings] ************************************************ Thursday 25 July 2024 08:03:29 -0400 (0:00:00.062) 0:03:42.464 ********* 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 08:03:29 -0400 (0:00:00.543) 0:03:43.008 ********* ok: [managed_node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile' /var/opt/mssql/mssql.conf \\\n2>&1 | sed 's\\errorlogfile : \\\\')\" || :\nif [ -f \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -f /var/opt/mssql/log/errorlog ]; then\n echo \"/var/opt/mssql/log/errorlog\"\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005198", "end": "2024-07-25 08:03:29.949022", "rc": 0, "start": "2024-07-25 08:03:29.943824" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* Thursday 25 July 2024 08:03:30 -0400 (0:00:00.342) 0:03:43.350 ********* ok: [managed_node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n echo false\nelse\n echo true\nfi\n", "delta": "0:00:00.004884", "end": "2024-07-25 08:03:30.293174", "rc": 0, "start": "2024-07-25 08:03:30.288290" } STDOUT: true TASK [Verify if the edition matches] ******************************************* Thursday 25 July 2024 08:03:30 -0400 (0:00:00.436) 0:03:43.786 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** Thursday 25 July 2024 08:03:30 -0400 (0:00:00.072) 0:03:43.859 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting ipaddress] ********************************** Thursday 25 July 2024 08:03:30 -0400 (0:00:00.167) 0:03:44.027 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004226", "end": "2024-07-25 08:03:30.977201", "rc": 0, "start": "2024-07-25 08:03:30.972975" } STDOUT: ipaddress = 127.0.0.1 TASK [Verify the setting when it is type str ipaddress] ************************ Thursday 25 July 2024 08:03:31 -0400 (0:00:00.348) 0:03:44.376 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** Thursday 25 July 2024 08:03:31 -0400 (0:00:00.077) 0:03:44.454 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 127.0.0.1] ***************************************** Thursday 25 July 2024 08:03:31 -0400 (0:00:00.066) 0:03:44.520 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultdatadir] ***************************** Thursday 25 July 2024 08:03:31 -0400 (0:00:00.064) 0:03:44.584 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004206", "end": "2024-07-25 08:03:31.540586", "rc": 0, "start": "2024-07-25 08:03:31.536380" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [Verify the setting when it is type str defaultdatadir] ******************* Thursday 25 July 2024 08:03:31 -0400 (0:00:00.364) 0:03:44.949 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** Thursday 25 July 2024 08:03:31 -0400 (0:00:00.081) 0:03:45.030 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/data] ******************************* Thursday 25 July 2024 08:03:31 -0400 (0:00:00.070) 0:03:45.101 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ Thursday 25 July 2024 08:03:31 -0400 (0:00:00.065) 0:03:45.166 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004199", "end": "2024-07-25 08:03:32.123561", "rc": 0, "start": "2024-07-25 08:03:32.119362" } STDOUT: enabled = False TASK [Verify the setting when it is type str enabled] ************************** Thursday 25 July 2024 08:03:32 -0400 (0:00:00.354) 0:03:45.521 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool enabled] ************************* Thursday 25 July 2024 08:03:32 -0400 (0:00:00.065) 0:03:45.586 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* Thursday 25 July 2024 08:03:32 -0400 (0:00:00.083) 0:03:45.669 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** Thursday 25 July 2024 08:03:32 -0400 (0:00:00.063) 0:03:45.733 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004265", "end": "2024-07-25 08:03:32.677625", "rc": 0, "start": "2024-07-25 08:03:32.673360" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [Verify the setting when it is type str defaultlogdir] ******************** Thursday 25 July 2024 08:03:32 -0400 (0:00:00.347) 0:03:46.080 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* Thursday 25 July 2024 08:03:32 -0400 (0:00:00.083) 0:03:46.164 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/log] ******************************** Thursday 25 July 2024 08:03:32 -0400 (0:00:00.064) 0:03:46.229 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ Thursday 25 July 2024 08:03:32 -0400 (0:00:00.067) 0:03:46.296 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004332", "end": "2024-07-25 08:03:33.243714", "rc": 0, "start": "2024-07-25 08:03:33.239382" } STDOUT: tcpport = 1435 TASK [Verify the setting when it is type str tcpport] ************************** Thursday 25 July 2024 08:03:33 -0400 (0:00:00.345) 0:03:46.641 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool tcpport] ************************* Thursday 25 July 2024 08:03:33 -0400 (0:00:00.069) 0:03:46.711 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1435] ********************************************** Thursday 25 July 2024 08:03:33 -0400 (0:00:00.064) 0:03:46.775 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_datadir] *********************************************** Thursday 25 July 2024 08:03:33 -0400 (0:00:00.075) 0:03:46.851 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721908833.4959574, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1721908833.4439573, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 786603, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1721908833.4439573, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "1506417972", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** Thursday 25 July 2024 08:03:34 -0400 (0:00:00.589) 0:03:47.440 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ Thursday 25 July 2024 08:03:34 -0400 (0:00:00.074) 0:03:47.514 ********* ok: [managed_node1] => { "changed": false, "stat": { "atime": 1721908981.7248697, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1721908981.73587, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 786604, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1721908981.73587, "nlink": 2, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "1506417973", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** Thursday 25 July 2024 08:03:34 -0400 (0:00:00.346) 0:03:47.861 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** Thursday 25 July 2024 08:03:34 -0400 (0:00:00.076) 0:03:47.938 ********* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** Thursday 25 July 2024 08:03:34 -0400 (0:00:00.112) 0:03:48.050 ********* ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 08:02:59 EDT", "ActiveEnterTimestampMonotonic": "3327410067", "ActiveExitTimestamp": "Thu 2024-07-25 08:02:29 EDT", "ActiveExitTimestampMonotonic": "3297598968", "ActiveState": "active", "After": "systemd-journald.socket network.target -.mount basic.target auditd.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Thu 2024-07-25 08:02:59 EDT", "AssertTimestampMonotonic": "3327409145", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Thu 2024-07-25 08:02:59 EDT", "ConditionTimestampMonotonic": "3327409143", "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": "7246", "ExecMainStartTimestamp": "Thu 2024-07-25 08:02:59 EDT", "ExecMainStartTimestampMonotonic": "3327409965", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Thu 2024-07-25 08:02:59 EDT] ; stop_time=[n/a] ; pid=7246 ; 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 08:02:29 EDT", "InactiveEnterTimestampMonotonic": "3298048617", "InactiveExitTimestamp": "Thu 2024-07-25 08:02:59 EDT", "InactiveExitTimestampMonotonic": "3327410067", "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": "7246", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Thu 2024-07-25 08:02:59 EDT", "WatchdogTimestampMonotonic": "3327410044", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** Thursday 25 July 2024 08:03:35 -0400 (0:00:00.444) 0:03:48.495 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003286", "end": "2024-07-25 08:03:35.481499", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:03:35.478213" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** Thursday 25 July 2024 08:03:35 -0400 (0:00:00.381) 0:03:48.876 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003292", "end": "2024-07-25 08:03:35.827426", "failed_when_result": false, "rc": 0, "start": "2024-07-25 08:03:35.824134" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* Thursday 25 July 2024 08:03:35 -0400 (0:00:00.348) 0:03:49.224 ********* 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 08:03:36 -0400 (0:00:00.082) 0:03:49.307 ********* 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": 6890, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** Thursday 25 July 2024 08:03:37 -0400 (0:00:01.338) 0:03:50.645 ********* ok: [managed_node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1435", "-U", "sa", "-P", "p@55w0rD1", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.020603", "end": "2024-07-25 08:03:37.608486", "rc": 0, "start": "2024-07-25 08:03:37.587883" } 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 Standard 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 08:03:37 -0400 (0:00:00.365) 0:03:51.010 ********* ok: [managed_node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* Thursday 25 July 2024 08:03:37 -0400 (0:00:00.071) 0:03:51.082 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml for managed_node1 TASK [Gather package facts] **************************************************** Thursday 25 July 2024 08:03:37 -0400 (0:00:00.109) 0:03:51.191 ********* 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 [Verify if the package is installed mssql-server-fts] ********************* Thursday 25 July 2024 08:03:39 -0400 (0:00:01.322) 0:03:52.514 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed mssql-server-fts] ***************** Thursday 25 July 2024 08:03:39 -0400 (0:00:00.068) 0:03:52.583 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify the package powershell] ******************************************* Thursday 25 July 2024 08:03:39 -0400 (0:00:00.095) 0:03:52.679 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml for managed_node1 TASK [Gather package facts] **************************************************** Thursday 25 July 2024 08:03:39 -0400 (0:00:00.215) 0:03:52.894 ********* 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 [Verify if the package is installed powershell] *************************** Thursday 25 July 2024 08:03:40 -0400 (0:00:01.205) 0:03:54.099 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed powershell] *********************** Thursday 25 July 2024 08:03:40 -0400 (0:00:00.069) 0:03:54.169 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get the value of the traceflag setting] ********************************** Thursday 25 July 2024 08:03:40 -0400 (0:00:00.097) 0:03:54.267 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004178", "end": "2024-07-25 08:03:41.220860", "rc": 0, "start": "2024-07-25 08:03:41.216682" } TASK [Verify that the traceflag setting is set to 3979] ************************ Thursday 25 July 2024 08:03:41 -0400 (0:00:00.348) 0:03:54.615 ********* 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 08:03:41 -0400 (0:00:00.069) 0:03:54.685 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that the alternatewritethrough setting is false] ****************** Thursday 25 July 2024 08:03:41 -0400 (0:00:00.073) 0:03:54.758 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting alternatewritethrough] ********************** Thursday 25 July 2024 08:03:41 -0400 (0:00:00.114) 0:03:54.873 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004294", "end": "2024-07-25 08:03:41.813510", "rc": 0, "start": "2024-07-25 08:03:41.809216" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ Thursday 25 July 2024 08:03:41 -0400 (0:00:00.337) 0:03:55.211 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool alternatewritethrough] *********** Thursday 25 July 2024 08:03:41 -0400 (0:00:00.069) 0:03:55.280 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* Thursday 25 July 2024 08:03:42 -0400 (0:00:00.176) 0:03:55.457 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** Thursday 25 July 2024 08:03:42 -0400 (0:00:00.071) 0:03:55.529 ********* included: /var/ARTIFACTS/work-general1cq7pq86/plans/general/tree/tmp.k94TUxNBpd/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed_node1 TASK [Get the value of the setting writethrough] ******************************* Thursday 25 July 2024 08:03:42 -0400 (0:00:00.118) 0:03:55.647 ********* ok: [managed_node1] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004265", "end": "2024-07-25 08:03:42.587634", "rc": 0, "start": "2024-07-25 08:03:42.583369" } STDOUT: writethrough = 0 TASK [Verify the setting when it is type str writethrough] ********************* Thursday 25 July 2024 08:03:42 -0400 (0:00:00.337) 0:03:55.985 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool writethrough] ******************** Thursday 25 July 2024 08:03:42 -0400 (0:00:00.070) 0:03:56.056 ********* ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* Thursday 25 July 2024 08:03:42 -0400 (0:00:00.083) 0:03:56.140 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** Thursday 25 July 2024 08:03:42 -0400 (0:00:00.067) 0:03:56.207 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** Thursday 25 July 2024 08:03:42 -0400 (0:00:00.061) 0:03:56.269 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** Thursday 25 July 2024 08:03:43 -0400 (0:00:00.063) 0:03:56.332 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** Thursday 25 July 2024 08:03:43 -0400 (0:00:00.062) 0:03:56.395 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** Thursday 25 July 2024 08:03:43 -0400 (0:00:00.061) 0:03:56.456 ********* 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 08:03:43 -0400 (0:00:00.064) 0:03:56.521 ********* 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 08:03:43 -0400 (0:00:00.662) 0:03:57.184 ********* ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003225", "end": "2024-07-25 08:03:44.262734", "rc": 0, "start": "2024-07-25 08:03:44.259509" } STDOUT: # BEGIN ANSIBLE MANAGED BLOCK # # Ansible managed # # system_role:mssql # END ANSIBLE MANAGED BLOCK [sqlagent] enabled = False [EULA] accepteula = Y [filelocation] defaultdatadir = /var/opt/mssql/data defaultlogdir = /var/opt/mssql/log [network] ipaddress = 127.0.0.1 tcpport = 1435 [traceflag] [control] alternatewritethrough = 0 writethrough = 0 TASK [Clean up after the role invocation] ************************************** Thursday 25 July 2024 08:03:44 -0400 (0:00:00.478) 0:03:57.662 ********* 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 08:03:44 -0400 (0:00:00.112) 0:03:57.775 ********* 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 08:03:45 -0400 (0:00:01.179) 0:03:58.955 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** Thursday 25 July 2024 08:03:45 -0400 (0:00:00.087) 0:03:59.042 ********* ok: [managed_node1] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** Thursday 25 July 2024 08:03:45 -0400 (0:00:00.063) 0:03:59.105 ********* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** Thursday 25 July 2024 08:03:46 -0400 (0:00:00.284) 0:03:59.390 ********* 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 08:03:46 -0400 (0:00:00.120) 0:03:59.511 ********* 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 08:03:46 -0400 (0:00:00.088) 0:03:59.600 ********* 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 08:03:46 -0400 (0:00:00.348) 0:03:59.948 ********* 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 08:03:46 -0400 (0:00:00.071) 0:04:00.020 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** Thursday 25 July 2024 08:03:47 -0400 (0:00:00.348) 0:04:00.368 ********* ok: [managed_node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** Thursday 25 July 2024 08:03:47 -0400 (0:00:00.073) 0:04:00.441 ********* 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 08:03:47 -0400 (0:00:00.562) 0:04:01.004 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** Thursday 25 July 2024 08:03:47 -0400 (0:00:00.065) 0:04:01.070 ********* 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 08:03:47 -0400 (0:00:00.066) 0:04:01.136 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** Thursday 25 July 2024 08:03:47 -0400 (0:00:00.065) 0:04:01.202 ********* 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 08:03:47 -0400 (0:00:00.065) 0:04:01.267 ********* 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 08:03:48 -0400 (0:00:00.081) 0:04:01.348 ********* ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:11:16 EDT", "ActiveEnterTimestampMonotonic": "224562844", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "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": "ipset.service shutdown.target ip6tables.service ebtables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8433", "ExecMainStartTimestamp": "Thu 2024-07-25 07:11:15 EDT", "ExecMainStartTimestampMonotonic": "223568521", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-07-25 07:11:15 EDT", "InactiveExitTimestampMonotonic": "223568552", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "8433", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "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 08:03:48 -0400 (0:00:00.531) 0:04:01.879 ********* ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Thu 2024-07-25 07:11:16 EDT", "ActiveEnterTimestampMonotonic": "224562844", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "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": "ipset.service shutdown.target ip6tables.service ebtables.service iptables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "8433", "ExecMainStartTimestamp": "Thu 2024-07-25 07:11:15 EDT", "ExecMainStartTimestampMonotonic": "223568521", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Thu 2024-07-25 07:11:15 EDT", "InactiveExitTimestampMonotonic": "223568552", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "8433", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "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 08:03:49 -0400 (0:00:00.448) 0:04:02.328 ********* 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 08:03:49 -0400 (0:00:00.070) 0:04:02.399 ********* 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 08:03:49 -0400 (0:00:00.338) 0:04:02.737 ********* ok: [managed_node1] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** Thursday 25 July 2024 08:03:49 -0400 (0:00:00.069) 0:04:02.807 ********* TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** Thursday 25 July 2024 08:03:49 -0400 (0:00:00.063) 0:04:02.870 ********* TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* Thursday 25 July 2024 08:03:49 -0400 (0:00:00.063) 0:04:02.934 ********* 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 08:03:49 -0400 (0:00:00.068) 0:04:03.002 ********* 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 08:03:49 -0400 (0:00:00.062) 0:04:03.065 ********* 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 08:03:49 -0400 (0:00:00.061) 0:04:03.127 ********* 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 08:03:50 -0400 (0:00:00.332) 0:04:03.459 ********* ok: [managed_node1] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* Thursday 25 July 2024 08:03:50 -0400 (0:00:00.072) 0:04:03.531 ********* skipping: [managed_node1] => {} TASK [Purge selinux configuration] ********************************************* Thursday 25 July 2024 08:03:50 -0400 (0:00:00.065) 0:04:03.597 ********* TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** Thursday 25 July 2024 08:03:50 -0400 (0:00:00.154) 0:04:03.752 ********* 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 08:03:50 -0400 (0:00:00.208) 0:04:03.960 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* Thursday 25 July 2024 08:03:50 -0400 (0:00:00.086) 0:04:04.047 ********* 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 08:03:50 -0400 (0:00:00.121) 0:04:04.169 ********* 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 08:03:51 -0400 (0:00:00.336) 0:04:04.505 ********* 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 08:03:51 -0400 (0:00:00.068) 0:04:04.573 ********* ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** Thursday 25 July 2024 08:03:51 -0400 (0:00:00.344) 0:04:04.918 ********* 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 08:03:51 -0400 (0:00:00.071) 0:04:04.989 ********* 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 08:03:52 -0400 (0:00:00.560) 0:04:05.549 ********* 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 08:03:52 -0400 (0:00:00.061) 0:04:05.611 ********* 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 08:03:52 -0400 (0:00:00.063) 0:04:05.675 ********* 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 08:03:52 -0400 (0:00:00.066) 0:04:05.741 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** Thursday 25 July 2024 08:03:52 -0400 (0:00:00.064) 0:04:05.805 ********* 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 08:03:52 -0400 (0:00:00.063) 0:04:05.869 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** Thursday 25 July 2024 08:03:52 -0400 (0:00:00.150) 0:04:06.020 ********* ok: [managed_node1] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** Thursday 25 July 2024 08:03:53 -0400 (0:00:00.578) 0:04:06.599 ********* 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 08:03:53 -0400 (0:00:00.062) 0:04:06.661 ********* 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 08:03:53 -0400 (0:00:00.065) 0:04:06.727 ********* 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 08:03:53 -0400 (0:00:00.065) 0:04:06.793 ********* 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 08:03:53 -0400 (0:00:00.059) 0:04:06.853 ********* skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** Thursday 25 July 2024 08:03:53 -0400 (0:00:00.062) 0:04:06.915 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:00.355673", "end": "2024-07-25 08:03:54.222786", "rc": 0, "start": "2024-07-25 08:03:53.867113" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** Thursday 25 July 2024 08:03:54 -0400 (0:00:00.702) 0:04:07.618 ********* 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 08:03:54 -0400 (0:00:00.064) 0:04:07.682 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** Thursday 25 July 2024 08:03:54 -0400 (0:00:00.063) 0:04:07.745 ********* 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 08:03:54 -0400 (0:00:00.063) 0:04:07.809 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** Thursday 25 July 2024 08:03:54 -0400 (0:00:00.065) 0:04:07.875 ********* TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** Thursday 25 July 2024 08:03:54 -0400 (0:00:00.065) 0:04:07.941 ********* TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** Thursday 25 July 2024 08:03:54 -0400 (0:00:00.065) 0:04:08.006 ********* TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** Thursday 25 July 2024 08:03:54 -0400 (0:00:00.062) 0:04:08.069 ********* TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** Thursday 25 July 2024 08:03:54 -0400 (0:00:00.158) 0:04:08.228 ********* 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 08:03:57 -0400 (0:00:02.753) 0:04:10.981 ********* 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 08:03:57 -0400 (0:00:00.090) 0:04:11.072 ********* TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** Thursday 25 July 2024 08:03:57 -0400 (0:00:00.085) 0:04:11.157 ********* TASK [Leave realm] ************************************************************* Thursday 25 July 2024 08:03:57 -0400 (0:00:00.086) 0:04:11.243 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ Thursday 25 July 2024 08:03:58 -0400 (0:00:00.112) 0:04:11.355 ********* skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** Thursday 25 July 2024 08:03:58 -0400 (0:00:00.115) 0:04:11.471 ********* ok: [managed_node1] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* Thursday 25 July 2024 08:03:58 -0400 (0:00:00.635) 0:04:12.106 ********* 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 08:04:01 -0400 (0:00:03.132) 0:04:15.239 ********* [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.008232", "end": "2024-07-25 08:04:02.200965", "rc": 0, "start": "2024-07-25 08:04:02.192733" } STDOUT: removed ‘/var/opt/mssql/FTData/tsheb.xml’ removed ‘/var/opt/mssql/FTData/tsplk.xml’ removed ‘/var/opt/mssql/FTData/tsptg.xml’ removed ‘/var/opt/mssql/FTData/tsmal.xml’ removed ‘/var/opt/mssql/FTData/tsfra.xml’ removed directory: ‘/var/opt/mssql/FTData/FilterData’ removed ‘/var/opt/mssql/FTData/tsrus.xml’ removed ‘/var/opt/mssql/FTData/tsguj.xml’ removed ‘/var/opt/mssql/FTData/tsnor.xml’ removed ‘/var/opt/mssql/FTData/tsenu.xml’ removed ‘/var/opt/mssql/FTData/tstam.xml’ removed ‘/var/opt/mssql/FTData/tssky.xml’ removed ‘/var/opt/mssql/FTData/tseng.xml’ removed ‘/var/opt/mssql/FTData/tsita.xml’ removed ‘/var/opt/mssql/FTData/tsmar.xml’ removed ‘/var/opt/mssql/FTData/tskan.xml’ removed ‘/var/opt/mssql/FTData/tsglobal.xml’ removed ‘/var/opt/mssql/FTData/tsara.xml’ removed ‘/var/opt/mssql/FTData/tsben.xml’ removed ‘/var/opt/mssql/FTData/tsesn.xml’ removed ‘/var/opt/mssql/FTData/tsnld.xml’ removed ‘/var/opt/mssql/FTData/tsisl.xml’ removed ‘/var/opt/mssql/FTData/tskor.xml’ removed ‘/var/opt/mssql/FTData/tstel.xml’ removed ‘/var/opt/mssql/FTData/tsukr.xml’ removed ‘/var/opt/mssql/FTData/tstrk.xml’ removed ‘/var/opt/mssql/FTData/tshin.xml’ removed ‘/var/opt/mssql/FTData/tscht.xml’ removed ‘/var/opt/mssql/FTData/tstha.xml’ removed ‘/var/opt/mssql/FTData/tslvi.xml’ removed ‘/var/opt/mssql/FTData/tsdan.xml’ removed ‘/var/opt/mssql/FTData/tsvit.xml’ removed ‘/var/opt/mssql/FTData/tsrom.xml’ removed ‘/var/opt/mssql/FTData/tshrv.xml’ removed ‘/var/opt/mssql/FTData/tsmsl.xml’ removed ‘/var/opt/mssql/FTData/tsdeu.xml’ removed ‘/var/opt/mssql/FTData/tschs.xml’ removed ‘/var/opt/mssql/FTData/tsurd.xml’ removed ‘/var/opt/mssql/FTData/tsgrk.xml’ removed ‘/var/opt/mssql/FTData/tssve.xml’ removed ‘/var/opt/mssql/FTData/tsslv.xml’ removed ‘/var/opt/mssql/FTData/tsbgr.xml’ removed ‘/var/opt/mssql/FTData/tssrb.xml’ removed ‘/var/opt/mssql/FTData/tsptb.xml’ removed ‘/var/opt/mssql/FTData/tsjpn.xml’ removed ‘/var/opt/mssql/FTData/tsind.xml’ removed ‘/var/opt/mssql/FTData/tslth.xml’ removed ‘/var/opt/mssql/FTData/tssrl.xml’ removed ‘/var/opt/mssql/FTData/tspan.xml’ removed ‘/var/opt/mssql/FTData/tscat.xml’ removed ‘/var/opt/mssql/FTData/tscze.xml’ removed directory: ‘/var/opt/mssql/FTData’ 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/44bb6f39-f4d9-402b-bc88-28481acd7a14’ 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-347789497-2091725324-836717882-500/42e7704ae40b0d75de00736cc66b813a_4ac9e677-64b2-450e-ad6c-591215bf4826’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-347789497-2091725324-836717882-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-347789497-2091725324-836717882-500/Preferred’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-347789497-2091725324-836717882-500/db22e70d-c436-4f6b-a7cb-e0ee6947f7df’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-347789497-2091725324-836717882-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/system_health_0_133663824910910000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663824907070000.xel’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/log_4.trc’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/errorlog’ removed ‘/var/opt/mssql/log/log_2.trc’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663824321550000.xel’ removed ‘/var/opt/mssql/log/sqlagent.1’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663824365620000.xel’ removed ‘/var/opt/mssql/log/log_5.trc’ removed ‘/var/opt/mssql/log/sqlagent.2’ removed ‘/var/opt/mssql/log/system_health_0_133663825624730000.xel’ removed ‘/var/opt/mssql/log/errorlog.4’ removed ‘/var/opt/mssql/log/errorlog.2’ removed ‘/var/opt/mssql/log/FDLAUNCHERRORLOG’ removed ‘/var/opt/mssql/log/sqlagent.out’ removed ‘/var/opt/mssql/log/system_health_0_133663825540690000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133663825817120000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133663824328420000.xel’ removed ‘/var/opt/mssql/log/log_1.trc’ removed ‘/var/opt/mssql/log/system_health_0_133663824369680000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663825621830000.xel’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663825813300000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133663825537620000.xel’ removed directory: ‘/var/opt/mssql/log’ removed directory: ‘/var/opt/mssql’ removed directory: ‘/opt/mssql/misc’ 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 directory: ‘/tmp/mssql_data’ removed directory: ‘/tmp/mssql_log’ removed ‘/etc/systemd/system/multi-user.target.wants/mssql-server.service’ TASK [Stop the mssql-server service] ******************************************* Thursday 25 July 2024 08:04:02 -0400 (0:00:00.396) 0:04:15.635 ********* ok: [managed_node1] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.527332", "end": "2024-07-25 08:04:03.116415", "rc": 0, "start": "2024-07-25 08:04:02.589083" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** Thursday 25 July 2024 08:04:03 -0400 (0:00:00.838) 0:04:16.474 ********* changed: [managed_node1] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.839553", "end": "2024-07-25 08:04:05.331919", "rc": 0, "start": "2024-07-25 08:04:03.492366" } PLAY RECAP ********************************************************************* managed_node1 : ok=339 changed=38 unreachable=0 failed=0 skipped=555 rescued=0 ignored=1 Thursday 25 July 2024 08:04:05 -0400 (0:00:02.216) 0:04:18.690 ********* =============================================================================== fedora.linux_system_roles.mssql : Change the edition of MSSQL ----------- 6.30s fedora.linux_system_roles.mssql : Change the password of sa user -------- 6.25s Remove related packages ------------------------------------------------- 3.13s fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 2.75s fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.22s fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.96s fedora.linux_system_roles.mssql : Restart the mssql-server service ------ 1.55s fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts --- 1.52s fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 1.50s fedora.linux_system_roles.mssql : Ensure the package powershell --------- 1.42s fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.37s fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.36s fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.36s Wait for mssql-server to prepare for client connections ----------------- 1.35s fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 1.34s Wait for mssql-server to prepare for client connections ----------------- 1.34s fedora.linux_system_roles.mssql : Get the setting sqlagent enabled ------ 1.34s fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 1.34s Gather package facts ---------------------------------------------------- 1.32s fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.31s