ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_idempotency_2017.yml ******************************************* 1 plays in /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_idempotency_2017.yml PLAY [Ensure that the role is idempotent] ************************************** META: ran handlers TASK [Run tests_idempotency with SQL Server 2017] ****************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_idempotency_2017.yml:15 Friday 04 April 2025 21:42:09 -0400 (0:00:00.059) 0:00:00.059 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml for managed-node2 TASK [Assert fail on EL 7 with version = 2022 and EL 9 with version != 2022] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:2 Friday 04 April 2025 21:42:09 -0400 (0:00:00.024) 0:00:00.083 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml for managed-node2 TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:2 Friday 04 April 2025 21:42:09 -0400 (0:00:00.087) 0:00:00.170 ********** ok: [managed-node2] TASK [Run the role] ************************************************************ task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:17 Friday 04 April 2025 21:42:10 -0400 (0:00:00.839) 0:00:01.010 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:24 Friday 04 April 2025 21:42:10 -0400 (0:00:00.023) 0:00:01.033 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run on a fresh host and set all parameters] ****************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:5 Friday 04 April 2025 21:42:10 -0400 (0:00:00.022) 0:00:01.056 ********** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 04 April 2025 21:42:11 -0400 (0:00:00.529) 0:00:01.585 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 04 April 2025 21:42:11 -0400 (0:00:00.035) 0:00:01.621 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 04 April 2025 21:42:11 -0400 (0:00:00.061) 0:00:01.683 ********** ok: [managed-node2] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 04 April 2025 21:42:11 -0400 (0:00:00.114) 0:00:01.798 ********** ok: [managed-node2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 04 April 2025 21:42:11 -0400 (0:00:00.059) 0:00:01.857 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 04 April 2025 21:42:11 -0400 (0:00:00.058) 0:00:01.916 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 04 April 2025 21:42:11 -0400 (0:00:00.045) 0:00:01.962 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 04 April 2025 21:42:11 -0400 (0:00:00.036) 0:00:01.998 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 04 April 2025 21:42:11 -0400 (0:00:00.084) 0:00:02.083 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 04 April 2025 21:42:11 -0400 (0:00:00.057) 0:00:02.141 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 04 April 2025 21:42:11 -0400 (0:00:00.077) 0:00:02.219 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 04 April 2025 21:42:11 -0400 (0:00:00.081) 0:00:02.300 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that variable is deprecated] ***** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 04 April 2025 21:42:11 -0400 (0:00:00.036) 0:00:02.337 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 04 April 2025 21:42:11 -0400 (0:00:00.052) 0:00:02.390 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 04 April 2025 21:42:11 -0400 (0:00:00.059) 0:00:02.449 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 04 April 2025 21:42:11 -0400 (0:00:00.060) 0:00:02.510 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 04 April 2025 21:42:12 -0400 (0:00:00.088) 0:00:02.598 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 04 April 2025 21:42:12 -0400 (0:00:00.066) 0:00:02.665 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 04 April 2025 21:42:12 -0400 (0:00:00.084) 0:00:02.749 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 04 April 2025 21:42:12 -0400 (0:00:00.044) 0:00:02.794 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 04 April 2025 21:42:12 -0400 (0:00:00.056) 0:00:02.851 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 04 April 2025 21:42:12 -0400 (0:00:00.054) 0:00:02.905 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 04 April 2025 21:42:12 -0400 (0:00:00.028) 0:00:02.933 ********** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 04 April 2025 21:42:14 -0400 (0:00:01.756) 0:00:04.690 ********** skipping: [managed-node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 04 April 2025 21:42:14 -0400 (0:00:00.178) 0:00:04.868 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 04 April 2025 21:42:14 -0400 (0:00:00.154) 0:00:05.022 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 04 April 2025 21:42:14 -0400 (0:00:00.191) 0:00:05.214 ********** skipping: [managed-node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 04 April 2025 21:42:14 -0400 (0:00:00.210) 0:00:05.424 ********** ok: [managed-node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 04 April 2025 21:42:16 -0400 (0:00:01.114) 0:00:06.538 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 04 April 2025 21:42:16 -0400 (0:00:00.095) 0:00:06.634 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 04 April 2025 21:42:16 -0400 (0:00:00.085) 0:00:06.719 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 04 April 2025 21:42:16 -0400 (0:00:00.104) 0:00:06.824 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 04 April 2025 21:42:16 -0400 (0:00:00.085) 0:00:06.909 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 04 April 2025 21:42:16 -0400 (0:00:00.115) 0:00:07.025 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 04 April 2025 21:42:16 -0400 (0:00:00.183) 0:00:07.208 ********** changed: [managed-node2] => { "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] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 04 April 2025 21:42:17 -0400 (0:00:00.778) 0:00:07.987 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 04 April 2025 21:42:17 -0400 (0:00:00.096) 0:00:08.084 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 04 April 2025 21:42:18 -0400 (0:00:01.119) 0:00:09.204 ********** changed: [managed-node2] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: dl.fedoraproject.org\n * epel-debuginfo: dl.fedoraproject.org\n * epel-source: dl.fedoraproject.org\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-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 download size: 203 M\nInstalled size: 1.0 G\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 67 MB/s | 203 MB 00:03 \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 : Check if the errorlog file exists and its location] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 04 April 2025 21:42:54 -0400 (0:00:36.278) 0:00:45.483 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005628", "end": "2025-04-04 21:42:55.367504", "rc": 0, "start": "2025-04-04 21:42:55.361876" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Friday 04 April 2025 21:42:55 -0400 (0:00:00.495) 0:00:45.979 ********** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Friday 04 April 2025 21:42:56 -0400 (0:00:01.134) 0:00:47.113 ********** ok: [managed-node2] => { "ansible_facts": { "__mssql_is_setup": false }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Friday 04 April 2025 21:42:56 -0400 (0:00:00.187) 0:00:47.301 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Friday 04 April 2025 21:42:56 -0400 (0:00:00.086) 0:00:47.387 ********** changed: [managed-node2] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Friday 04 April 2025 21:43:01 -0400 (0:00:04.857) 0:00:52.245 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node2 included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /tmp/mssql_data] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 04 April 2025 21:43:01 -0400 (0:00:00.197) 0:00:52.442 ********** changed: [managed-node2] => { "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] ***** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 04 April 2025 21:43:02 -0400 (0:00:00.589) 0:00:53.031 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 04 April 2025 21:43:02 -0400 (0:00:00.098) 0:00:53.130 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 April 2025 21:43:02 -0400 (0:00:00.180) 0:00:53.311 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003419", "end": "2025-04-04 21:43:03.149067", "failed_when_result": false, "rc": 1, "start": "2025-04-04 21:43:03.145648" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 April 2025 21:43:03 -0400 (0:00:00.487) 0:00:53.799 ********** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node2 changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultdatadir", "/tmp/mssql_data" ], "delta": "0:00:00.049147", "end": "2025-04-04 21:43:03.617873", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:43:03.568726" } 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] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 April 2025 21:43:03 -0400 (0:00:00.491) 0:00:54.291 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /tmp/mssql_log] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 04 April 2025 21:43:03 -0400 (0:00:00.102) 0:00:54.393 ********** changed: [managed-node2] => { "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] ***** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 04 April 2025 21:43:04 -0400 (0:00:00.533) 0:00:54.927 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 04 April 2025 21:43:04 -0400 (0:00:00.105) 0:00:55.033 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 April 2025 21:43:04 -0400 (0:00:00.180) 0:00:55.214 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002897", "end": "2025-04-04 21:43:04.965671", "failed_when_result": false, "rc": 1, "start": "2025-04-04 21:43:04.962774" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 April 2025 21:43:05 -0400 (0:00:00.404) 0:00:55.618 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/tmp/mssql_log" ], "delta": "0:00:00.046295", "end": "2025-04-04 21:43:05.431864", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:43:05.385569" } 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] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 April 2025 21:43:05 -0400 (0:00:00.483) 0:00:56.101 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 04 April 2025 21:43:05 -0400 (0:00:00.096) 0:00:56.198 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Friday 04 April 2025 21:43:05 -0400 (0:00:00.095) 0:00:56.294 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Friday 04 April 2025 21:43:05 -0400 (0:00:00.096) 0:00:56.390 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 04 April 2025 21:43:06 -0400 (0:00:00.646) 0:00:57.036 ********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-04 21:15:13 EDT", "ActiveEnterTimestampMonotonic": "13607324", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service dbus.service network.target basic.target system.slice systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-04 21:15:12 EDT", "AssertTimestampMonotonic": "13086023", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-04 21:15:12 EDT", "ConditionTimestampMonotonic": "13086021", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "875", "ExecMainStartTimestamp": "Fri 2025-04-04 21:15:12 EDT", "ExecMainStartTimestampMonotonic": "13086489", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2025-04-04 21:15:12 EDT", "InactiveExitTimestampMonotonic": "13086525", "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": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "875", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service system.slice basic.target 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": "Fri 2025-04-04 21:15:13 EDT", "WatchdogTimestampMonotonic": "13606493", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Friday 04 April 2025 21:43:07 -0400 (0:00:00.984) 0:00:58.020 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.090969", "end": "2025-04-04 21:43:07.823756", "rc": 0, "start": "2025-04-04 21:43:07.732787" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Friday 04 April 2025 21:43:07 -0400 (0:00:00.417) 0:00:58.438 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Friday 04 April 2025 21:43:07 -0400 (0:00:00.062) 0:00:58.501 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 04 April 2025 21:43:08 -0400 (0:00:00.066) 0:00:58.567 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Friday 04 April 2025 21:43:08 -0400 (0:00:00.062) 0:00:58.629 ********** changed: [managed-node2] => { "changed": true, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Friday 04 April 2025 21:43:08 -0400 (0:00:00.383) 0:00:59.013 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 04 April 2025 21:43:08 -0400 (0:00:00.097) 0:00:59.110 ********** changed: [managed-node2] => { "changed": true, "changes": { "installed": [ "mssql-tools18", "unixODBC-devel" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-tools18.x86_64 0:18.4.1.1-1 will be installed\n--> Processing Dependency: msodbcsql18 >= 18.0.0.0 for package: mssql-tools18-18.4.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 msodbcsql18.x86_64 0:18.4.1.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-tools18 x86_64 18.4.1.1-1 packages-microsoft-com-prod 293 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 msodbcsql18 x86_64 18.4.1.1-1 packages-microsoft-com-prod 923 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 download size: 1.6 M\nInstalled size: 3.9 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 5.2 MB/s | 1.6 MB 00:00 \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 : msodbcsql18-18.4.1.1-1.x86_64 3/5 \nodbcinst: Driver installed. Usage count increased to 1. \n Target directory is /etc\n Installing : mssql-tools18-18.4.1.1-1.x86_64 4/5 \n Installing : unixODBC-devel-2.3.11-1.rh.x86_64 5/5 \n Verifying : mssql-tools18-18.4.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 : msodbcsql18-18.4.1.1-1.x86_64 5/5 \n\nInstalled:\n mssql-tools18.x86_64 0:18.4.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 msodbcsql18.x86_64 0:18.4.1.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } lsrpackages: mssql-tools18 unixODBC-devel TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Friday 04 April 2025 21:43:13 -0400 (0:00:04.665) 0:01:03.776 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Friday 04 April 2025 21:43:13 -0400 (0:00:00.122) 0:01:03.899 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 04 April 2025 21:43:13 -0400 (0:00:00.060) 0:01:03.960 ********** skipping: [managed-node2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (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] ********* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 04 April 2025 21:43:13 -0400 (0:00:00.069) 0:01:04.029 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 04 April 2025 21:43:13 -0400 (0:00:00.061) 0:01:04.091 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 04 April 2025 21:43:13 -0400 (0:00:00.068) 0:01:04.159 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 04 April 2025 21:43:13 -0400 (0:00:00.091) 0:01:04.251 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the setting forceencryption] ******* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 04 April 2025 21:43:13 -0400 (0:00:00.100) 0:01:04.352 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.005402", "end": "2025-04-04 21:43:14.087662", "failed_when_result": false, "rc": 1, "start": "2025-04-04 21:43:14.082260" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 04 April 2025 21:43:14 -0400 (0:00:00.362) 0:01:04.715 ********** ok: [managed-node2] => { "ansible_facts": { "__sqlcmd_cli": "/opt/mssql-tools18/bin/sqlcmd -No" }, "changed": false } TASK [fedora.linux_system_roles.mssql : Append -C to sqlcmd when TLS is configured but certs are self-signed] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 04 April 2025 21:43:14 -0400 (0:00:00.117) 0:01:04.833 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Friday 04 April 2025 21:43:14 -0400 (0:00:00.083) 0:01:04.916 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Friday 04 April 2025 21:43:14 -0400 (0:00:00.079) 0:01:04.996 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Friday 04 April 2025 21:43:14 -0400 (0:00:00.065) 0:01:05.061 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Friday 04 April 2025 21:43:14 -0400 (0:00:00.059) 0:01:05.121 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 04 April 2025 21:43:14 -0400 (0:00:00.064) 0:01:05.185 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Friday 04 April 2025 21:43:14 -0400 (0:00:00.088) 0:01:05.274 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 04 April 2025 21:43:14 -0400 (0:00:00.097) 0:01:05.371 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Friday 04 April 2025 21:43:14 -0400 (0:00:00.096) 0:01:05.468 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 04 April 2025 21:43:15 -0400 (0:00:00.098) 0:01:05.566 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Friday 04 April 2025 21:43:15 -0400 (0:00:00.097) 0:01:05.663 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Friday 04 April 2025 21:43:15 -0400 (0:00:00.090) 0:01:05.753 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 04 April 2025 21:43:15 -0400 (0:00:00.079) 0:01:05.833 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Friday 04 April 2025 21:43:15 -0400 (0:00:00.113) 0:01:05.947 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network ipaddress] ***** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 April 2025 21:43:15 -0400 (0:00:00.171) 0:01:06.118 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003498", "end": "2025-04-04 21:43:15.867766", "failed_when_result": false, "rc": 1, "start": "2025-04-04 21:43:15.864268" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 April 2025 21:43:15 -0400 (0:00:00.373) 0:01:06.491 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "0.0.0.0" ], "delta": "0:00:00.100904", "end": "2025-04-04 21:43:16.306576", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:43:16.205672" } 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] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 April 2025 21:43:16 -0400 (0:00:00.483) 0:01:06.975 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Friday 04 April 2025 21:43:16 -0400 (0:00:00.096) 0:01:07.072 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 04 April 2025 21:43:16 -0400 (0:00:00.097) 0:01:07.169 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Friday 04 April 2025 21:43:16 -0400 (0:00:00.102) 0:01:07.271 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 April 2025 21:43:16 -0400 (0:00:00.187) 0:01:07.459 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003005", "end": "2025-04-04 21:43:17.217384", "failed_when_result": false, "rc": 1, "start": "2025-04-04 21:43:17.214379" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 April 2025 21:43:17 -0400 (0:00:00.372) 0:01:07.831 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.046865", "end": "2025-04-04 21:43:17.632899", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:43:17.586034" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [fedora.linux_system_roles.mssql : Unset the setting network tcpport] ***** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 April 2025 21:43:17 -0400 (0:00:00.474) 0:01:08.306 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Friday 04 April 2025 21:43:17 -0400 (0:00:00.078) 0:01:08.384 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Friday 04 April 2025 21:43:17 -0400 (0:00:00.080) 0:01:08.464 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting sqlagent enabled] ****** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 April 2025 21:43:18 -0400 (0:00:00.123) 0:01:08.588 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003033", "end": "2025-04-04 21:43:18.320382", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:43:18.317349" } STDOUT: enabled = false TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 April 2025 21:43:18 -0400 (0:00:00.405) 0:01:08.994 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "True" ], "delta": "0:00:00.046764", "end": "2025-04-04 21:43:18.780280", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:43:18.733516" } 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] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 April 2025 21:43:18 -0400 (0:00:00.417) 0:01:09.412 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Friday 04 April 2025 21:43:18 -0400 (0:00:00.060) 0:01:09.472 ********** changed: [managed-node2] => { "changed": true, "changes": { "installed": [ "mssql-server-fts" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server-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 download 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] ********* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Friday 04 April 2025 21:43:46 -0400 (0:00:27.457) 0:01:36.930 ********** changed: [managed-node2] => { "changed": true, "changes": { "installed": [ "powershell" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: dl.fedoraproject.org\n * epel-debuginfo: dl.fedoraproject.org\n * epel-source: dl.fedoraproject.org\nResolving Dependencies\n--> Running transaction check\n---> Package powershell.x86_64 0:7.3.12-1.rh will be installed\n--> Processing Dependency: libicu for package: powershell-7.3.12-1.rh.x86_64\n--> Running transaction check\n---> Package libicu.x86_64 0:50.2-4.el7_7 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\nInstalling for dependencies:\n libicu x86_64 50.2-4.el7_7 base 6.9 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+1 Dependent package)\n\nTotal download size: 72 M\nInstalled size: 192 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 65 MB/s | 72 MB 00:01 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libicu-50.2-4.el7_7.x86_64 1/2 \n Installing : powershell-7.3.12-1.rh.x86_64 2/2 \n Verifying : powershell-7.3.12-1.rh.x86_64 1/2 \n Verifying : libicu-50.2-4.el7_7.x86_64 2/2 \n\nInstalled:\n powershell.x86_64 0:7.3.12-1.rh \n\nDependency Installed:\n libicu.x86_64 0:50.2-4.el7_7 \n\nComplete!\n" ] } lsrpackages: powershell TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 04 April 2025 21:43:59 -0400 (0:00:12.861) 0:01:49.791 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003163", "end": "2025-04-04 21:43:59.520775", "failed_when_result": false, "rc": 1, "start": "2025-04-04 21:43:59.517612" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Friday 04 April 2025 21:43:59 -0400 (0:00:00.388) 0:01:50.180 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "on" ], "delta": "0:00:00.046355", "end": "2025-04-04 21:43:59.953715", "rc": 0, "start": "2025-04-04 21:43:59.907360" } 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] ************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 04 April 2025 21:44:00 -0400 (0:00:00.388) 0:01:50.568 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Friday 04 April 2025 21:44:00 -0400 (0:00:00.060) 0:01:50.629 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting control alternatewritethrough] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 April 2025 21:44:00 -0400 (0:00:00.112) 0:01:50.742 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004627", "end": "2025-04-04 21:44:01.464622", "failed_when_result": false, "rc": 1, "start": "2025-04-04 21:44:00.459995" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 April 2025 21:44:01 -0400 (0:00:01.338) 0:01:52.080 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.alternatewritethrough", "0" ], "delta": "0:00:00.045537", "end": "2025-04-04 21:44:01.846994", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:44:01.801457" } 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] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 April 2025 21:44:01 -0400 (0:00:00.391) 0:01:52.471 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 04 April 2025 21:44:02 -0400 (0:00:00.062) 0:01:52.534 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting control writethrough] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 April 2025 21:44:02 -0400 (0:00:00.112) 0:01:52.647 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003007", "end": "2025-04-04 21:44:02.366258", "failed_when_result": false, "rc": 1, "start": "2025-04-04 21:44:02.363251" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 April 2025 21:44:02 -0400 (0:00:00.334) 0:01:52.982 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "1" ], "delta": "0:00:00.047217", "end": "2025-04-04 21:44:02.755873", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:44:02.708656" } 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] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 April 2025 21:44:02 -0400 (0:00:00.475) 0:01:53.457 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Friday 04 April 2025 21:44:03 -0400 (0:00:00.103) 0:01:53.560 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Friday 04 April 2025 21:44:03 -0400 (0:00:00.100) 0:01:53.661 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Friday 04 April 2025 21:44:03 -0400 (0:00:00.097) 0:01:53.758 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Friday 04 April 2025 21:44:03 -0400 (0:00:00.099) 0:01:53.858 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Friday 04 April 2025 21:44:03 -0400 (0:00:00.102) 0:01:53.960 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 04 April 2025 21:44:03 -0400 (0:00:00.090) 0:01:54.051 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Friday 04 April 2025 21:44:03 -0400 (0:00:00.091) 0:01:54.142 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 04 April 2025 21:44:03 -0400 (0:00:00.068) 0:01:54.211 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure proper configuration on user] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Friday 04 April 2025 21:44:03 -0400 (0:00:00.062) 0:01:54.274 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Friday 04 April 2025 21:44:03 -0400 (0:00:00.061) 0:01:54.335 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Friday 04 April 2025 21:44:03 -0400 (0:00:00.084) 0:01:54.420 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Friday 04 April 2025 21:44:03 -0400 (0:00:00.095) 0:01:54.515 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Friday 04 April 2025 21:44:04 -0400 (0:00:00.080) 0:01:54.596 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Friday 04 April 2025 21:44:04 -0400 (0:00:00.074) 0:01:54.670 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Friday 04 April 2025 21:44:04 -0400 (0:00:00.064) 0:01:54.735 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 04 April 2025 21:44:04 -0400 (0:00:00.066) 0:01:54.802 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 04 April 2025 21:44:04 -0400 (0:00:00.092) 0:01:54.894 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 04 April 2025 21:44:04 -0400 (0:00:00.085) 0:01:54.980 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Friday 04 April 2025 21:44:04 -0400 (0:00:00.083) 0:01:55.064 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 04 April 2025 21:44:04 -0400 (0:00:00.077) 0:01:55.141 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Friday 04 April 2025 21:44:04 -0400 (0:00:00.062) 0:01:55.204 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Friday 04 April 2025 21:44:04 -0400 (0:00:00.156) 0:01:55.360 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Friday 04 April 2025 21:44:04 -0400 (0:00:00.104) 0:01:55.465 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Friday 04 April 2025 21:44:05 -0400 (0:00:00.087) 0:01:55.552 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Friday 04 April 2025 21:44:05 -0400 (0:00:00.079) 0:01:55.631 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Friday 04 April 2025 21:44:05 -0400 (0:00:00.067) 0:01:55.699 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 04 April 2025 21:44:05 -0400 (0:00:00.059) 0:01:55.759 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 04 April 2025 21:44:05 -0400 (0:00:00.060) 0:01:55.819 ********** skipping: [managed-node2] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Friday 04 April 2025 21:44:05 -0400 (0:00:00.074) 0:01:55.893 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 04 April 2025 21:44:05 -0400 (0:00:00.059) 0:01:55.953 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Friday 04 April 2025 21:44:05 -0400 (0:00:00.061) 0:01:56.014 ********** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 04 April 2025 21:44:05 -0400 (0:00:00.074) 0:01:56.089 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Friday 04 April 2025 21:44:05 -0400 (0:00:00.067) 0:01:56.156 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Friday 04 April 2025 21:44:05 -0400 (0:00:00.061) 0:01:56.217 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 04 April 2025 21:44:05 -0400 (0:00:00.062) 0:01:56.279 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 04 April 2025 21:44:05 -0400 (0:00:00.060) 0:01:56.339 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 04 April 2025 21:44:05 -0400 (0:00:00.062) 0:01:56.402 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Friday 04 April 2025 21:44:05 -0400 (0:00:00.061) 0:01:56.463 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Friday 04 April 2025 21:44:05 -0400 (0:00:00.061) 0:01:56.525 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 04 April 2025 21:44:06 -0400 (0:00:00.061) 0:01:56.587 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Friday 04 April 2025 21:44:06 -0400 (0:00:00.062) 0:01:56.649 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Friday 04 April 2025 21:44:06 -0400 (0:00:00.060) 0:01:56.710 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Friday 04 April 2025 21:44:06 -0400 (0:00:00.130) 0:01:56.840 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Friday 04 April 2025 21:44:06 -0400 (0:00:00.097) 0:01:56.938 ********** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Friday 04 April 2025 21:44:06 -0400 (0:00:00.096) 0:01:57.035 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 04 April 2025 21:44:06 -0400 (0:00:00.076) 0:01:57.112 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Friday 04 April 2025 21:44:06 -0400 (0:00:00.067) 0:01:57.179 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Friday 04 April 2025 21:44:06 -0400 (0:00:00.066) 0:01:57.245 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 04 April 2025 21:44:06 -0400 (0:00:00.095) 0:01:57.341 ********** skipping: [managed-node2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 04 April 2025 21:44:06 -0400 (0:00:00.107) 0:01:57.449 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Friday 04 April 2025 21:44:07 -0400 (0:00:00.101) 0:01:57.550 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Friday 04 April 2025 21:44:07 -0400 (0:00:00.098) 0:01:57.649 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Friday 04 April 2025 21:44:07 -0400 (0:00:00.079) 0:01:57.728 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 04 April 2025 21:44:07 -0400 (0:00:00.084) 0:01:57.812 ********** changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 04 April 2025 21:44:07 -0400 (0:00:00.574) 0:01:58.387 ********** changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-04 21:43:01 EDT", "ActiveEnterTimestampMonotonic": "1680441078", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "network.target basic.target auditd.service system.slice -.mount systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-04 21:43:01 EDT", "AssertTimestampMonotonic": "1680440395", "Before": "shutdown.target multi-user.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-04 21:43:01 EDT", "ConditionTimestampMonotonic": "1680440394", "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": "14152", "ExecMainStartTimestamp": "Fri 2025-04-04 21:43:01 EDT", "ExecMainStartTimestampMonotonic": "1680441024", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2025-04-04 21:43:01 EDT", "InactiveExitTimestampMonotonic": "1680441078", "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": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "14152", "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": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-04-04 21:43:01 EDT", "WatchdogTimestampMonotonic": "1680441060", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Friday 04 April 2025 21:44:09 -0400 (0:00:01.391) 0:01:59.779 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Friday 04 April 2025 21:44:09 -0400 (0:00:00.102) 0:01:59.881 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:20 Friday 04 April 2025 21:44:09 -0400 (0:00:00.158) 0:02:00.039 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml for managed-node2 TASK [Modify the mssql-server service start limit interval] ******************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:3 Friday 04 April 2025 21:44:09 -0400 (0:00:00.245) 0:02:00.285 ********** changed: [managed-node2] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:10 Friday 04 April 2025 21:44:10 -0400 (0:00:00.507) 0:02:00.793 ********** changed: [managed-node2] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:17 Friday 04 April 2025 21:44:10 -0400 (0:00:00.430) 0:02:01.223 ********** ok: [managed-node2] => { "changed": false, "name": null, "status": {} } TASK [Run again with the same settings - should report not changed] ************ task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:23 Friday 04 April 2025 21:44:11 -0400 (0:00:00.698) 0:02:01.922 ********** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 04 April 2025 21:44:12 -0400 (0:00:00.686) 0:02:02.608 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 04 April 2025 21:44:12 -0400 (0:00:00.174) 0:02:02.782 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 04 April 2025 21:44:12 -0400 (0:00:00.125) 0:02:02.908 ********** ok: [managed-node2] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 04 April 2025 21:44:12 -0400 (0:00:00.244) 0:02:03.152 ********** ok: [managed-node2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 04 April 2025 21:44:12 -0400 (0:00:00.101) 0:02:03.254 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 04 April 2025 21:44:12 -0400 (0:00:00.115) 0:02:03.369 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 04 April 2025 21:44:12 -0400 (0:00:00.098) 0:02:03.468 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 04 April 2025 21:44:13 -0400 (0:00:00.104) 0:02:03.572 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 04 April 2025 21:44:13 -0400 (0:00:00.100) 0:02:03.673 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 04 April 2025 21:44:13 -0400 (0:00:00.102) 0:02:03.776 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 04 April 2025 21:44:13 -0400 (0:00:00.100) 0:02:03.876 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 04 April 2025 21:44:13 -0400 (0:00:00.101) 0:02:03.977 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that variable is deprecated] ***** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 04 April 2025 21:44:13 -0400 (0:00:00.101) 0:02:04.078 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 04 April 2025 21:44:13 -0400 (0:00:00.102) 0:02:04.181 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 04 April 2025 21:44:13 -0400 (0:00:00.096) 0:02:04.277 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 04 April 2025 21:44:13 -0400 (0:00:00.116) 0:02:04.394 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 04 April 2025 21:44:13 -0400 (0:00:00.111) 0:02:04.505 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 04 April 2025 21:44:14 -0400 (0:00:00.101) 0:02:04.607 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 04 April 2025 21:44:14 -0400 (0:00:00.098) 0:02:04.705 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 04 April 2025 21:44:14 -0400 (0:00:00.099) 0:02:04.805 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 04 April 2025 21:44:14 -0400 (0:00:00.100) 0:02:04.905 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 04 April 2025 21:44:14 -0400 (0:00:00.103) 0:02:05.009 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 04 April 2025 21:44:14 -0400 (0:00:00.100) 0:02:05.110 ********** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 04 April 2025 21:44:16 -0400 (0:00:01.537) 0:02:06.648 ********** ok: [managed-node2] => (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-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 04 April 2025 21:44:16 -0400 (0:00:00.275) 0:02:06.923 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 04 April 2025 21:44:16 -0400 (0:00:00.105) 0:02:07.028 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 04 April 2025 21:44:16 -0400 (0:00:00.116) 0:02:07.144 ********** skipping: [managed-node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 04 April 2025 21:44:16 -0400 (0:00:00.187) 0:02:07.332 ********** ok: [managed-node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 04 April 2025 21:44:17 -0400 (0:00:00.561) 0:02:07.893 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 04 April 2025 21:44:17 -0400 (0:00:00.082) 0:02:07.976 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 04 April 2025 21:44:17 -0400 (0:00:00.070) 0:02:08.046 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 04 April 2025 21:44:17 -0400 (0:00:00.098) 0:02:08.145 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 04 April 2025 21:44:17 -0400 (0:00:00.108) 0:02:08.253 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 04 April 2025 21:44:17 -0400 (0:00:00.104) 0:02:08.357 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 04 April 2025 21:44:17 -0400 (0:00:00.111) 0:02:08.468 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 04 April 2025 21:44:18 -0400 (0:00:00.139) 0:02:08.608 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 04 April 2025 21:44:18 -0400 (0:00:00.176) 0:02:08.785 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 04 April 2025 21:44:18 -0400 (0:00:00.645) 0:02:09.431 ********** ok: [managed-node2] => { "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 : Check if the errorlog file exists and its location] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 04 April 2025 21:44:24 -0400 (0:00:05.665) 0:02:15.096 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005925", "end": "2025-04-04 21:44:24.858246", "rc": 0, "start": "2025-04-04 21:44:24.852321" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Friday 04 April 2025 21:44:24 -0400 (0:00:00.403) 0:02:15.499 ********** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Friday 04 April 2025 21:44:25 -0400 (0:00:00.978) 0:02:16.477 ********** ok: [managed-node2] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Friday 04 April 2025 21:44:26 -0400 (0:00:00.138) 0:02:16.615 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Friday 04 April 2025 21:44:26 -0400 (0:00:00.155) 0:02:16.771 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Friday 04 April 2025 21:44:26 -0400 (0:00:00.082) 0:02:16.854 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node2 included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /tmp/mssql_data] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 04 April 2025 21:44:26 -0400 (0:00:00.142) 0:02:16.997 ********** ok: [managed-node2] => { "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] ***** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 04 April 2025 21:44:26 -0400 (0:00:00.373) 0:02:17.370 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 04 April 2025 21:44:26 -0400 (0:00:00.082) 0:02:17.453 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 April 2025 21:44:27 -0400 (0:00:00.121) 0:02:17.574 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003427", "end": "2025-04-04 21:44:27.303463", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:44:27.300036" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 April 2025 21:44:27 -0400 (0:00:00.373) 0:02:17.948 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 April 2025 21:44:27 -0400 (0:00:00.094) 0:02:18.042 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /tmp/mssql_log] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 04 April 2025 21:44:27 -0400 (0:00:00.067) 0:02:18.110 ********** ok: [managed-node2] => { "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] ***** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 04 April 2025 21:44:27 -0400 (0:00:00.363) 0:02:18.473 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 04 April 2025 21:44:28 -0400 (0:00:00.064) 0:02:18.538 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 April 2025 21:44:28 -0400 (0:00:00.116) 0:02:18.654 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003580", "end": "2025-04-04 21:44:28.378960", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:44:28.375380" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 April 2025 21:44:28 -0400 (0:00:00.358) 0:02:19.013 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 April 2025 21:44:28 -0400 (0:00:00.137) 0:02:19.150 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 04 April 2025 21:44:28 -0400 (0:00:00.101) 0:02:19.252 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Friday 04 April 2025 21:44:28 -0400 (0:00:00.083) 0:02:19.335 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Friday 04 April 2025 21:44:28 -0400 (0:00:00.067) 0:02:19.403 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 04 April 2025 21:44:29 -0400 (0:00:00.548) 0:02:19.952 ********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-04 21:15:13 EDT", "ActiveEnterTimestampMonotonic": "13607324", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket dbus.service systemd-sysctl.service basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-04 21:15:12 EDT", "AssertTimestampMonotonic": "13086023", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-04 21:15:12 EDT", "ConditionTimestampMonotonic": "13086021", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "875", "ExecMainStartTimestamp": "Fri 2025-04-04 21:15:12 EDT", "ExecMainStartTimestampMonotonic": "13086489", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2025-04-04 21:15:12 EDT", "InactiveExitTimestampMonotonic": "13086525", "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": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "875", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service basic.target system.slice dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-04-04 21:15:13 EDT", "WatchdogTimestampMonotonic": "13606493", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Friday 04 April 2025 21:44:29 -0400 (0:00:00.432) 0:02:20.384 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.087848", "end": "2025-04-04 21:44:30.185841", "rc": 0, "start": "2025-04-04 21:44:30.097993" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Friday 04 April 2025 21:44:30 -0400 (0:00:00.419) 0:02:20.803 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Friday 04 April 2025 21:44:30 -0400 (0:00:00.064) 0:02:20.868 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 04 April 2025 21:44:30 -0400 (0:00:00.064) 0:02:20.933 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Friday 04 April 2025 21:44:30 -0400 (0:00:00.064) 0:02:20.998 ********** ok: [managed-node2] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Friday 04 April 2025 21:44:30 -0400 (0:00:00.332) 0:02:21.330 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 04 April 2025 21:44:30 -0400 (0:00:00.062) 0:02:21.393 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-tools18-18.4.1.1-1.x86_64 providing mssql-tools18 is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools18 unixODBC-devel TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Friday 04 April 2025 21:44:31 -0400 (0:00:00.535) 0:02:21.928 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Friday 04 April 2025 21:44:31 -0400 (0:00:00.115) 0:02:22.044 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 04 April 2025 21:44:31 -0400 (0:00:00.065) 0:02:22.109 ********** skipping: [managed-node2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (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] ********* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 04 April 2025 21:44:31 -0400 (0:00:00.069) 0:02:22.179 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 04 April 2025 21:44:31 -0400 (0:00:00.063) 0:02:22.243 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 04 April 2025 21:44:31 -0400 (0:00:00.062) 0:02:22.305 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 04 April 2025 21:44:31 -0400 (0:00:00.064) 0:02:22.370 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the setting forceencryption] ******* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 04 April 2025 21:44:31 -0400 (0:00:00.062) 0:02:22.432 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.004417", "end": "2025-04-04 21:44:32.150764", "failed_when_result": false, "rc": 1, "start": "2025-04-04 21:44:32.146347" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 04 April 2025 21:44:32 -0400 (0:00:00.337) 0:02:22.769 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Append -C to sqlcmd when TLS is configured but certs are self-signed] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 04 April 2025 21:44:32 -0400 (0:00:00.068) 0:02:22.838 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Friday 04 April 2025 21:44:32 -0400 (0:00:00.067) 0:02:22.905 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 04 April 2025 21:44:32 -0400 (0:00:00.116) 0:02:23.022 ********** ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-04 21:44:09 EDT", "ActiveEnterTimestampMonotonic": "1748051487", "ActiveExitTimestamp": "Fri 2025-04-04 21:44:08 EDT", "ActiveExitTimestampMonotonic": "1747186915", "ActiveState": "active", "After": "system.slice systemd-journald.socket auditd.service -.mount basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-04 21:44:09 EDT", "AssertTimestampMonotonic": "1748050695", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-04 21:44:09 EDT", "ConditionTimestampMonotonic": "1748050694", "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": "15968", "ExecMainStartTimestamp": "Fri 2025-04-04 21:44:09 EDT", "ExecMainStartTimestampMonotonic": "1748051433", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2025-04-04 21:44:09 EDT", "InactiveEnterTimestampMonotonic": "1748048789", "InactiveExitTimestamp": "Fri 2025-04-04 21:44:09 EDT", "InactiveExitTimestampMonotonic": "1748051487", "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": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "15968", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-04-04 21:44:09 EDT", "WatchdogTimestampMonotonic": "1748051470", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 04 April 2025 21:44:32 -0400 (0:00:00.427) 0:02:23.449 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003384", "end": "2025-04-04 21:44:33.163491", "failed_when_result": false, "rc": 1, "start": "2025-04-04 21:44:33.160107" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 04 April 2025 21:44:33 -0400 (0:00:00.327) 0:02:23.777 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003029", "end": "2025-04-04 21:44:33.499250", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:44:33.496221" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 04 April 2025 21:44:33 -0400 (0:00:00.362) 0:02:24.140 ********** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Friday 04 April 2025 21:44:33 -0400 (0:00:00.210) 0:02:24.350 ********** ok: [managed-node2] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7454, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Friday 04 April 2025 21:44:35 -0400 (0:00:01.546) 0:02:25.896 ********** ok: [managed-node2] => { "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] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Friday 04 April 2025 21:44:35 -0400 (0:00:00.389) 0:02:26.286 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 04 April 2025 21:44:35 -0400 (0:00:00.113) 0:02:26.400 ********** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Friday 04 April 2025 21:44:37 -0400 (0:00:01.227) 0:02:27.627 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 04 April 2025 21:44:37 -0400 (0:00:00.118) 0:02:27.746 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Friday 04 April 2025 21:44:37 -0400 (0:00:00.101) 0:02:27.848 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 04 April 2025 21:44:37 -0400 (0:00:00.180) 0:02:28.028 ********** ok: [managed-node2] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.004827", "end": "2025-04-04 21:44:37.781735", "rc": 0, "start": "2025-04-04 21:44:37.776908" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Friday 04 April 2025 21:44:37 -0400 (0:00:00.400) 0:02:28.428 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Friday 04 April 2025 21:44:37 -0400 (0:00:00.088) 0:02:28.517 ********** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 04 April 2025 21:44:39 -0400 (0:00:01.323) 0:02:29.840 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Friday 04 April 2025 21:44:39 -0400 (0:00:00.109) 0:02:29.950 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network ipaddress] ***** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 April 2025 21:44:39 -0400 (0:00:00.193) 0:02:30.143 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002960", "end": "2025-04-04 21:44:39.884432", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:44:39.881472" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 April 2025 21:44:40 -0400 (0:00:00.392) 0:02:30.536 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network ipaddress] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 April 2025 21:44:40 -0400 (0:00:00.119) 0:02:30.655 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Friday 04 April 2025 21:44:40 -0400 (0:00:00.111) 0:02:30.767 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 04 April 2025 21:44:40 -0400 (0:00:00.107) 0:02:30.874 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1433] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Friday 04 April 2025 21:44:40 -0400 (0:00:00.182) 0:02:31.057 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 April 2025 21:44:40 -0400 (0:00:00.193) 0:02:31.251 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004043", "end": "2025-04-04 21:44:42.002423", "failed_when_result": false, "rc": 1, "start": "2025-04-04 21:44:40.998380" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 April 2025 21:44:42 -0400 (0:00:01.389) 0:02:32.641 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.045621", "end": "2025-04-04 21:44:42.411286", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:44:42.365665" } STDOUT: Validation error on setting 'network.tcpport' Port '1433' is already in use. Please use another port TASK [fedora.linux_system_roles.mssql : Unset the setting network tcpport] ***** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 April 2025 21:44:42 -0400 (0:00:00.397) 0:02:33.038 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Friday 04 April 2025 21:44:42 -0400 (0:00:00.063) 0:02:33.102 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Friday 04 April 2025 21:44:42 -0400 (0:00:00.063) 0:02:33.165 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting sqlagent enabled] ****** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 April 2025 21:44:42 -0400 (0:00:00.122) 0:02:33.287 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003007", "end": "2025-04-04 21:44:43.005118", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:44:43.002111" } STDOUT: enabled = True TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 April 2025 21:44:43 -0400 (0:00:00.367) 0:02:33.654 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting sqlagent enabled] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 April 2025 21:44:43 -0400 (0:00:00.115) 0:02:33.769 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Friday 04 April 2025 21:44:43 -0400 (0:00:00.106) 0:02:33.876 ********** ok: [managed-node2] => { "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] ********* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Friday 04 April 2025 21:44:44 -0400 (0:00:00.713) 0:02:34.589 ********** ok: [managed-node2] => { "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] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 04 April 2025 21:44:44 -0400 (0:00:00.599) 0:02:35.189 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003476", "end": "2025-04-04 21:44:44.940940", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:44:44.937464" } STDOUT: traceflag0 = 3979 TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Friday 04 April 2025 21:44:45 -0400 (0:00:00.408) 0:02:35.597 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 04 April 2025 21:44:45 -0400 (0:00:00.110) 0:02:35.708 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Friday 04 April 2025 21:44:45 -0400 (0:00:00.102) 0:02:35.810 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting control alternatewritethrough] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 April 2025 21:44:45 -0400 (0:00:00.187) 0:02:35.998 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003109", "end": "2025-04-04 21:44:45.722109", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:44:45.719000" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 April 2025 21:44:45 -0400 (0:00:00.340) 0:02:36.339 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control alternatewritethrough] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 April 2025 21:44:45 -0400 (0:00:00.071) 0:02:36.410 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 04 April 2025 21:44:45 -0400 (0:00:00.087) 0:02:36.498 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting control writethrough] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 April 2025 21:44:46 -0400 (0:00:00.175) 0:02:36.674 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002935", "end": "2025-04-04 21:44:46.395901", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:44:46.392966" } STDOUT: writethrough = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 April 2025 21:44:46 -0400 (0:00:00.339) 0:02:37.014 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control writethrough] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 April 2025 21:44:46 -0400 (0:00:00.078) 0:02:37.093 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Friday 04 April 2025 21:44:46 -0400 (0:00:00.105) 0:02:37.198 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Friday 04 April 2025 21:44:46 -0400 (0:00:00.079) 0:02:37.278 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Friday 04 April 2025 21:44:46 -0400 (0:00:00.145) 0:02:37.423 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Friday 04 April 2025 21:44:46 -0400 (0:00:00.072) 0:02:37.496 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Friday 04 April 2025 21:44:47 -0400 (0:00:00.112) 0:02:37.608 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 04 April 2025 21:44:47 -0400 (0:00:00.089) 0:02:37.698 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Friday 04 April 2025 21:44:47 -0400 (0:00:00.085) 0:02:37.784 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 04 April 2025 21:44:47 -0400 (0:00:00.064) 0:02:37.849 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure proper configuration on user] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Friday 04 April 2025 21:44:47 -0400 (0:00:00.066) 0:02:37.915 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Friday 04 April 2025 21:44:47 -0400 (0:00:00.067) 0:02:37.983 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Friday 04 April 2025 21:44:47 -0400 (0:00:00.065) 0:02:38.048 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Friday 04 April 2025 21:44:47 -0400 (0:00:00.064) 0:02:38.113 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Friday 04 April 2025 21:44:47 -0400 (0:00:00.060) 0:02:38.173 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Friday 04 April 2025 21:44:47 -0400 (0:00:00.063) 0:02:38.237 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Friday 04 April 2025 21:44:47 -0400 (0:00:00.062) 0:02:38.299 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 04 April 2025 21:44:47 -0400 (0:00:00.063) 0:02:38.363 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 04 April 2025 21:44:47 -0400 (0:00:00.084) 0:02:38.447 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 04 April 2025 21:44:48 -0400 (0:00:00.105) 0:02:38.553 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Friday 04 April 2025 21:44:48 -0400 (0:00:00.100) 0:02:38.653 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 04 April 2025 21:44:48 -0400 (0:00:00.100) 0:02:38.754 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Friday 04 April 2025 21:44:48 -0400 (0:00:00.098) 0:02:38.853 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Friday 04 April 2025 21:44:48 -0400 (0:00:00.102) 0:02:38.955 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Friday 04 April 2025 21:44:48 -0400 (0:00:00.115) 0:02:39.070 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Friday 04 April 2025 21:44:48 -0400 (0:00:00.188) 0:02:39.259 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Friday 04 April 2025 21:44:48 -0400 (0:00:00.100) 0:02:39.359 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Friday 04 April 2025 21:44:48 -0400 (0:00:00.102) 0:02:39.462 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 04 April 2025 21:44:49 -0400 (0:00:00.083) 0:02:39.546 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 04 April 2025 21:44:49 -0400 (0:00:00.087) 0:02:39.633 ********** skipping: [managed-node2] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Friday 04 April 2025 21:44:49 -0400 (0:00:00.080) 0:02:39.714 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 04 April 2025 21:44:49 -0400 (0:00:00.066) 0:02:39.780 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Friday 04 April 2025 21:44:49 -0400 (0:00:00.065) 0:02:39.846 ********** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 04 April 2025 21:44:49 -0400 (0:00:00.079) 0:02:39.926 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Friday 04 April 2025 21:44:49 -0400 (0:00:00.069) 0:02:39.995 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Friday 04 April 2025 21:44:49 -0400 (0:00:00.062) 0:02:40.058 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 04 April 2025 21:44:49 -0400 (0:00:00.063) 0:02:40.121 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 04 April 2025 21:44:49 -0400 (0:00:00.062) 0:02:40.184 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 04 April 2025 21:44:49 -0400 (0:00:00.064) 0:02:40.248 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Friday 04 April 2025 21:44:49 -0400 (0:00:00.062) 0:02:40.311 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Friday 04 April 2025 21:44:49 -0400 (0:00:00.063) 0:02:40.375 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 04 April 2025 21:44:49 -0400 (0:00:00.066) 0:02:40.441 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Friday 04 April 2025 21:44:49 -0400 (0:00:00.061) 0:02:40.503 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Friday 04 April 2025 21:44:50 -0400 (0:00:00.062) 0:02:40.566 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Friday 04 April 2025 21:44:50 -0400 (0:00:00.061) 0:02:40.628 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Friday 04 April 2025 21:44:50 -0400 (0:00:00.123) 0:02:40.751 ********** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Friday 04 April 2025 21:44:50 -0400 (0:00:00.079) 0:02:40.830 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 04 April 2025 21:44:50 -0400 (0:00:00.065) 0:02:40.896 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Friday 04 April 2025 21:44:50 -0400 (0:00:00.065) 0:02:40.962 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Friday 04 April 2025 21:44:50 -0400 (0:00:00.067) 0:02:41.029 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 04 April 2025 21:44:50 -0400 (0:00:00.066) 0:02:41.095 ********** skipping: [managed-node2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 04 April 2025 21:44:50 -0400 (0:00:00.072) 0:02:41.168 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Friday 04 April 2025 21:44:50 -0400 (0:00:00.063) 0:02:41.232 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Friday 04 April 2025 21:44:50 -0400 (0:00:00.061) 0:02:41.294 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Friday 04 April 2025 21:44:50 -0400 (0:00:00.064) 0:02:41.358 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 04 April 2025 21:44:50 -0400 (0:00:00.063) 0:02:41.422 ********** ok: [managed-node2] => { "changed": false } META: ran handlers TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Friday 04 April 2025 21:44:51 -0400 (0:00:00.476) 0:02:41.898 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Friday 04 April 2025 21:44:51 -0400 (0:00:00.067) 0:02:41.966 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify settings] ********************************************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:38 Friday 04 April 2025 21:44:51 -0400 (0:00:00.072) 0:02:42.039 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node2 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 04 April 2025 21:44:51 -0400 (0:00:00.413) 0:02:42.453 ********** ok: [managed-node2] => { "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.005188", "end": "2025-04-04 21:44:52.167929", "rc": 0, "start": "2025-04-04 21:44:52.162741" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 04 April 2025 21:44:52 -0400 (0:00:00.330) 0:02:42.783 ********** ok: [managed-node2] => { "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.005054", "end": "2025-04-04 21:44:52.500720", "rc": 0, "start": "2025-04-04 21:44:52.495666" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 04 April 2025 21:44:52 -0400 (0:00:00.331) 0:02:43.115 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 04 April 2025 21:44:52 -0400 (0:00:00.072) 0:02:43.187 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting ipaddress] ********************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 April 2025 21:44:52 -0400 (0:00:00.168) 0:02:43.356 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004289", "end": "2025-04-04 21:44:53.074446", "rc": 0, "start": "2025-04-04 21:44:53.070157" } STDOUT: ipaddress = 0.0.0.0 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 April 2025 21:44:53 -0400 (0:00:00.336) 0:02:43.693 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 April 2025 21:44:53 -0400 (0:00:00.081) 0:02:43.774 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 0.0.0.0] ******************************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 April 2025 21:44:53 -0400 (0:00:00.066) 0:02:43.840 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultdatadir] ***************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 April 2025 21:44:53 -0400 (0:00:00.068) 0:02:43.908 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004696", "end": "2025-04-04 21:44:53.628351", "rc": 0, "start": "2025-04-04 21:44:53.623655" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 April 2025 21:44:53 -0400 (0:00:00.338) 0:02:44.247 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 April 2025 21:44:53 -0400 (0:00:00.083) 0:02:44.330 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_data] *********************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 April 2025 21:44:53 -0400 (0:00:00.066) 0:02:44.396 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 April 2025 21:44:53 -0400 (0:00:00.067) 0:02:44.464 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004623", "end": "2025-04-04 21:44:54.183037", "rc": 0, "start": "2025-04-04 21:44:54.178414" } STDOUT: enabled = True TASK [Verify the setting when it is type str enabled] ************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 April 2025 21:44:54 -0400 (0:00:00.401) 0:02:44.865 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool enabled] ************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 April 2025 21:44:54 -0400 (0:00:00.068) 0:02:44.934 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 April 2025 21:44:54 -0400 (0:00:00.116) 0:02:45.051 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 April 2025 21:44:54 -0400 (0:00:00.107) 0:02:45.159 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004021", "end": "2025-04-04 21:44:54.888006", "rc": 0, "start": "2025-04-04 21:44:54.883985" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 April 2025 21:44:54 -0400 (0:00:00.359) 0:02:45.519 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 April 2025 21:44:55 -0400 (0:00:00.125) 0:02:45.644 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_log] ************************************ task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 April 2025 21:44:55 -0400 (0:00:00.087) 0:02:45.732 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 April 2025 21:44:55 -0400 (0:00:00.082) 0:02:45.814 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004115", "end": "2025-04-04 21:44:55.527550", "rc": 0, "start": "2025-04-04 21:44:55.523435" } TASK [Verify the setting when it is type str tcpport] ************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 April 2025 21:44:55 -0400 (0:00:00.385) 0:02:46.199 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool tcpport] ************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 April 2025 21:44:55 -0400 (0:00:00.112) 0:02:46.312 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1433] ********************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 April 2025 21:44:55 -0400 (0:00:00.108) 0:02:46.420 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 04 April 2025 21:44:55 -0400 (0:00:00.097) 0:02:46.518 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 04 April 2025 21:44:56 -0400 (0:00:00.080) 0:02:46.599 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 04 April 2025 21:44:56 -0400 (0:00:00.065) 0:02:46.664 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 04 April 2025 21:44:56 -0400 (0:00:00.076) 0:02:46.741 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 04 April 2025 21:44:56 -0400 (0:00:00.099) 0:02:46.840 ********** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 04 April 2025 21:44:56 -0400 (0:00:00.286) 0:02:47.126 ********** ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-04 21:44:09 EDT", "ActiveEnterTimestampMonotonic": "1748051487", "ActiveExitTimestamp": "Fri 2025-04-04 21:44:08 EDT", "ActiveExitTimestampMonotonic": "1747186915", "ActiveState": "active", "After": "system.slice systemd-journald.socket auditd.service -.mount basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-04 21:44:09 EDT", "AssertTimestampMonotonic": "1748050695", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-04 21:44:09 EDT", "ConditionTimestampMonotonic": "1748050694", "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": "15968", "ExecMainStartTimestamp": "Fri 2025-04-04 21:44:09 EDT", "ExecMainStartTimestampMonotonic": "1748051433", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2025-04-04 21:44:09 EDT", "InactiveEnterTimestampMonotonic": "1748048789", "InactiveExitTimestamp": "Fri 2025-04-04 21:44:09 EDT", "InactiveExitTimestampMonotonic": "1748051487", "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": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "15968", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-04-04 21:44:09 EDT", "WatchdogTimestampMonotonic": "1748051470", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 04 April 2025 21:44:57 -0400 (0:00:00.456) 0:02:47.583 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002978", "end": "2025-04-04 21:44:57.320947", "failed_when_result": false, "rc": 1, "start": "2025-04-04 21:44:57.317969" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 04 April 2025 21:44:57 -0400 (0:00:00.410) 0:02:47.993 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003001", "end": "2025-04-04 21:44:57.756161", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:44:57.753160" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 04 April 2025 21:44:57 -0400 (0:00:00.403) 0:02:48.397 ********** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 04 April 2025 21:44:57 -0400 (0:00:00.096) 0:02:48.494 ********** ok: [managed-node2] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7454, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 04 April 2025 21:44:59 -0400 (0:00:01.399) 0:02:49.893 ********** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools18/bin/sqlcmd", "-No", "-S", "0.0.0.0", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.021466", "end": "2025-04-04 21:44:59.680491", "rc": 0, "start": "2025-04-04 21:44:59.659025" } 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] ************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 04 April 2025 21:44:59 -0400 (0:00:00.445) 0:02:50.339 ********** ok: [managed-node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 04 April 2025 21:44:59 -0400 (0:00:00.084) 0:02:50.424 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml for managed-node2 TASK [Gather package facts] **************************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 Friday 04 April 2025 21:45:00 -0400 (0:00:00.125) 0:02:50.550 ********** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed mssql-server-fts] ********************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:12 Friday 04 April 2025 21:45:01 -0400 (0:00:01.274) 0:02:51.824 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:17 Friday 04 April 2025 21:45:01 -0400 (0:00:00.097) 0:02:51.921 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 04 April 2025 21:45:01 -0400 (0:00:00.066) 0:02:51.987 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml for managed-node2 TASK [Gather package facts] **************************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 Friday 04 April 2025 21:45:01 -0400 (0:00:00.116) 0:02:52.104 ********** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed powershell] *************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:12 Friday 04 April 2025 21:45:02 -0400 (0:00:01.191) 0:02:53.296 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed powershell] *********************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:17 Friday 04 April 2025 21:45:02 -0400 (0:00:00.158) 0:02:53.455 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 04 April 2025 21:45:02 -0400 (0:00:00.065) 0:02:53.520 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004106", "end": "2025-04-04 21:45:03.239317", "rc": 0, "start": "2025-04-04 21:45:03.235211" } STDOUT: traceflag0 = 3979 TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 04 April 2025 21:45:03 -0400 (0:00:00.334) 0:02:53.855 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 04 April 2025 21:45:03 -0400 (0:00:00.072) 0:02:53.928 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 04 April 2025 21:45:03 -0400 (0:00:00.066) 0:02:53.995 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting alternatewritethrough] ********************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 April 2025 21:45:03 -0400 (0:00:00.115) 0:02:54.110 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004585", "end": "2025-04-04 21:45:03.837880", "rc": 0, "start": "2025-04-04 21:45:03.833295" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 April 2025 21:45:03 -0400 (0:00:00.345) 0:02:54.455 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool alternatewritethrough] *********** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 April 2025 21:45:03 -0400 (0:00:00.068) 0:02:54.523 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 April 2025 21:45:04 -0400 (0:00:00.077) 0:02:54.601 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 04 April 2025 21:45:04 -0400 (0:00:00.066) 0:02:54.667 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting writethrough] ******************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 April 2025 21:45:04 -0400 (0:00:00.117) 0:02:54.784 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004793", "end": "2025-04-04 21:45:09.537927", "rc": 0, "start": "2025-04-04 21:45:09.533134" } STDOUT: writethrough = 1 TASK [Verify the setting when it is type str writethrough] ********************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 April 2025 21:45:09 -0400 (0:00:05.411) 0:03:00.196 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool writethrough] ******************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 April 2025 21:45:09 -0400 (0:00:00.110) 0:03:00.307 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 April 2025 21:45:09 -0400 (0:00:00.134) 0:03:00.442 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 04 April 2025 21:45:10 -0400 (0:00:00.111) 0:03:00.553 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 04 April 2025 21:45:10 -0400 (0:00:00.103) 0:03:00.657 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 04 April 2025 21:45:10 -0400 (0:00:00.107) 0:03:00.765 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 04 April 2025 21:45:10 -0400 (0:00:00.104) 0:03:00.869 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 04 April 2025 21:45:10 -0400 (0:00:00.109) 0:03:00.979 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run to edit settings] **************************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:52 Friday 04 April 2025 21:45:10 -0400 (0:00:00.185) 0:03:01.164 ********** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 04 April 2025 21:45:11 -0400 (0:00:01.243) 0:03:02.408 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 04 April 2025 21:45:12 -0400 (0:00:00.160) 0:03:02.568 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 04 April 2025 21:45:12 -0400 (0:00:00.128) 0:03:02.697 ********** ok: [managed-node2] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 04 April 2025 21:45:12 -0400 (0:00:00.158) 0:03:02.855 ********** ok: [managed-node2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 04 April 2025 21:45:12 -0400 (0:00:00.105) 0:03:02.960 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 04 April 2025 21:45:12 -0400 (0:00:00.102) 0:03:03.062 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 04 April 2025 21:45:12 -0400 (0:00:00.104) 0:03:03.167 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 04 April 2025 21:45:12 -0400 (0:00:00.207) 0:03:03.374 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 04 April 2025 21:45:12 -0400 (0:00:00.109) 0:03:03.484 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 04 April 2025 21:45:13 -0400 (0:00:00.106) 0:03:03.591 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 04 April 2025 21:45:13 -0400 (0:00:00.101) 0:03:03.693 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 04 April 2025 21:45:13 -0400 (0:00:00.107) 0:03:03.800 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that variable is deprecated] ***** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 04 April 2025 21:45:13 -0400 (0:00:00.106) 0:03:03.907 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 04 April 2025 21:45:13 -0400 (0:00:00.107) 0:03:04.015 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 04 April 2025 21:45:13 -0400 (0:00:00.104) 0:03:04.119 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 04 April 2025 21:45:13 -0400 (0:00:00.112) 0:03:04.232 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 04 April 2025 21:45:13 -0400 (0:00:00.118) 0:03:04.351 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 04 April 2025 21:45:13 -0400 (0:00:00.108) 0:03:04.460 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 04 April 2025 21:45:14 -0400 (0:00:00.103) 0:03:04.563 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 04 April 2025 21:45:14 -0400 (0:00:00.105) 0:03:04.668 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 04 April 2025 21:45:14 -0400 (0:00:00.096) 0:03:04.765 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 04 April 2025 21:45:14 -0400 (0:00:00.112) 0:03:04.878 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 04 April 2025 21:45:14 -0400 (0:00:00.111) 0:03:04.989 ********** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 04 April 2025 21:45:15 -0400 (0:00:01.420) 0:03:06.410 ********** ok: [managed-node2] => (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-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 04 April 2025 21:45:16 -0400 (0:00:00.178) 0:03:06.589 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 04 April 2025 21:45:16 -0400 (0:00:00.065) 0:03:06.654 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 04 April 2025 21:45:16 -0400 (0:00:00.083) 0:03:06.738 ********** skipping: [managed-node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 04 April 2025 21:45:16 -0400 (0:00:00.191) 0:03:06.929 ********** ok: [managed-node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 04 April 2025 21:45:16 -0400 (0:00:00.594) 0:03:07.523 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 04 April 2025 21:45:17 -0400 (0:00:00.114) 0:03:07.638 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 04 April 2025 21:45:17 -0400 (0:00:00.107) 0:03:07.746 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 04 April 2025 21:45:17 -0400 (0:00:00.095) 0:03:07.841 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 04 April 2025 21:45:17 -0400 (0:00:00.083) 0:03:07.925 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 04 April 2025 21:45:17 -0400 (0:00:00.077) 0:03:08.002 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 04 April 2025 21:45:17 -0400 (0:00:00.066) 0:03:08.069 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 04 April 2025 21:45:17 -0400 (0:00:00.088) 0:03:08.157 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 04 April 2025 21:45:17 -0400 (0:00:00.068) 0:03:08.225 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 04 April 2025 21:45:18 -0400 (0:00:00.704) 0:03:08.930 ********** ok: [managed-node2] => { "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 : Check if the errorlog file exists and its location] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 04 April 2025 21:45:19 -0400 (0:00:00.616) 0:03:09.547 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005093", "end": "2025-04-04 21:45:24.328004", "rc": 0, "start": "2025-04-04 21:45:24.322911" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Friday 04 April 2025 21:45:24 -0400 (0:00:05.400) 0:03:14.947 ********** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Friday 04 April 2025 21:45:25 -0400 (0:00:00.896) 0:03:15.844 ********** ok: [managed-node2] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Friday 04 April 2025 21:45:25 -0400 (0:00:00.087) 0:03:15.931 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Friday 04 April 2025 21:45:25 -0400 (0:00:00.064) 0:03:15.996 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Friday 04 April 2025 21:45:25 -0400 (0:00:00.065) 0:03:16.062 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node2 included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /var/opt/mssql/data] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 04 April 2025 21:45:25 -0400 (0:00:00.136) 0:03:16.199 ********** ok: [managed-node2] => { "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] ***** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 04 April 2025 21:45:26 -0400 (0:00:00.394) 0:03:16.593 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 04 April 2025 21:45:26 -0400 (0:00:00.118) 0:03:16.711 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 April 2025 21:45:26 -0400 (0:00:00.288) 0:03:17.000 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002973", "end": "2025-04-04 21:45:26.768502", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:45:26.765529" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 April 2025 21:45:26 -0400 (0:00:00.396) 0:03:17.396 ********** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node2 changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultdatadir", "/var/opt/mssql/data" ], "delta": "0:00:00.047379", "end": "2025-04-04 21:45:27.190962", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:45:27.143583" } 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] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 April 2025 21:45:27 -0400 (0:00:00.450) 0:03:17.847 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /var/opt/mssql/log] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 04 April 2025 21:45:27 -0400 (0:00:00.088) 0:03:17.935 ********** ok: [managed-node2] => { "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] ***** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 04 April 2025 21:45:27 -0400 (0:00:00.390) 0:03:18.326 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 04 April 2025 21:45:27 -0400 (0:00:00.091) 0:03:18.417 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 April 2025 21:45:28 -0400 (0:00:00.129) 0:03:18.547 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003540", "end": "2025-04-04 21:45:28.285773", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:45:28.282233" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 April 2025 21:45:28 -0400 (0:00:00.405) 0:03:18.952 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/var/opt/mssql/log" ], "delta": "0:00:00.048549", "end": "2025-04-04 21:45:28.772604", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:45:28.724055" } 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] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 April 2025 21:45:28 -0400 (0:00:00.483) 0:03:19.436 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 04 April 2025 21:45:29 -0400 (0:00:00.107) 0:03:19.544 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Friday 04 April 2025 21:45:29 -0400 (0:00:00.103) 0:03:19.648 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Friday 04 April 2025 21:45:29 -0400 (0:00:00.091) 0:03:19.740 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 04 April 2025 21:45:29 -0400 (0:00:00.710) 0:03:20.451 ********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-04 21:15:13 EDT", "ActiveEnterTimestampMonotonic": "13607324", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket dbus.service systemd-sysctl.service basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-04 21:15:12 EDT", "AssertTimestampMonotonic": "13086023", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-04 21:15:12 EDT", "ConditionTimestampMonotonic": "13086021", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "875", "ExecMainStartTimestamp": "Fri 2025-04-04 21:15:12 EDT", "ExecMainStartTimestampMonotonic": "13086489", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2025-04-04 21:15:12 EDT", "InactiveExitTimestampMonotonic": "13086525", "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": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "875", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service basic.target system.slice dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-04-04 21:15:13 EDT", "WatchdogTimestampMonotonic": "13606493", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Friday 04 April 2025 21:45:30 -0400 (0:00:00.512) 0:03:20.963 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.083390", "end": "2025-04-04 21:45:30.775743", "rc": 0, "start": "2025-04-04 21:45:30.692353" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Friday 04 April 2025 21:45:30 -0400 (0:00:00.481) 0:03:21.444 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Friday 04 April 2025 21:45:31 -0400 (0:00:00.108) 0:03:21.552 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 04 April 2025 21:45:31 -0400 (0:00:00.115) 0:03:21.668 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Friday 04 April 2025 21:45:31 -0400 (0:00:00.120) 0:03:21.788 ********** ok: [managed-node2] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Friday 04 April 2025 21:45:31 -0400 (0:00:00.386) 0:03:22.175 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 04 April 2025 21:45:31 -0400 (0:00:00.097) 0:03:22.272 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-tools18-18.4.1.1-1.x86_64 providing mssql-tools18 is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools18 unixODBC-devel TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Friday 04 April 2025 21:45:32 -0400 (0:00:00.597) 0:03:22.870 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Friday 04 April 2025 21:45:32 -0400 (0:00:00.065) 0:03:22.935 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 04 April 2025 21:45:32 -0400 (0:00:00.088) 0:03:23.023 ********** skipping: [managed-node2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (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] ********* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 04 April 2025 21:45:32 -0400 (0:00:00.119) 0:03:23.143 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 04 April 2025 21:45:32 -0400 (0:00:00.102) 0:03:23.245 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 04 April 2025 21:45:32 -0400 (0:00:00.074) 0:03:23.320 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 04 April 2025 21:45:32 -0400 (0:00:00.064) 0:03:23.384 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the setting forceencryption] ******* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 04 April 2025 21:45:33 -0400 (0:00:00.148) 0:03:23.533 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.004429", "end": "2025-04-04 21:45:33.258825", "failed_when_result": false, "rc": 1, "start": "2025-04-04 21:45:33.254396" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 04 April 2025 21:45:33 -0400 (0:00:00.344) 0:03:23.877 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Append -C to sqlcmd when TLS is configured but certs are self-signed] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 04 April 2025 21:45:33 -0400 (0:00:00.070) 0:03:23.947 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Friday 04 April 2025 21:45:33 -0400 (0:00:00.069) 0:03:24.016 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 04 April 2025 21:45:33 -0400 (0:00:00.122) 0:03:24.139 ********** ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-04 21:44:09 EDT", "ActiveEnterTimestampMonotonic": "1748051487", "ActiveExitTimestamp": "Fri 2025-04-04 21:44:08 EDT", "ActiveExitTimestampMonotonic": "1747186915", "ActiveState": "active", "After": "system.slice systemd-journald.socket auditd.service -.mount basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-04 21:44:09 EDT", "AssertTimestampMonotonic": "1748050695", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-04 21:44:09 EDT", "ConditionTimestampMonotonic": "1748050694", "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": "15968", "ExecMainStartTimestamp": "Fri 2025-04-04 21:44:09 EDT", "ExecMainStartTimestampMonotonic": "1748051433", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2025-04-04 21:44:09 EDT", "InactiveEnterTimestampMonotonic": "1748048789", "InactiveExitTimestamp": "Fri 2025-04-04 21:44:09 EDT", "InactiveExitTimestampMonotonic": "1748051487", "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": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "15968", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-04-04 21:44:09 EDT", "WatchdogTimestampMonotonic": "1748051470", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 04 April 2025 21:45:34 -0400 (0:00:00.440) 0:03:24.579 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003614", "end": "2025-04-04 21:45:34.318009", "failed_when_result": false, "rc": 1, "start": "2025-04-04 21:45:34.314395" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 04 April 2025 21:45:34 -0400 (0:00:00.358) 0:03:24.937 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003162", "end": "2025-04-04 21:45:34.664700", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:45:34.661538" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 04 April 2025 21:45:34 -0400 (0:00:00.344) 0:03:25.282 ********** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Friday 04 April 2025 21:45:34 -0400 (0:00:00.083) 0:03:25.366 ********** ok: [managed-node2] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7454, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Friday 04 April 2025 21:45:36 -0400 (0:00:01.415) 0:03:26.782 ********** fatal: [managed-node2]: 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] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Friday 04 April 2025 21:45:36 -0400 (0:00:00.368) 0:03:27.150 ********** changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Fri 2025-04-04 21:44:09 EDT", "ActiveEnterTimestampMonotonic": "1748051487", "ActiveExitTimestamp": "Fri 2025-04-04 21:44:08 EDT", "ActiveExitTimestampMonotonic": "1747186915", "ActiveState": "active", "After": "system.slice systemd-journald.socket auditd.service -.mount basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-04 21:44:09 EDT", "AssertTimestampMonotonic": "1748050695", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-04 21:44:09 EDT", "ConditionTimestampMonotonic": "1748050694", "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": "15968", "ExecMainStartTimestamp": "Fri 2025-04-04 21:44:09 EDT", "ExecMainStartTimestampMonotonic": "1748051433", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2025-04-04 21:44:09 EDT", "InactiveEnterTimestampMonotonic": "1748048789", "InactiveExitTimestamp": "Fri 2025-04-04 21:44:09 EDT", "InactiveExitTimestampMonotonic": "1748051487", "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": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "15968", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-04-04 21:44:09 EDT", "WatchdogTimestampMonotonic": "1748051470", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 04 April 2025 21:45:37 -0400 (0:00:00.673) 0:03:27.824 ********** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Friday 04 April 2025 21:45:38 -0400 (0:00:01.194) 0:03:29.018 ********** changed: [managed-node2] => { "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] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 04 April 2025 21:45:43 -0400 (0:00:04.907) 0:03:33.926 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Friday 04 April 2025 21:45:43 -0400 (0:00:00.109) 0:03:34.035 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 04 April 2025 21:45:43 -0400 (0:00:00.106) 0:03:34.141 ********** ok: [managed-node2] => { "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.005334", "end": "2025-04-04 21:45:43.926460", "rc": 0, "start": "2025-04-04 21:45:43.921126" } STDOUT: false TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Friday 04 April 2025 21:45:44 -0400 (0:00:00.444) 0:03:34.585 ********** ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Fri 2025-04-04 21:44:09 EDT", "ActiveEnterTimestampMonotonic": "1748051487", "ActiveExitTimestamp": "Fri 2025-04-04 21:45:36 EDT", "ActiveExitTimestampMonotonic": "1835914840", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket auditd.service -.mount basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-04 21:44:09 EDT", "AssertTimestampMonotonic": "1748050695", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-04 21:44:09 EDT", "ConditionTimestampMonotonic": "1748050694", "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": "Fri 2025-04-04 21:45:37 EDT", "ExecMainExitTimestampMonotonic": "1836130674", "ExecMainPID": "15968", "ExecMainStartTimestamp": "Fri 2025-04-04 21:44:09 EDT", "ExecMainStartTimestampMonotonic": "1748051433", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2025-04-04 21:44:09 EDT] ; stop_time=[Fri 2025-04-04 21:45:37 EDT] ; pid=15968 ; 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": "Fri 2025-04-04 21:45:37 EDT", "InactiveEnterTimestampMonotonic": "1836130763", "InactiveExitTimestamp": "Fri 2025-04-04 21:44:09 EDT", "InactiveExitTimestampMonotonic": "1748051487", "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": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Friday 04 April 2025 21:45:44 -0400 (0:00:00.560) 0:03:35.145 ********** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 04 April 2025 21:45:46 -0400 (0:00:01.502) 0:03:36.647 ********** changed: [managed-node2] => { "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] ****** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Friday 04 April 2025 21:45:51 -0400 (0:00:04.973) 0:03:41.620 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network ipaddress] ***** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 April 2025 21:45:51 -0400 (0:00:00.137) 0:03:41.757 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003223", "end": "2025-04-04 21:45:51.501273", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:45:51.498050" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 April 2025 21:45:51 -0400 (0:00:00.368) 0:03:42.126 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "127.0.0.1" ], "delta": "0:00:00.047050", "end": "2025-04-04 21:45:51.911208", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:45:51.864158" } 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] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 April 2025 21:45:52 -0400 (0:00:00.454) 0:03:42.581 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Friday 04 April 2025 21:45:52 -0400 (0:00:00.099) 0:03:42.680 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 04 April 2025 21:45:52 -0400 (0:00:00.083) 0:03:42.764 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1435] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Friday 04 April 2025 21:45:52 -0400 (0:00:00.150) 0:03:42.915 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 April 2025 21:45:52 -0400 (0:00:00.184) 0:03:43.099 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003662", "end": "2025-04-04 21:45:52.863687", "failed_when_result": false, "rc": 1, "start": "2025-04-04 21:45:52.860025" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 April 2025 21:45:53 -0400 (0:00:00.429) 0:03:43.528 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1435" ], "delta": "0:00:00.048186", "end": "2025-04-04 21:45:53.342893", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:45:53.294707" } 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] ***** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 April 2025 21:45:53 -0400 (0:00:00.444) 0:03:43.973 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Friday 04 April 2025 21:45:53 -0400 (0:00:00.066) 0:03:44.040 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Friday 04 April 2025 21:45:53 -0400 (0:00:00.068) 0:03:44.108 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting sqlagent enabled] ****** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 April 2025 21:45:53 -0400 (0:00:00.123) 0:03:44.231 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003096", "end": "2025-04-04 21:45:53.951059", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:45:53.947963" } STDOUT: enabled = True TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 April 2025 21:45:54 -0400 (0:00:00.338) 0:03:44.569 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "False" ], "delta": "0:00:00.047410", "end": "2025-04-04 21:45:54.425365", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:45:54.377955" } 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] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 April 2025 21:45:54 -0400 (0:00:00.549) 0:03:45.119 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Friday 04 April 2025 21:45:54 -0400 (0:00:00.107) 0:03:45.227 ********** changed: [managed-node2] => { "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] ********* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Friday 04 April 2025 21:45:56 -0400 (0:00:01.626) 0:03:46.853 ********** changed: [managed-node2] => { "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] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 04 April 2025 21:45:57 -0400 (0:00:01.457) 0:03:48.311 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003349", "end": "2025-04-04 21:45:58.036031", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:45:58.032682" } STDOUT: traceflag0 = 3979 TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Friday 04 April 2025 21:45:58 -0400 (0:00:00.380) 0:03:48.691 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 04 April 2025 21:45:58 -0400 (0:00:00.085) 0:03:48.776 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "off" ], "delta": "0:00:00.047576", "end": "2025-04-04 21:45:58.557148", "rc": 0, "start": "2025-04-04 21:45:58.509572" } 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] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Friday 04 April 2025 21:45:58 -0400 (0:00:00.445) 0:03:49.222 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting control alternatewritethrough] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 April 2025 21:45:58 -0400 (0:00:00.198) 0:03:49.420 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003186", "end": "2025-04-04 21:45:59.209832", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:45:59.206646" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 April 2025 21:45:59 -0400 (0:00:00.438) 0:03:49.858 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control alternatewritethrough] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 April 2025 21:45:59 -0400 (0:00:00.090) 0:03:49.949 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 04 April 2025 21:45:59 -0400 (0:00:00.070) 0:03:50.020 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting control writethrough] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 April 2025 21:45:59 -0400 (0:00:00.293) 0:03:50.313 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003132", "end": "2025-04-04 21:46:00.075188", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:46:00.072056" } STDOUT: writethrough = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 April 2025 21:46:00 -0400 (0:00:00.425) 0:03:50.739 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "0" ], "delta": "0:00:00.048372", "end": "2025-04-04 21:46:00.571870", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:46:00.523498" } 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] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 April 2025 21:46:00 -0400 (0:00:00.483) 0:03:51.223 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Friday 04 April 2025 21:46:00 -0400 (0:00:00.070) 0:03:51.294 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Friday 04 April 2025 21:46:00 -0400 (0:00:00.093) 0:03:51.387 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Friday 04 April 2025 21:46:00 -0400 (0:00:00.103) 0:03:51.491 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Friday 04 April 2025 21:46:01 -0400 (0:00:00.103) 0:03:51.595 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Friday 04 April 2025 21:46:01 -0400 (0:00:00.084) 0:03:51.679 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 04 April 2025 21:46:01 -0400 (0:00:00.087) 0:03:51.767 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Friday 04 April 2025 21:46:01 -0400 (0:00:00.068) 0:03:51.835 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 04 April 2025 21:46:01 -0400 (0:00:00.103) 0:03:51.939 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure proper configuration on user] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Friday 04 April 2025 21:46:01 -0400 (0:00:00.112) 0:03:52.051 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Friday 04 April 2025 21:46:01 -0400 (0:00:00.103) 0:03:52.155 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Friday 04 April 2025 21:46:01 -0400 (0:00:00.112) 0:03:52.268 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Friday 04 April 2025 21:46:01 -0400 (0:00:00.093) 0:03:52.361 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Friday 04 April 2025 21:46:01 -0400 (0:00:00.091) 0:03:52.452 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Friday 04 April 2025 21:46:01 -0400 (0:00:00.069) 0:03:52.522 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Friday 04 April 2025 21:46:02 -0400 (0:00:00.066) 0:03:52.589 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 04 April 2025 21:46:02 -0400 (0:00:00.065) 0:03:52.655 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 04 April 2025 21:46:02 -0400 (0:00:00.161) 0:03:52.816 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 04 April 2025 21:46:02 -0400 (0:00:00.105) 0:03:52.922 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Friday 04 April 2025 21:46:02 -0400 (0:00:00.108) 0:03:53.031 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 04 April 2025 21:46:02 -0400 (0:00:00.106) 0:03:53.137 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Friday 04 April 2025 21:46:02 -0400 (0:00:00.109) 0:03:53.247 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Friday 04 April 2025 21:46:02 -0400 (0:00:00.107) 0:03:53.354 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Friday 04 April 2025 21:46:02 -0400 (0:00:00.107) 0:03:53.461 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Friday 04 April 2025 21:46:03 -0400 (0:00:00.104) 0:03:53.566 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Friday 04 April 2025 21:46:03 -0400 (0:00:00.105) 0:03:53.672 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Friday 04 April 2025 21:46:03 -0400 (0:00:00.082) 0:03:53.754 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 04 April 2025 21:46:03 -0400 (0:00:00.085) 0:03:53.840 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 04 April 2025 21:46:03 -0400 (0:00:00.069) 0:03:53.910 ********** skipping: [managed-node2] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Friday 04 April 2025 21:46:03 -0400 (0:00:00.080) 0:03:53.991 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 04 April 2025 21:46:03 -0400 (0:00:00.068) 0:03:54.059 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Friday 04 April 2025 21:46:03 -0400 (0:00:00.065) 0:03:54.125 ********** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 04 April 2025 21:46:03 -0400 (0:00:00.118) 0:03:54.243 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Friday 04 April 2025 21:46:03 -0400 (0:00:00.105) 0:03:54.349 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Friday 04 April 2025 21:46:03 -0400 (0:00:00.107) 0:03:54.456 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 04 April 2025 21:46:04 -0400 (0:00:00.102) 0:03:54.558 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 04 April 2025 21:46:04 -0400 (0:00:00.104) 0:03:54.663 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 04 April 2025 21:46:04 -0400 (0:00:00.101) 0:03:54.765 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Friday 04 April 2025 21:46:04 -0400 (0:00:00.205) 0:03:54.970 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Friday 04 April 2025 21:46:04 -0400 (0:00:00.084) 0:03:55.055 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 04 April 2025 21:46:04 -0400 (0:00:00.068) 0:03:55.124 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Friday 04 April 2025 21:46:04 -0400 (0:00:00.065) 0:03:55.190 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Friday 04 April 2025 21:46:04 -0400 (0:00:00.067) 0:03:55.258 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Friday 04 April 2025 21:46:04 -0400 (0:00:00.066) 0:03:55.325 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Friday 04 April 2025 21:46:04 -0400 (0:00:00.069) 0:03:55.394 ********** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Friday 04 April 2025 21:46:04 -0400 (0:00:00.084) 0:03:55.478 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 04 April 2025 21:46:05 -0400 (0:00:00.094) 0:03:55.572 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Friday 04 April 2025 21:46:05 -0400 (0:00:00.106) 0:03:55.679 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Friday 04 April 2025 21:46:05 -0400 (0:00:00.102) 0:03:55.781 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 04 April 2025 21:46:05 -0400 (0:00:00.100) 0:03:55.882 ********** skipping: [managed-node2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 04 April 2025 21:46:05 -0400 (0:00:00.119) 0:03:56.002 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Friday 04 April 2025 21:46:05 -0400 (0:00:00.106) 0:03:56.108 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Friday 04 April 2025 21:46:05 -0400 (0:00:00.104) 0:03:56.213 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Friday 04 April 2025 21:46:05 -0400 (0:00:00.107) 0:03:56.320 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 04 April 2025 21:46:05 -0400 (0:00:00.114) 0:03:56.434 ********** changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 04 April 2025 21:46:06 -0400 (0:00:00.552) 0:03:56.987 ********** changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-04 21:44:09 EDT", "ActiveEnterTimestampMonotonic": "1748051487", "ActiveExitTimestamp": "Fri 2025-04-04 21:45:36 EDT", "ActiveExitTimestampMonotonic": "1835914840", "ActiveState": "inactive", "After": "system.slice systemd-journald.socket auditd.service -.mount basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-04 21:44:09 EDT", "AssertTimestampMonotonic": "1748050695", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-04 21:44:09 EDT", "ConditionTimestampMonotonic": "1748050694", "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": "Fri 2025-04-04 21:45:37 EDT", "ExecMainExitTimestampMonotonic": "1836130674", "ExecMainPID": "15968", "ExecMainStartTimestamp": "Fri 2025-04-04 21:44:09 EDT", "ExecMainStartTimestampMonotonic": "1748051433", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2025-04-04 21:44:09 EDT] ; stop_time=[Fri 2025-04-04 21:45:37 EDT] ; pid=15968 ; 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": "Fri 2025-04-04 21:45:37 EDT", "InactiveEnterTimestampMonotonic": "1836130763", "InactiveExitTimestamp": "Fri 2025-04-04 21:44:09 EDT", "InactiveExitTimestampMonotonic": "1748051487", "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": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Friday 04 April 2025 21:46:07 -0400 (0:00:00.594) 0:03:57.581 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Friday 04 April 2025 21:46:07 -0400 (0:00:00.066) 0:03:57.648 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run with the edited settings again - should report not changed] ********** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:69 Friday 04 April 2025 21:46:07 -0400 (0:00:00.067) 0:03:57.716 ********** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 04 April 2025 21:46:08 -0400 (0:00:00.998) 0:03:58.714 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 04 April 2025 21:46:08 -0400 (0:00:00.108) 0:03:58.822 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 04 April 2025 21:46:08 -0400 (0:00:00.186) 0:03:59.009 ********** ok: [managed-node2] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node2] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node2] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node2] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 04 April 2025 21:46:08 -0400 (0:00:00.110) 0:03:59.120 ********** ok: [managed-node2] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 04 April 2025 21:46:08 -0400 (0:00:00.070) 0:03:59.190 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 04 April 2025 21:46:08 -0400 (0:00:00.101) 0:03:59.292 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 04 April 2025 21:46:08 -0400 (0:00:00.110) 0:03:59.402 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 04 April 2025 21:46:08 -0400 (0:00:00.112) 0:03:59.515 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 04 April 2025 21:46:09 -0400 (0:00:00.109) 0:03:59.625 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 04 April 2025 21:46:09 -0400 (0:00:00.112) 0:03:59.737 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 04 April 2025 21:46:09 -0400 (0:00:00.114) 0:03:59.852 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 04 April 2025 21:46:09 -0400 (0:00:00.110) 0:03:59.963 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that variable is deprecated] ***** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 04 April 2025 21:46:09 -0400 (0:00:00.097) 0:04:00.060 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 04 April 2025 21:46:09 -0400 (0:00:00.109) 0:04:00.170 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fail on RHEL or CentOS 10 because it's not supported] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 04 April 2025 21:46:09 -0400 (0:00:00.111) 0:04:00.281 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that the user accepts EULA variables] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 04 April 2025 21:46:09 -0400 (0:00:00.116) 0:04:00.397 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 04 April 2025 21:46:09 -0400 (0:00:00.123) 0:04:00.521 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 04 April 2025 21:46:10 -0400 (0:00:00.114) 0:04:00.635 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 04 April 2025 21:46:10 -0400 (0:00:00.107) 0:04:00.742 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 04 April 2025 21:46:10 -0400 (0:00:00.097) 0:04:00.840 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 04 April 2025 21:46:10 -0400 (0:00:00.088) 0:04:00.928 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 04 April 2025 21:46:10 -0400 (0:00:00.081) 0:04:01.009 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 04 April 2025 21:46:10 -0400 (0:00:00.067) 0:04:01.076 ********** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 04 April 2025 21:46:11 -0400 (0:00:01.332) 0:04:02.409 ********** ok: [managed-node2] => (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-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 04 April 2025 21:46:12 -0400 (0:00:00.184) 0:04:02.594 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 04 April 2025 21:46:12 -0400 (0:00:00.068) 0:04:02.662 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 04 April 2025 21:46:12 -0400 (0:00:00.071) 0:04:02.733 ********** skipping: [managed-node2] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 04 April 2025 21:46:12 -0400 (0:00:00.130) 0:04:02.864 ********** ok: [managed-node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 04 April 2025 21:46:12 -0400 (0:00:00.506) 0:04:03.370 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 04 April 2025 21:46:12 -0400 (0:00:00.069) 0:04:03.439 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 04 April 2025 21:46:12 -0400 (0:00:00.071) 0:04:03.510 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 04 April 2025 21:46:13 -0400 (0:00:00.072) 0:04:03.583 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 04 April 2025 21:46:13 -0400 (0:00:00.068) 0:04:03.652 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 04 April 2025 21:46:13 -0400 (0:00:00.068) 0:04:03.720 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 04 April 2025 21:46:13 -0400 (0:00:00.180) 0:04:03.901 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 04 April 2025 21:46:13 -0400 (0:00:00.149) 0:04:04.050 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 04 April 2025 21:46:13 -0400 (0:00:00.089) 0:04:04.140 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 04 April 2025 21:46:14 -0400 (0:00:00.629) 0:04:04.770 ********** ok: [managed-node2] => { "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 : Check if the errorlog file exists and its location] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 04 April 2025 21:46:14 -0400 (0:00:00.566) 0:04:05.336 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005151", "end": "2025-04-04 21:46:15.063288", "rc": 0, "start": "2025-04-04 21:46:15.058137" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Friday 04 April 2025 21:46:15 -0400 (0:00:00.347) 0:04:05.684 ********** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Friday 04 April 2025 21:46:16 -0400 (0:00:00.913) 0:04:06.598 ********** ok: [managed-node2] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Friday 04 April 2025 21:46:16 -0400 (0:00:00.096) 0:04:06.695 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Friday 04 April 2025 21:46:16 -0400 (0:00:00.065) 0:04:06.760 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Friday 04 April 2025 21:46:16 -0400 (0:00:00.066) 0:04:06.827 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node2 included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /var/opt/mssql/data] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 04 April 2025 21:46:16 -0400 (0:00:00.142) 0:04:06.970 ********** ok: [managed-node2] => { "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] ***** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 04 April 2025 21:46:16 -0400 (0:00:00.459) 0:04:07.430 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 04 April 2025 21:46:16 -0400 (0:00:00.073) 0:04:07.503 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 April 2025 21:46:17 -0400 (0:00:00.121) 0:04:07.624 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003602", "end": "2025-04-04 21:46:17.353484", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:46:17.349882" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 April 2025 21:46:17 -0400 (0:00:00.352) 0:04:07.977 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 April 2025 21:46:17 -0400 (0:00:00.076) 0:04:08.053 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /var/opt/mssql/log] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 04 April 2025 21:46:17 -0400 (0:00:00.072) 0:04:08.126 ********** ok: [managed-node2] => { "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] ***** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 04 April 2025 21:46:18 -0400 (0:00:00.403) 0:04:08.529 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 04 April 2025 21:46:18 -0400 (0:00:00.084) 0:04:08.614 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 April 2025 21:46:18 -0400 (0:00:00.115) 0:04:08.729 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003041", "end": "2025-04-04 21:46:23.487388", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:46:23.484347" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 April 2025 21:46:23 -0400 (0:00:05.376) 0:04:14.106 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 April 2025 21:46:23 -0400 (0:00:00.072) 0:04:14.178 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 04 April 2025 21:46:23 -0400 (0:00:00.061) 0:04:14.240 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Friday 04 April 2025 21:46:23 -0400 (0:00:00.156) 0:04:14.397 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Friday 04 April 2025 21:46:23 -0400 (0:00:00.064) 0:04:14.461 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 04 April 2025 21:46:24 -0400 (0:00:00.544) 0:04:15.005 ********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-04 21:15:13 EDT", "ActiveEnterTimestampMonotonic": "13607324", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket dbus.service systemd-sysctl.service basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-04 21:15:12 EDT", "AssertTimestampMonotonic": "13086023", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-04 21:15:12 EDT", "ConditionTimestampMonotonic": "13086021", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "875", "ExecMainStartTimestamp": "Fri 2025-04-04 21:15:12 EDT", "ExecMainStartTimestampMonotonic": "13086489", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2025-04-04 21:15:12 EDT", "InactiveExitTimestampMonotonic": "13086525", "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": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "875", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service basic.target system.slice dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-04-04 21:15:13 EDT", "WatchdogTimestampMonotonic": "13606493", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Friday 04 April 2025 21:46:24 -0400 (0:00:00.435) 0:04:15.440 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.087107", "end": "2025-04-04 21:46:25.247744", "rc": 0, "start": "2025-04-04 21:46:25.160637" } STDOUT: Current active profile: virtual-guest mssql TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Friday 04 April 2025 21:46:25 -0400 (0:00:00.424) 0:04:15.865 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Friday 04 April 2025 21:46:25 -0400 (0:00:00.064) 0:04:15.930 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 04 April 2025 21:46:25 -0400 (0:00:00.065) 0:04:15.996 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Friday 04 April 2025 21:46:25 -0400 (0:00:00.065) 0:04:16.061 ********** ok: [managed-node2] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Friday 04 April 2025 21:46:25 -0400 (0:00:00.336) 0:04:16.397 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 04 April 2025 21:46:25 -0400 (0:00:00.062) 0:04:16.460 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-tools18-18.4.1.1-1.x86_64 providing mssql-tools18 is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools18 unixODBC-devel TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Friday 04 April 2025 21:46:26 -0400 (0:00:00.553) 0:04:17.013 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Friday 04 April 2025 21:46:26 -0400 (0:00:00.060) 0:04:17.074 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 04 April 2025 21:46:26 -0400 (0:00:00.152) 0:04:17.227 ********** skipping: [managed-node2] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (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] ********* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 04 April 2025 21:46:26 -0400 (0:00:00.074) 0:04:17.302 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 04 April 2025 21:46:26 -0400 (0:00:00.065) 0:04:17.368 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 04 April 2025 21:46:26 -0400 (0:00:00.061) 0:04:17.429 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 04 April 2025 21:46:26 -0400 (0:00:00.064) 0:04:17.494 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the setting forceencryption] ******* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 04 April 2025 21:46:27 -0400 (0:00:00.061) 0:04:17.555 ********** ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.004404", "end": "2025-04-04 21:46:27.282236", "failed_when_result": false, "rc": 1, "start": "2025-04-04 21:46:27.277832" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 04 April 2025 21:46:27 -0400 (0:00:00.343) 0:04:17.898 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Append -C to sqlcmd when TLS is configured but certs are self-signed] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 04 April 2025 21:46:27 -0400 (0:00:00.068) 0:04:17.967 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Friday 04 April 2025 21:46:27 -0400 (0:00:00.067) 0:04:18.035 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 04 April 2025 21:46:27 -0400 (0:00:00.115) 0:04:18.150 ********** ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-04 21:46:06 EDT", "ActiveEnterTimestampMonotonic": "1865808721", "ActiveExitTimestamp": "Fri 2025-04-04 21:45:36 EDT", "ActiveExitTimestampMonotonic": "1835914840", "ActiveState": "active", "After": "system.slice systemd-journald.socket auditd.service -.mount basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-04 21:46:06 EDT", "AssertTimestampMonotonic": "1865807954", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-04 21:46:06 EDT", "ConditionTimestampMonotonic": "1865807953", "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": "21845", "ExecMainStartTimestamp": "Fri 2025-04-04 21:46:06 EDT", "ExecMainStartTimestampMonotonic": "1865808676", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2025-04-04 21:46:06 EDT] ; stop_time=[n/a] ; pid=21845 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2025-04-04 21:45:37 EDT", "InactiveEnterTimestampMonotonic": "1836130763", "InactiveExitTimestamp": "Fri 2025-04-04 21:46:06 EDT", "InactiveExitTimestampMonotonic": "1865808721", "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": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "21845", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-04-04 21:46:06 EDT", "WatchdogTimestampMonotonic": "1865808705", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 04 April 2025 21:46:28 -0400 (0:00:00.437) 0:04:18.587 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003584", "end": "2025-04-04 21:46:28.318553", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:46:28.314969" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 04 April 2025 21:46:28 -0400 (0:00:00.347) 0:04:18.935 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003086", "end": "2025-04-04 21:46:28.673108", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:46:28.670022" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 04 April 2025 21:46:28 -0400 (0:00:00.356) 0:04:19.292 ********** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Friday 04 April 2025 21:46:28 -0400 (0:00:00.083) 0:04:19.375 ********** ok: [managed-node2] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 6573, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Friday 04 April 2025 21:46:30 -0400 (0:00:01.353) 0:04:20.728 ********** ok: [managed-node2] => { "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] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Friday 04 April 2025 21:46:30 -0400 (0:00:00.370) 0:04:21.099 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 04 April 2025 21:46:30 -0400 (0:00:00.068) 0:04:21.168 ********** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Friday 04 April 2025 21:46:31 -0400 (0:00:01.180) 0:04:22.348 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 04 April 2025 21:46:31 -0400 (0:00:00.075) 0:04:22.423 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Friday 04 April 2025 21:46:31 -0400 (0:00:00.061) 0:04:22.485 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 04 April 2025 21:46:32 -0400 (0:00:00.063) 0:04:22.549 ********** ok: [managed-node2] => { "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.005321", "end": "2025-04-04 21:46:32.269447", "rc": 0, "start": "2025-04-04 21:46:32.264126" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Friday 04 April 2025 21:46:32 -0400 (0:00:00.337) 0:04:22.886 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Friday 04 April 2025 21:46:32 -0400 (0:00:00.066) 0:04:22.952 ********** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 04 April 2025 21:46:33 -0400 (0:00:01.393) 0:04:24.346 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Friday 04 April 2025 21:46:33 -0400 (0:00:00.070) 0:04:24.416 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network ipaddress] ***** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 April 2025 21:46:34 -0400 (0:00:00.116) 0:04:24.533 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002966", "end": "2025-04-04 21:46:34.251561", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:46:34.248595" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 April 2025 21:46:34 -0400 (0:00:00.336) 0:04:24.870 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network ipaddress] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 April 2025 21:46:34 -0400 (0:00:00.068) 0:04:24.938 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Friday 04 April 2025 21:46:34 -0400 (0:00:00.065) 0:04:25.004 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 04 April 2025 21:46:34 -0400 (0:00:00.063) 0:04:25.067 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the TCP port setting to 1435] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Friday 04 April 2025 21:46:34 -0400 (0:00:00.064) 0:04:25.132 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 April 2025 21:46:34 -0400 (0:00:00.110) 0:04:25.243 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003081", "end": "2025-04-04 21:46:34.959147", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:46:34.956066" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 April 2025 21:46:35 -0400 (0:00:00.334) 0:04:25.578 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tcpport] ***** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 April 2025 21:46:35 -0400 (0:00:00.070) 0:04:25.648 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Friday 04 April 2025 21:46:35 -0400 (0:00:00.062) 0:04:25.711 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Friday 04 April 2025 21:46:35 -0400 (0:00:00.156) 0:04:25.867 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting sqlagent enabled] ****** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 April 2025 21:46:35 -0400 (0:00:00.122) 0:04:25.989 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003222", "end": "2025-04-04 21:46:35.707497", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:46:35.704275" } STDOUT: enabled = False TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 April 2025 21:46:35 -0400 (0:00:00.339) 0:04:26.328 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting sqlagent enabled] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 April 2025 21:46:35 -0400 (0:00:00.072) 0:04:26.400 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Friday 04 April 2025 21:46:35 -0400 (0:00:00.063) 0:04:26.463 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-fts is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Friday 04 April 2025 21:46:36 -0400 (0:00:00.585) 0:04:27.049 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "powershell is not installed" ] } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 04 April 2025 21:46:37 -0400 (0:00:00.494) 0:04:27.543 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003386", "end": "2025-04-04 21:46:37.261928", "failed_when_result": false, "rc": 1, "start": "2025-04-04 21:46:37.258542" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Friday 04 April 2025 21:46:37 -0400 (0:00:00.332) 0:04:27.876 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 04 April 2025 21:46:37 -0400 (0:00:00.063) 0:04:27.939 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Friday 04 April 2025 21:46:37 -0400 (0:00:00.068) 0:04:28.007 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting control alternatewritethrough] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 April 2025 21:46:37 -0400 (0:00:00.111) 0:04:28.119 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003124", "end": "2025-04-04 21:46:37.855967", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:46:37.852843" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 April 2025 21:46:38 -0400 (0:00:00.452) 0:04:28.571 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control alternatewritethrough] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 April 2025 21:46:38 -0400 (0:00:00.072) 0:04:28.643 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 04 April 2025 21:46:38 -0400 (0:00:00.066) 0:04:28.710 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node2 TASK [fedora.linux_system_roles.mssql : Get the setting control writethrough] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 04 April 2025 21:46:38 -0400 (0:00:00.120) 0:04:28.831 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003043", "end": "2025-04-04 21:46:38.557204", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:46:38.554161" } STDOUT: writethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 04 April 2025 21:46:38 -0400 (0:00:00.344) 0:04:29.175 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control writethrough] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 04 April 2025 21:46:38 -0400 (0:00:00.071) 0:04:29.247 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Friday 04 April 2025 21:46:38 -0400 (0:00:00.066) 0:04:29.313 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Friday 04 April 2025 21:46:38 -0400 (0:00:00.063) 0:04:29.377 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Friday 04 April 2025 21:46:38 -0400 (0:00:00.063) 0:04:29.440 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Friday 04 April 2025 21:46:38 -0400 (0:00:00.061) 0:04:29.501 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Friday 04 April 2025 21:46:39 -0400 (0:00:00.066) 0:04:29.568 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 04 April 2025 21:46:39 -0400 (0:00:00.064) 0:04:29.633 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Friday 04 April 2025 21:46:39 -0400 (0:00:00.064) 0:04:29.697 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 04 April 2025 21:46:39 -0400 (0:00:00.063) 0:04:29.760 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure proper configuration on user] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Friday 04 April 2025 21:46:39 -0400 (0:00:00.067) 0:04:29.827 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Friday 04 April 2025 21:46:39 -0400 (0:00:00.063) 0:04:29.891 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Friday 04 April 2025 21:46:39 -0400 (0:00:00.062) 0:04:29.953 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Friday 04 April 2025 21:46:39 -0400 (0:00:00.157) 0:04:30.110 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Friday 04 April 2025 21:46:39 -0400 (0:00:00.065) 0:04:30.175 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Friday 04 April 2025 21:46:39 -0400 (0:00:00.064) 0:04:30.240 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Friday 04 April 2025 21:46:39 -0400 (0:00:00.062) 0:04:30.302 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 04 April 2025 21:46:39 -0400 (0:00:00.064) 0:04:30.367 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 04 April 2025 21:46:39 -0400 (0:00:00.061) 0:04:30.428 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 04 April 2025 21:46:39 -0400 (0:00:00.064) 0:04:30.493 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Friday 04 April 2025 21:46:40 -0400 (0:00:00.061) 0:04:30.554 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 04 April 2025 21:46:40 -0400 (0:00:00.063) 0:04:30.617 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Friday 04 April 2025 21:46:40 -0400 (0:00:00.061) 0:04:30.679 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Friday 04 April 2025 21:46:40 -0400 (0:00:00.065) 0:04:30.745 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Friday 04 April 2025 21:46:40 -0400 (0:00:00.068) 0:04:30.813 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Friday 04 April 2025 21:46:40 -0400 (0:00:00.062) 0:04:30.876 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Friday 04 April 2025 21:46:40 -0400 (0:00:00.062) 0:04:30.939 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Friday 04 April 2025 21:46:40 -0400 (0:00:00.060) 0:04:30.999 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 04 April 2025 21:46:40 -0400 (0:00:00.062) 0:04:31.062 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 04 April 2025 21:46:40 -0400 (0:00:00.061) 0:04:31.124 ********** skipping: [managed-node2] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Friday 04 April 2025 21:46:40 -0400 (0:00:00.075) 0:04:31.199 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 04 April 2025 21:46:40 -0400 (0:00:00.060) 0:04:31.260 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Friday 04 April 2025 21:46:40 -0400 (0:00:00.061) 0:04:31.322 ********** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 04 April 2025 21:46:40 -0400 (0:00:00.173) 0:04:31.495 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set fact with the current primary replica] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Friday 04 April 2025 21:46:41 -0400 (0:00:00.066) 0:04:31.561 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that primary instance hosts is available] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Friday 04 April 2025 21:46:41 -0400 (0:00:00.065) 0:04:31.626 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 04 April 2025 21:46:41 -0400 (0:00:00.063) 0:04:31.690 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 04 April 2025 21:46:41 -0400 (0:00:00.063) 0:04:31.754 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 04 April 2025 21:46:41 -0400 (0:00:00.066) 0:04:31.820 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Friday 04 April 2025 21:46:41 -0400 (0:00:00.064) 0:04:31.884 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Friday 04 April 2025 21:46:41 -0400 (0:00:00.060) 0:04:31.945 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 04 April 2025 21:46:41 -0400 (0:00:00.064) 0:04:32.009 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Friday 04 April 2025 21:46:41 -0400 (0:00:00.063) 0:04:32.073 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Friday 04 April 2025 21:46:41 -0400 (0:00:00.059) 0:04:32.133 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Friday 04 April 2025 21:46:41 -0400 (0:00:00.062) 0:04:32.196 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Friday 04 April 2025 21:46:41 -0400 (0:00:00.060) 0:04:32.256 ********** skipping: [managed-node2] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Friday 04 April 2025 21:46:41 -0400 (0:00:00.079) 0:04:32.336 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 04 April 2025 21:46:41 -0400 (0:00:00.061) 0:04:32.398 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Friday 04 April 2025 21:46:41 -0400 (0:00:00.062) 0:04:32.461 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Friday 04 April 2025 21:46:41 -0400 (0:00:00.062) 0:04:32.523 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 04 April 2025 21:46:42 -0400 (0:00:00.062) 0:04:32.586 ********** skipping: [managed-node2] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 04 April 2025 21:46:42 -0400 (0:00:00.072) 0:04:32.659 ********** skipping: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Friday 04 April 2025 21:46:42 -0400 (0:00:00.060) 0:04:32.719 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for the cluster to finish configuration] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Friday 04 April 2025 21:46:42 -0400 (0:00:00.160) 0:04:32.880 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Friday 04 April 2025 21:46:42 -0400 (0:00:00.065) 0:04:32.945 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 04 April 2025 21:46:42 -0400 (0:00:00.065) 0:04:33.011 ********** ok: [managed-node2] => { "changed": false } META: ran handlers TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Friday 04 April 2025 21:46:42 -0400 (0:00:00.471) 0:04:33.482 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Friday 04 April 2025 21:46:43 -0400 (0:00:00.063) 0:04:33.545 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify disabled settings] ************************************************ task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:84 Friday 04 April 2025 21:46:43 -0400 (0:00:00.061) 0:04:33.607 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node2 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 04 April 2025 21:46:43 -0400 (0:00:00.566) 0:04:34.174 ********** ok: [managed-node2] => { "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.004912", "end": "2025-04-04 21:46:43.904078", "rc": 0, "start": "2025-04-04 21:46:43.899166" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 04 April 2025 21:46:43 -0400 (0:00:00.348) 0:04:34.522 ********** ok: [managed-node2] => { "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.005194", "end": "2025-04-04 21:46:44.253442", "rc": 0, "start": "2025-04-04 21:46:44.248248" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 04 April 2025 21:46:44 -0400 (0:00:00.354) 0:04:34.876 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 04 April 2025 21:46:44 -0400 (0:00:00.172) 0:04:35.049 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting ipaddress] ********************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 April 2025 21:46:44 -0400 (0:00:00.172) 0:04:35.222 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004111", "end": "2025-04-04 21:46:44.947609", "rc": 0, "start": "2025-04-04 21:46:44.943498" } STDOUT: ipaddress = 127.0.0.1 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 April 2025 21:46:45 -0400 (0:00:00.346) 0:04:35.569 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 April 2025 21:46:45 -0400 (0:00:00.081) 0:04:35.650 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 127.0.0.1] ***************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 April 2025 21:46:45 -0400 (0:00:00.070) 0:04:35.721 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultdatadir] ***************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 April 2025 21:46:45 -0400 (0:00:00.066) 0:04:35.787 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004672", "end": "2025-04-04 21:46:45.513815", "rc": 0, "start": "2025-04-04 21:46:45.509143" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 April 2025 21:46:45 -0400 (0:00:00.342) 0:04:36.129 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 April 2025 21:46:45 -0400 (0:00:00.079) 0:04:36.209 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/data] ******************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 April 2025 21:46:45 -0400 (0:00:00.065) 0:04:36.275 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 April 2025 21:46:45 -0400 (0:00:00.063) 0:04:36.338 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004145", "end": "2025-04-04 21:46:46.057532", "rc": 0, "start": "2025-04-04 21:46:46.053387" } STDOUT: enabled = False TASK [Verify the setting when it is type str enabled] ************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 April 2025 21:46:46 -0400 (0:00:00.334) 0:04:36.673 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool enabled] ************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 April 2025 21:46:46 -0400 (0:00:00.066) 0:04:36.739 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 April 2025 21:46:46 -0400 (0:00:00.082) 0:04:36.821 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 April 2025 21:46:46 -0400 (0:00:00.068) 0:04:36.890 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004205", "end": "2025-04-04 21:46:46.611136", "rc": 0, "start": "2025-04-04 21:46:46.606931" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 April 2025 21:46:46 -0400 (0:00:00.411) 0:04:37.301 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 April 2025 21:46:46 -0400 (0:00:00.084) 0:04:37.385 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/log] ******************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 April 2025 21:46:46 -0400 (0:00:00.065) 0:04:37.451 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 April 2025 21:46:46 -0400 (0:00:00.066) 0:04:37.518 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004734", "end": "2025-04-04 21:46:47.250354", "rc": 0, "start": "2025-04-04 21:46:47.245620" } STDOUT: tcpport = 1435 TASK [Verify the setting when it is type str tcpport] ************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 April 2025 21:46:47 -0400 (0:00:00.362) 0:04:37.880 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool tcpport] ************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 April 2025 21:46:47 -0400 (0:00:00.072) 0:04:37.953 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1435] ********************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 April 2025 21:46:47 -0400 (0:00:00.065) 0:04:38.018 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 04 April 2025 21:46:47 -0400 (0:00:00.076) 0:04:38.095 ********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1743817381.1304805, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1743817381.0844803, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 393409, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1743817381.0844803, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "1406189821", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 04 April 2025 21:46:48 -0400 (0:00:00.593) 0:04:38.689 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 04 April 2025 21:46:48 -0400 (0:00:00.075) 0:04:38.764 ********** ok: [managed-node2] => { "changed": false, "stat": { "atime": 1743817569.297479, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1743817569.3054788, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 393410, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1743817569.3054788, "nlink": 2, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "1406189822", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": true, "xoth": true, "xusr": true } } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 04 April 2025 21:46:48 -0400 (0:00:00.354) 0:04:39.118 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 04 April 2025 21:46:48 -0400 (0:00:00.075) 0:04:39.194 ********** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 04 April 2025 21:46:48 -0400 (0:00:00.109) 0:04:39.304 ********** ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-04 21:46:06 EDT", "ActiveEnterTimestampMonotonic": "1865808721", "ActiveExitTimestamp": "Fri 2025-04-04 21:45:36 EDT", "ActiveExitTimestampMonotonic": "1835914840", "ActiveState": "active", "After": "system.slice systemd-journald.socket auditd.service -.mount basic.target network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-04 21:46:06 EDT", "AssertTimestampMonotonic": "1865807954", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-04 21:46:06 EDT", "ConditionTimestampMonotonic": "1865807953", "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": "21845", "ExecMainStartTimestamp": "Fri 2025-04-04 21:46:06 EDT", "ExecMainStartTimestampMonotonic": "1865808676", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2025-04-04 21:46:06 EDT] ; stop_time=[n/a] ; pid=21845 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2025-04-04 21:45:37 EDT", "InactiveEnterTimestampMonotonic": "1836130763", "InactiveExitTimestamp": "Fri 2025-04-04 21:46:06 EDT", "InactiveExitTimestampMonotonic": "1865808721", "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": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "21845", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-04-04 21:46:06 EDT", "WatchdogTimestampMonotonic": "1865808705", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 04 April 2025 21:46:49 -0400 (0:00:00.525) 0:04:39.829 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003054", "end": "2025-04-04 21:46:49.556523", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:46:49.553469" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 04 April 2025 21:46:49 -0400 (0:00:00.345) 0:04:40.175 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002999", "end": "2025-04-04 21:46:49.896603", "failed_when_result": false, "rc": 0, "start": "2025-04-04 21:46:49.893604" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 04 April 2025 21:46:49 -0400 (0:00:00.340) 0:04:40.515 ********** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 04 April 2025 21:46:50 -0400 (0:00:00.080) 0:04:40.596 ********** ok: [managed-node2] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 6573, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 04 April 2025 21:46:51 -0400 (0:00:01.343) 0:04:41.940 ********** ok: [managed-node2] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools18/bin/sqlcmd", "-No", "-S", "127.0.0.1,1435", "-U", "sa", "-P", "p@55w0rD1", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.020762", "end": "2025-04-04 21:46:51.673971", "rc": 0, "start": "2025-04-04 21:46:51.653209" } 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] ************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 04 April 2025 21:46:51 -0400 (0:00:00.357) 0:04:42.297 ********** ok: [managed-node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 04 April 2025 21:46:51 -0400 (0:00:00.066) 0:04:42.363 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml for managed-node2 TASK [Gather package facts] **************************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 Friday 04 April 2025 21:46:51 -0400 (0:00:00.108) 0:04:42.472 ********** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed mssql-server-fts] ********************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:12 Friday 04 April 2025 21:46:53 -0400 (0:00:01.304) 0:04:43.777 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:17 Friday 04 April 2025 21:46:53 -0400 (0:00:00.064) 0:04:43.841 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 04 April 2025 21:46:53 -0400 (0:00:00.200) 0:04:44.041 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml for managed-node2 TASK [Gather package facts] **************************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 Friday 04 April 2025 21:46:53 -0400 (0:00:00.113) 0:04:44.155 ********** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed powershell] *************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:12 Friday 04 April 2025 21:46:54 -0400 (0:00:01.179) 0:04:45.334 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed powershell] *********************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:17 Friday 04 April 2025 21:46:54 -0400 (0:00:00.069) 0:04:45.404 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 04 April 2025 21:46:54 -0400 (0:00:00.094) 0:04:45.498 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004186", "end": "2025-04-04 21:46:55.215165", "rc": 0, "start": "2025-04-04 21:46:55.210979" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 04 April 2025 21:46:55 -0400 (0:00:00.330) 0:04:45.829 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 04 April 2025 21:46:55 -0400 (0:00:00.067) 0:04:45.896 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 04 April 2025 21:46:55 -0400 (0:00:00.075) 0:04:45.971 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting alternatewritethrough] ********************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 April 2025 21:46:55 -0400 (0:00:00.115) 0:04:46.087 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004169", "end": "2025-04-04 21:46:55.804555", "rc": 0, "start": "2025-04-04 21:46:55.800386" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 April 2025 21:46:55 -0400 (0:00:00.436) 0:04:46.523 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool alternatewritethrough] *********** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 April 2025 21:46:56 -0400 (0:00:00.071) 0:04:46.594 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 April 2025 21:46:56 -0400 (0:00:00.084) 0:04:46.679 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 04 April 2025 21:46:56 -0400 (0:00:00.066) 0:04:46.745 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 TASK [Get the value of the setting writethrough] ******************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 04 April 2025 21:46:56 -0400 (0:00:00.120) 0:04:46.866 ********** ok: [managed-node2] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004548", "end": "2025-04-04 21:46:56.593901", "rc": 0, "start": "2025-04-04 21:46:56.589353" } STDOUT: writethrough = 0 TASK [Verify the setting when it is type str writethrough] ********************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 04 April 2025 21:46:56 -0400 (0:00:00.345) 0:04:47.211 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool writethrough] ******************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 04 April 2025 21:46:56 -0400 (0:00:00.068) 0:04:47.279 ********** ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 04 April 2025 21:46:56 -0400 (0:00:00.085) 0:04:47.365 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 04 April 2025 21:46:56 -0400 (0:00:00.064) 0:04:47.429 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 04 April 2025 21:46:56 -0400 (0:00:00.062) 0:04:47.492 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 04 April 2025 21:46:57 -0400 (0:00:00.063) 0:04:47.556 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 04 April 2025 21:46:57 -0400 (0:00:00.062) 0:04:47.618 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 04 April 2025 21:46:57 -0400 (0:00:00.065) 0:04:47.683 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:101 Friday 04 April 2025 21:46:57 -0400 (0:00:00.063) 0:04:47.747 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/check_header.yml for managed-node2 TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/check_header.yml:4 Friday 04 April 2025 21:46:57 -0400 (0:00:00.678) 0:04:48.426 ********** ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002992", "end": "2025-04-04 21:46:58.275179", "rc": 0, "start": "2025-04-04 21:46:58.272187" } 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] ************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_idempotency_2017.yml:18 Friday 04 April 2025 21:46:58 -0400 (0:00:00.468) 0:04:48.894 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml for managed-node2 TASK [Gather package facts] **************************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Friday 04 April 2025 21:46:58 -0400 (0:00:00.114) 0:04:49.009 ********** ok: [managed-node2] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Purge cluster configuration] ********************************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:6 Friday 04 April 2025 21:46:59 -0400 (0:00:01.187) 0:04:50.196 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:14 Friday 04 April 2025 21:46:59 -0400 (0:00:00.082) 0:04:50.279 ********** ok: [managed-node2] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:18 Friday 04 April 2025 21:46:59 -0400 (0:00:00.066) 0:04:50.345 ********** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 04 April 2025 21:46:59 -0400 (0:00:00.160) 0:04:50.505 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node2 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 04 April 2025 21:47:00 -0400 (0:00:00.237) 0:04:50.743 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 04 April 2025 21:47:00 -0400 (0:00:00.087) 0:04:50.831 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 04 April 2025 21:47:00 -0400 (0:00:00.333) 0:04:51.164 ********** ok: [managed-node2] => { "ansible_facts": { "__firewall_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 04 April 2025 21:47:00 -0400 (0:00:00.069) 0:04:51.234 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 04 April 2025 21:47:01 -0400 (0:00:00.326) 0:04:51.561 ********** ok: [managed-node2] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 04 April 2025 21:47:01 -0400 (0:00:00.067) 0:04:51.629 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 04 April 2025 21:47:01 -0400 (0:00:00.555) 0:04:52.184 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 04 April 2025 21:47:01 -0400 (0:00:00.066) 0:04:52.251 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 04 April 2025 21:47:01 -0400 (0:00:00.063) 0:04:52.315 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 04 April 2025 21:47:01 -0400 (0:00:00.064) 0:04:52.379 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Attempt to stop and disable conflicting services] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 04 April 2025 21:47:01 -0400 (0:00:00.062) 0:04:52.441 ********** skipping: [managed-node2] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node2] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 04 April 2025 21:47:01 -0400 (0:00:00.079) 0:04:52.521 ********** ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2025-04-04 21:28:16 EDT", "ActiveEnterTimestampMonotonic": "795758500", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-04 21:28:16 EDT", "AssertTimestampMonotonic": "795514242", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-04 21:28:16 EDT", "ConditionTimestampMonotonic": "795514240", "Conflicts": "shutdown.target iptables.service ip6tables.service ebtables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "20911", "ExecMainStartTimestamp": "Fri 2025-04-04 21:28:16 EDT", "ExecMainStartTimestampMonotonic": "795515314", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2025-04-04 21:28:16 EDT", "InactiveExitTimestampMonotonic": "795515348", "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": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "20911", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2025-04-04 21:28:16 EDT", "WatchdogTimestampMonotonic": "795758443", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 04 April 2025 21:47:02 -0400 (0:00:00.436) 0:04:52.957 ********** ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-04-04 21:28:16 EDT", "ActiveEnterTimestampMonotonic": "795758500", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service basic.target system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-04-04 21:28:16 EDT", "AssertTimestampMonotonic": "795514242", "Before": "multi-user.target shutdown.target network-pre.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2025-04-04 21:28:16 EDT", "ConditionTimestampMonotonic": "795514240", "Conflicts": "shutdown.target iptables.service ip6tables.service ebtables.service ipset.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "20911", "ExecMainStartTimestamp": "Fri 2025-04-04 21:28:16 EDT", "ExecMainStartTimestampMonotonic": "795515314", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2025-04-04 21:28:16 EDT", "InactiveExitTimestampMonotonic": "795515348", "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": "29173", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "29173", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "20911", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2025-04-04 21:28:16 EDT", "WatchdogTimestampMonotonic": "795758443", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 04 April 2025 21:47:02 -0400 (0:00:00.428) 0:04:53.385 ********** ok: [managed-node2] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 04 April 2025 21:47:02 -0400 (0:00:00.072) 0:04:53.458 ********** ok: [managed-node2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.14.242 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 04 April 2025 21:47:03 -0400 (0:00:00.333) 0:04:53.792 ********** ok: [managed-node2] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 04 April 2025 21:47:03 -0400 (0:00:00.069) 0:04:53.862 ********** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Friday 04 April 2025 21:47:03 -0400 (0:00:00.061) 0:04:53.924 ********** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Friday 04 April 2025 21:47:03 -0400 (0:00:00.064) 0:04:53.988 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Friday 04 April 2025 21:47:03 -0400 (0:00:00.073) 0:04:54.062 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Friday 04 April 2025 21:47:03 -0400 (0:00:00.063) 0:04:54.125 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Friday 04 April 2025 21:47:03 -0400 (0:00:00.061) 0:04:54.187 ********** ok: [managed-node2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.14.242 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Friday 04 April 2025 21:47:03 -0400 (0:00:00.328) 0:04:54.516 ********** ok: [managed-node2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Friday 04 April 2025 21:47:04 -0400 (0:00:00.073) 0:04:54.589 ********** skipping: [managed-node2] => {} TASK [Purge selinux configuration] ********************************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:26 Friday 04 April 2025 21:47:04 -0400 (0:00:00.067) 0:04:54.657 ********** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 04 April 2025 21:47:04 -0400 (0:00:00.151) 0:04:54.809 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for managed-node2 TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 04 April 2025 21:47:04 -0400 (0:00:00.112) 0:04:54.921 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 04 April 2025 21:47:04 -0400 (0:00:00.183) 0:04:55.104 ********** included: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for managed-node2 TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Friday 04 April 2025 21:47:04 -0400 (0:00:00.119) 0:04:55.224 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Friday 04 April 2025 21:47:05 -0400 (0:00:00.334) 0:04:55.559 ********** ok: [managed-node2] => { "ansible_facts": { "__selinux_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Friday 04 April 2025 21:47:05 -0400 (0:00:00.069) 0:04:55.628 ********** ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Friday 04 April 2025 21:47:05 -0400 (0:00:00.331) 0:04:55.960 ********** ok: [managed-node2] => { "ansible_facts": { "__selinux_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Friday 04 April 2025 21:47:05 -0400 (0:00:00.068) 0:04:56.029 ********** ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } lsrpackages: libselinux-python policycoreutils-python TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Friday 04 April 2025 21:47:06 -0400 (0:00:00.549) 0:04:56.578 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Friday 04 April 2025 21:47:06 -0400 (0:00:00.063) 0:04:56.642 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Friday 04 April 2025 21:47:06 -0400 (0:00:00.063) 0:04:56.705 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Friday 04 April 2025 21:47:06 -0400 (0:00:00.065) 0:04:56.771 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Friday 04 April 2025 21:47:06 -0400 (0:00:00.063) 0:04:56.834 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is needed and not set] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Friday 04 April 2025 21:47:06 -0400 (0:00:00.061) 0:04:56.895 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Friday 04 April 2025 21:47:06 -0400 (0:00:00.062) 0:04:56.958 ********** ok: [managed-node2] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 04 April 2025 21:47:07 -0400 (0:00:00.626) 0:04:57.584 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Friday 04 April 2025 21:47:07 -0400 (0:00:00.066) 0:04:57.650 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Friday 04 April 2025 21:47:07 -0400 (0:00:00.062) 0:04:57.713 ********** ok: [managed-node2] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Friday 04 April 2025 21:47:07 -0400 (0:00:00.068) 0:04:57.781 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Friday 04 April 2025 21:47:07 -0400 (0:00:00.056) 0:04:57.838 ********** skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Friday 04 April 2025 21:47:07 -0400 (0:00:00.063) 0:04:57.901 ********** NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for managed-node2 changed: [managed-node2] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:00.354921", "end": "2025-04-04 21:47:07.972828", "rc": 0, "start": "2025-04-04 21:47:07.617907" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Friday 04 April 2025 21:47:08 -0400 (0:00:00.696) 0:04:58.597 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 04 April 2025 21:47:08 -0400 (0:00:00.060) 0:04:58.658 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Friday 04 April 2025 21:47:08 -0400 (0:00:00.063) 0:04:58.721 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Friday 04 April 2025 21:47:08 -0400 (0:00:00.061) 0:04:58.783 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 04 April 2025 21:47:08 -0400 (0:00:00.061) 0:04:58.845 ********** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Friday 04 April 2025 21:47:08 -0400 (0:00:00.060) 0:04:58.906 ********** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Friday 04 April 2025 21:47:08 -0400 (0:00:00.061) 0:04:58.968 ********** TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Friday 04 April 2025 21:47:08 -0400 (0:00:00.060) 0:04:59.028 ********** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Friday 04 April 2025 21:47:08 -0400 (0:00:00.067) 0:04:59.095 ********** ok: [managed-node2] => { "ansible_facts": { "selinux_checksums": false, "selinux_installed_modules": { "abrt": { "100": { "checksum": "", "enabled": 1 } }, "accountsd": { "100": { "checksum": "", "enabled": 1 } }, "acct": { "100": { "checksum": "", "enabled": 1 } }, "afs": { "100": { "checksum": "", "enabled": 1 } }, "aiccu": { "100": { "checksum": "", "enabled": 1 } }, "aide": { "100": { "checksum": "", "enabled": 1 } }, "ajaxterm": { "100": { "checksum": "", "enabled": 1 } }, "alsa": { "100": { "checksum": "", "enabled": 1 } }, "amanda": { "100": { "checksum": "", "enabled": 1 } }, "amtu": { "100": { "checksum": "", "enabled": 1 } }, "anaconda": { "100": { "checksum": "", "enabled": 1 } }, "antivirus": { "100": { "checksum": "", "enabled": 1 } }, "apache": { "100": { "checksum": "", "enabled": 1 } }, "apcupsd": { "100": { "checksum": "", "enabled": 1 } }, "apm": { "100": { "checksum": "", "enabled": 1 } }, "application": { "100": { "checksum": "", "enabled": 1 } }, "arpwatch": { "100": { "checksum": "", "enabled": 1 } }, "asterisk": { "100": { "checksum": "", "enabled": 1 } }, "auditadm": { "100": { "checksum": "", "enabled": 1 } }, "authconfig": { "100": { "checksum": "", "enabled": 1 } }, "authlogin": { "100": { "checksum": "", "enabled": 1 } }, "automount": { "100": { "checksum": "", "enabled": 1 } }, "avahi": { "100": { "checksum": "", "enabled": 1 } }, "awstats": { "100": { "checksum": "", "enabled": 1 } }, "bacula": { "100": { "checksum": "", "enabled": 1 } }, "base": { "100": { "checksum": "", "enabled": 1 } }, "bcfg2": { "100": { "checksum": "", "enabled": 1 } }, "bind": { "100": { "checksum": "", "enabled": 1 } }, "bitlbee": { "100": { "checksum": "", "enabled": 1 } }, "blkmapd": { "100": { "checksum": "", "enabled": 1 } }, "blueman": { "100": { "checksum": "", "enabled": 1 } }, "bluetooth": { "100": { "checksum": "", "enabled": 1 } }, "boinc": { "100": { "checksum": "", "enabled": 1 } }, "boltd": { "100": { "checksum": "", "enabled": 1 } }, "bootloader": { "100": { "checksum": "", "enabled": 1 } }, "brctl": { "100": { "checksum": "", "enabled": 1 } }, "brltty": { "100": { "checksum": "", "enabled": 1 } }, "bugzilla": { "100": { "checksum": "", "enabled": 1 } }, "bumblebee": { "100": { "checksum": "", "enabled": 1 } }, "cachefilesd": { "100": { "checksum": "", "enabled": 1 } }, "calamaris": { "100": { "checksum": "", "enabled": 1 } }, "callweaver": { "100": { "checksum": "", "enabled": 1 } }, "canna": { "100": { "checksum": "", "enabled": 1 } }, "ccs": { "100": { "checksum": "", "enabled": 1 } }, "cdrecord": { "100": { "checksum": "", "enabled": 1 } }, "certmaster": { "100": { "checksum": "", "enabled": 1 } }, "certmonger": { "100": { "checksum": "", "enabled": 1 } }, "certwatch": { "100": { "checksum": "", "enabled": 1 } }, "cfengine": { "100": { "checksum": "", "enabled": 1 } }, "cgdcbxd": { "100": { "checksum": "", "enabled": 1 } }, "cgroup": { "100": { "checksum": "", "enabled": 1 } }, "chrome": { "100": { "checksum": "", "enabled": 1 } }, "chronyd": { "100": { "checksum": "", "enabled": 1 } }, "cinder": { "100": { "checksum": "", "enabled": 1 } }, "cipe": { "100": { "checksum": "", "enabled": 1 } }, "clock": { "100": { "checksum": "", "enabled": 1 } }, "clogd": { "100": { "checksum": "", "enabled": 1 } }, "cloudform": { "100": { "checksum": "", "enabled": 1 } }, "cmirrord": { "100": { "checksum": "", "enabled": 1 } }, "cobbler": { "100": { "checksum": "", "enabled": 1 } }, "cockpit": { "100": { "checksum": "", "enabled": 1 } }, "collectd": { "100": { "checksum": "", "enabled": 1 } }, "colord": { "100": { "checksum": "", "enabled": 1 } }, "comsat": { "100": { "checksum": "", "enabled": 1 } }, "condor": { "100": { "checksum": "", "enabled": 1 } }, "conman": { "100": { "checksum": "", "enabled": 1 } }, "consolekit": { "100": { "checksum": "", "enabled": 1 } }, "container": { "100": { "checksum": "", "enabled": 1 } }, "couchdb": { "100": { "checksum": "", "enabled": 1 } }, "courier": { "100": { "checksum": "", "enabled": 1 } }, "cpucontrol": { "100": { "checksum": "", "enabled": 1 } }, "cpufreqselector": { "100": { "checksum": "", "enabled": 1 } }, "cpuplug": { "100": { "checksum": "", "enabled": 1 } }, "cron": { "100": { "checksum": "", "enabled": 1 } }, "ctdb": { "100": { "checksum": "", "enabled": 1 } }, "cups": { "100": { "checksum": "", "enabled": 1 } }, "cvs": { "100": { "checksum": "", "enabled": 1 } }, "cyphesis": { "100": { "checksum": "", "enabled": 1 } }, "cyrus": { "100": { "checksum": "", "enabled": 1 } }, "daemontools": { "100": { "checksum": "", "enabled": 1 } }, "dbadm": { "100": { "checksum": "", "enabled": 1 } }, "dbskk": { "100": { "checksum": "", "enabled": 1 } }, "dbus": { "100": { "checksum": "", "enabled": 1 } }, "dcc": { "100": { "checksum": "", "enabled": 1 } }, "ddclient": { "100": { "checksum": "", "enabled": 1 } }, "denyhosts": { "100": { "checksum": "", "enabled": 1 } }, "devicekit": { "100": { "checksum": "", "enabled": 1 } }, "dhcp": { "100": { "checksum": "", "enabled": 1 } }, "dictd": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv-admin": { "100": { "checksum": "", "enabled": 1 } }, "dmesg": { "100": { "checksum": "", "enabled": 1 } }, "dmidecode": { "100": { "checksum": "", "enabled": 1 } }, "dnsmasq": { "100": { "checksum": "", "enabled": 1 } }, "dnssec": { "100": { "checksum": "", "enabled": 1 } }, "dovecot": { "100": { "checksum": "", "enabled": 1 } }, "drbd": { "100": { "checksum": "", "enabled": 1 } }, "dspam": { "100": { "checksum": "", "enabled": 1 } }, "entropyd": { "100": { "checksum": "", "enabled": 1 } }, "exim": { "100": { "checksum": "", "enabled": 1 } }, "fail2ban": { "100": { "checksum": "", "enabled": 1 } }, "fcoe": { "100": { "checksum": "", "enabled": 1 } }, "fetchmail": { "100": { "checksum": "", "enabled": 1 } }, "finger": { "100": { "checksum": "", "enabled": 1 } }, "firewalld": { "100": { "checksum": "", "enabled": 1 } }, "firewallgui": { "100": { "checksum": "", "enabled": 1 } }, "firstboot": { "100": { "checksum": "", "enabled": 1 } }, "fprintd": { "100": { "checksum": "", "enabled": 1 } }, "freeipmi": { "100": { "checksum": "", "enabled": 1 } }, "freqset": { "100": { "checksum": "", "enabled": 1 } }, "fstools": { "100": { "checksum": "", "enabled": 1 } }, "ftp": { "100": { "checksum": "", "enabled": 1 } }, "games": { "100": { "checksum": "", "enabled": 1 } }, "ganesha": { "100": { "checksum": "", "enabled": 1 } }, "gdomap": { "100": { "checksum": "", "enabled": 1 } }, "geoclue": { "100": { "checksum": "", "enabled": 1 } }, "getty": { "100": { "checksum": "", "enabled": 1 } }, "git": { "100": { "checksum": "", "enabled": 1 } }, "gitosis": { "100": { "checksum": "", "enabled": 1 } }, "glance": { "100": { "checksum": "", "enabled": 1 } }, "glusterd": { "100": { "checksum": "", "enabled": 1 } }, "gnome": { "100": { "checksum": "", "enabled": 1 } }, "gpg": { "100": { "checksum": "", "enabled": 1 } }, "gpm": { "100": { "checksum": "", "enabled": 1 } }, "gpsd": { "100": { "checksum": "", "enabled": 1 } }, "gssproxy": { "100": { "checksum": "", "enabled": 1 } }, "guest": { "100": { "checksum": "", "enabled": 1 } }, "hddtemp": { "100": { "checksum": "", "enabled": 1 } }, "hostname": { "100": { "checksum": "", "enabled": 1 } }, "hsqldb": { "100": { "checksum": "", "enabled": 1 } }, "hwloc": { "100": { "checksum": "", "enabled": 1 } }, "hypervkvp": { "100": { "checksum": "", "enabled": 1 } }, "icecast": { "100": { "checksum": "", "enabled": 1 } }, "inetd": { "100": { "checksum": "", "enabled": 1 } }, "init": { "100": { "checksum": "", "enabled": 1 } }, "inn": { "100": { "checksum": "", "enabled": 1 } }, "iodine": { "100": { "checksum": "", "enabled": 1 } }, "iotop": { "100": { "checksum": "", "enabled": 1 } }, "ipa": { "100": { "checksum": "", "enabled": 1 } }, "ipmievd": { "100": { "checksum": "", "enabled": 1 } }, "ipsec": { "100": { "checksum": "", "enabled": 1 } }, "iptables": { "100": { "checksum": "", "enabled": 1 } }, "irc": { "100": { "checksum": "", "enabled": 1 } }, "irqbalance": { "100": { "checksum": "", "enabled": 1 } }, "iscsi": { "100": { "checksum": "", "enabled": 1 } }, "isns": { "100": { "checksum": "", "enabled": 1 } }, "jabber": { "100": { "checksum": "", "enabled": 1 } }, "jetty": { "100": { "checksum": "", "enabled": 1 } }, "jockey": { "100": { "checksum": "", "enabled": 1 } }, "journalctl": { "100": { "checksum": "", "enabled": 1 } }, "kdump": { "100": { "checksum": "", "enabled": 1 } }, "kdumpgui": { "100": { "checksum": "", "enabled": 1 } }, "keepalived": { "100": { "checksum": "", "enabled": 1 } }, "kerberos": { "100": { "checksum": "", "enabled": 1 } }, "keyboardd": { "100": { "checksum": "", "enabled": 1 } }, "keystone": { "100": { "checksum": "", "enabled": 1 } }, "kismet": { "100": { "checksum": "", "enabled": 1 } }, "kmscon": { "100": { "checksum": "", "enabled": 1 } }, "kpatch": { "100": { "checksum": "", "enabled": 1 } }, "ksmtuned": { "100": { "checksum": "", "enabled": 1 } }, "ktalk": { "100": { "checksum": "", "enabled": 1 } }, "l2tp": { "100": { "checksum": "", "enabled": 1 } }, "ldap": { "100": { "checksum": "", "enabled": 1 } }, "libraries": { "100": { "checksum": "", "enabled": 1 } }, "likewise": { "100": { "checksum": "", "enabled": 1 } }, "linuxptp": { "100": { "checksum": "", "enabled": 1 } }, "lircd": { "100": { "checksum": "", "enabled": 1 } }, "livecd": { "100": { "checksum": "", "enabled": 1 } }, "lldpad": { "100": { "checksum": "", "enabled": 1 } }, "loadkeys": { "100": { "checksum": "", "enabled": 1 } }, "locallogin": { "100": { "checksum": "", "enabled": 1 } }, "lockdev": { "100": { "checksum": "", "enabled": 1 } }, "logadm": { "100": { "checksum": "", "enabled": 1 } }, "logging": { "100": { "checksum": "", "enabled": 1 } }, "logrotate": { "100": { "checksum": "", "enabled": 1 } }, "logwatch": { "100": { "checksum": "", "enabled": 1 } }, "lpd": { "100": { "checksum": "", "enabled": 1 } }, "lsm": { "100": { "checksum": "", "enabled": 1 } }, "lttng-tools": { "100": { "checksum": "", "enabled": 1 } }, "lvm": { "100": { "checksum": "", "enabled": 1 } }, "mailman": { "100": { "checksum": "", "enabled": 1 } }, "mailscanner": { "100": { "checksum": "", "enabled": 1 } }, "man2html": { "100": { "checksum": "", "enabled": 1 } }, "mandb": { "100": { "checksum": "", "enabled": 1 } }, "mcelog": { "100": { "checksum": "", "enabled": 1 } }, "mediawiki": { "100": { "checksum": "", "enabled": 1 } }, "memcached": { "100": { "checksum": "", "enabled": 1 } }, "milter": { "100": { "checksum": "", "enabled": 1 } }, "minidlna": { "100": { "checksum": "", "enabled": 1 } }, "minissdpd": { "100": { "checksum": "", "enabled": 1 } }, "mip6d": { "100": { "checksum": "", "enabled": 1 } }, "mirrormanager": { "100": { "checksum": "", "enabled": 1 } }, "miscfiles": { "100": { "checksum": "", "enabled": 1 } }, "mock": { "100": { "checksum": "", "enabled": 1 } }, "modemmanager": { "100": { "checksum": "", "enabled": 1 } }, "modutils": { "100": { "checksum": "", "enabled": 1 } }, "mojomojo": { "100": { "checksum": "", "enabled": 1 } }, "mon_statd": { "100": { "checksum": "", "enabled": 1 } }, "mongodb": { "100": { "checksum": "", "enabled": 1 } }, "motion": { "100": { "checksum": "", "enabled": 1 } }, "mount": { "100": { "checksum": "", "enabled": 1 } }, "mozilla": { "100": { "checksum": "", "enabled": 1 } }, "mpd": { "100": { "checksum": "", "enabled": 1 } }, "mplayer": { "100": { "checksum": "", "enabled": 1 } }, "mrtg": { "100": { "checksum": "", "enabled": 1 } }, "mta": { "100": { "checksum": "", "enabled": 1 } }, "munin": { "100": { "checksum": "", "enabled": 1 } }, "mysql": { "100": { "checksum": "", "enabled": 1 } }, "mythtv": { "100": { "checksum": "", "enabled": 1 } }, "nagios": { "100": { "checksum": "", "enabled": 1 } }, "namespace": { "100": { "checksum": "", "enabled": 1 } }, "ncftool": { "100": { "checksum": "", "enabled": 1 } }, "netlabel": { "100": { "checksum": "", "enabled": 1 } }, "netutils": { "100": { "checksum": "", "enabled": 1 } }, "networkmanager": { "100": { "checksum": "", "enabled": 1 } }, "ninfod": { "100": { "checksum": "", "enabled": 1 } }, "nis": { "100": { "checksum": "", "enabled": 1 } }, "nova": { "100": { "checksum": "", "enabled": 1 } }, "nscd": { "100": { "checksum": "", "enabled": 1 } }, "nsd": { "100": { "checksum": "", "enabled": 1 } }, "nslcd": { "100": { "checksum": "", "enabled": 1 } }, "ntop": { "100": { "checksum": "", "enabled": 1 } }, "ntp": { "100": { "checksum": "", "enabled": 1 } }, "numad": { "100": { "checksum": "", "enabled": 1 } }, "nut": { "100": { "checksum": "", "enabled": 1 } }, "nx": { "100": { "checksum": "", "enabled": 1 } }, "obex": { "100": { "checksum": "", "enabled": 1 } }, "oddjob": { "100": { "checksum": "", "enabled": 1 } }, "openct": { "100": { "checksum": "", "enabled": 1 } }, "opendnssec": { "100": { "checksum": "", "enabled": 1 } }, "openhpid": { "100": { "checksum": "", "enabled": 1 } }, "openshift": { "100": { "checksum": "", "enabled": 1 } }, "openshift-origin": { "100": { "checksum": "", "enabled": 1 } }, "opensm": { "100": { "checksum": "", "enabled": 1 } }, "openvpn": { "100": { "checksum": "", "enabled": 1 } }, "openvswitch": { "100": { "checksum": "", "enabled": 1 } }, "openwsman": { "100": { "checksum": "", "enabled": 1 } }, "oracleasm": { "100": { "checksum": "", "enabled": 1 } }, "osad": { "100": { "checksum": "", "enabled": 1 } }, "pads": { "100": { "checksum": "", "enabled": 1 } }, "passenger": { "100": { "checksum": "", "enabled": 1 } }, "pcmcia": { "100": { "checksum": "", "enabled": 1 } }, "pcp": { "100": { "checksum": "", "enabled": 1 } }, "pcscd": { "100": { "checksum": "", "enabled": 1 } }, "pegasus": { "100": { "checksum": "", "enabled": 1 } }, "permissivedomains": { "100": { "checksum": "", "enabled": 1 } }, "pesign": { "100": { "checksum": "", "enabled": 1 } }, "pingd": { "100": { "checksum": "", "enabled": 1 } }, "piranha": { "100": { "checksum": "", "enabled": 1 } }, "pkcs": { "100": { "checksum": "", "enabled": 1 } }, "pki": { "100": { "checksum": "", "enabled": 1 } }, "plymouthd": { "100": { "checksum": "", "enabled": 1 } }, "podsleuth": { "100": { "checksum": "", "enabled": 1 } }, "policykit": { "100": { "checksum": "", "enabled": 1 } }, "polipo": { "100": { "checksum": "", "enabled": 1 } }, "portmap": { "100": { "checksum": "", "enabled": 1 } }, "portreserve": { "100": { "checksum": "", "enabled": 1 } }, "postfix": { "100": { "checksum": "", "enabled": 1 } }, "postgresql": { "100": { "checksum": "", "enabled": 1 } }, "postgrey": { "100": { "checksum": "", "enabled": 1 } }, "ppp": { "100": { "checksum": "", "enabled": 1 } }, "prelink": { "100": { "checksum": "", "enabled": 1 } }, "prelude": { "100": { "checksum": "", "enabled": 1 } }, "privoxy": { "100": { "checksum": "", "enabled": 1 } }, "procmail": { "100": { "checksum": "", "enabled": 1 } }, "prosody": { "100": { "checksum": "", "enabled": 1 } }, "psad": { "100": { "checksum": "", "enabled": 1 } }, "ptchown": { "100": { "checksum": "", "enabled": 1 } }, "publicfile": { "100": { "checksum": "", "enabled": 1 } }, "pulseaudio": { "100": { "checksum": "", "enabled": 1 } }, "puppet": { "100": { "checksum": "", "enabled": 1 } }, "pwauth": { "100": { "checksum": "", "enabled": 1 } }, "qmail": { "100": { "checksum": "", "enabled": 1 } }, "qpid": { "100": { "checksum": "", "enabled": 1 } }, "quantum": { "100": { "checksum": "", "enabled": 1 } }, "quota": { "100": { "checksum": "", "enabled": 1 } }, "rabbitmq": { "100": { "checksum": "", "enabled": 1 } }, "radius": { "100": { "checksum": "", "enabled": 1 } }, "radvd": { "100": { "checksum": "", "enabled": 1 } }, "raid": { "100": { "checksum": "", "enabled": 1 } }, "rasdaemon": { "100": { "checksum": "", "enabled": 1 } }, "rdisc": { "100": { "checksum": "", "enabled": 1 } }, "readahead": { "100": { "checksum": "", "enabled": 1 } }, "realmd": { "100": { "checksum": "", "enabled": 1 } }, "redis": { "100": { "checksum": "", "enabled": 1 } }, "remotelogin": { "100": { "checksum": "", "enabled": 1 } }, "restraint": { "400": { "checksum": "", "enabled": 1 } }, "rhcs": { "100": { "checksum": "", "enabled": 1 } }, "rhev": { "100": { "checksum": "", "enabled": 1 } }, "rhgb": { "100": { "checksum": "", "enabled": 1 } }, "rhnsd": { "100": { "checksum": "", "enabled": 1 } }, "rhsmcertd": { "100": { "checksum": "", "enabled": 1 } }, "rhts": { "400": { "checksum": "", "enabled": 1 } }, "ricci": { "100": { "checksum": "", "enabled": 1 } }, "rkhunter": { "100": { "checksum": "", "enabled": 1 } }, "rlogin": { "100": { "checksum": "", "enabled": 1 } }, "rngd": { "100": { "checksum": "", "enabled": 1 } }, "roundup": { "100": { "checksum": "", "enabled": 1 } }, "rpc": { "100": { "checksum": "", "enabled": 1 } }, "rpcbind": { "100": { "checksum": "", "enabled": 1 } }, "rpm": { "100": { "checksum": "", "enabled": 1 } }, "rshd": { "100": { "checksum": "", "enabled": 1 } }, "rssh": { "100": { "checksum": "", "enabled": 1 } }, "rsync": { "100": { "checksum": "", "enabled": 1 } }, "rtas": { "100": { "checksum": "", "enabled": 1 } }, "rtkit": { "100": { "checksum": "", "enabled": 1 } }, "rwho": { "100": { "checksum": "", "enabled": 1 } }, "samba": { "100": { "checksum": "", "enabled": 1 } }, "sambagui": { "100": { "checksum": "", "enabled": 1 } }, "sandboxX": { "100": { "checksum": "", "enabled": 1 } }, "sanlock": { "100": { "checksum": "", "enabled": 1 } }, "sasl": { "100": { "checksum": "", "enabled": 1 } }, "sbd": { "100": { "checksum": "", "enabled": 1 } }, "sblim": { "100": { "checksum": "", "enabled": 1 } }, "screen": { "100": { "checksum": "", "enabled": 1 } }, "secadm": { "100": { "checksum": "", "enabled": 1 } }, "sectoolm": { "100": { "checksum": "", "enabled": 1 } }, "selinuxutil": { "100": { "checksum": "", "enabled": 1 } }, "sendmail": { "100": { "checksum": "", "enabled": 1 } }, "sensord": { "100": { "checksum": "", "enabled": 1 } }, "setrans": { "100": { "checksum": "", "enabled": 1 } }, "setroubleshoot": { "100": { "checksum": "", "enabled": 1 } }, "seunshare": { "100": { "checksum": "", "enabled": 1 } }, "sge": { "100": { "checksum": "", "enabled": 1 } }, "shorewall": { "100": { "checksum": "", "enabled": 1 } }, "slocate": { "100": { "checksum": "", "enabled": 1 } }, "slpd": { "100": { "checksum": "", "enabled": 1 } }, "smartmon": { "100": { "checksum": "", "enabled": 1 } }, "smokeping": { "100": { "checksum": "", "enabled": 1 } }, "smoltclient": { "100": { "checksum": "", "enabled": 1 } }, "smsd": { "100": { "checksum": "", "enabled": 1 } }, "snapper": { "100": { "checksum": "", "enabled": 1 } }, "snmp": { "100": { "checksum": "", "enabled": 1 } }, "snort": { "100": { "checksum": "", "enabled": 1 } }, "sosreport": { "100": { "checksum": "", "enabled": 1 } }, "soundserver": { "100": { "checksum": "", "enabled": 1 } }, "spamassassin": { "100": { "checksum": "", "enabled": 1 } }, "speech-dispatcher": { "100": { "checksum": "", "enabled": 1 } }, "squid": { "100": { "checksum": "", "enabled": 1 } }, "ssh": { "100": { "checksum": "", "enabled": 1 } }, "sssd": { "100": { "checksum": "", "enabled": 1 } }, "staff": { "100": { "checksum": "", "enabled": 1 } }, "stapserver": { "100": { "checksum": "", "enabled": 1 } }, "stunnel": { "100": { "checksum": "", "enabled": 1 } }, "su": { "100": { "checksum": "", "enabled": 1 } }, "sudo": { "100": { "checksum": "", "enabled": 1 } }, "svnserve": { "100": { "checksum": "", "enabled": 1 } }, "swift": { "100": { "checksum": "", "enabled": 1 } }, "sysadm": { "100": { "checksum": "", "enabled": 1 } }, "sysadm_secadm": { "100": { "checksum": "", "enabled": 1 } }, "sysnetwork": { "100": { "checksum": "", "enabled": 1 } }, "sysstat": { "100": { "checksum": "", "enabled": 1 } }, "systemd": { "100": { "checksum": "", "enabled": 1 } }, "tangd": { "100": { "checksum": "", "enabled": 1 } }, "targetd": { "100": { "checksum": "", "enabled": 1 } }, "tcpd": { "100": { "checksum": "", "enabled": 1 } }, "tcsd": { "100": { "checksum": "", "enabled": 1 } }, "telepathy": { "100": { "checksum": "", "enabled": 1 } }, "telnet": { "100": { "checksum": "", "enabled": 1 } }, "tftp": { "100": { "checksum": "", "enabled": 1 } }, "tgtd": { "100": { "checksum": "", "enabled": 1 } }, "thin": { "100": { "checksum": "", "enabled": 1 } }, "thumb": { "100": { "checksum": "", "enabled": 1 } }, "tlp": { "100": { "checksum": "", "enabled": 1 } }, "tmpreaper": { "100": { "checksum": "", "enabled": 1 } }, "tomcat": { "100": { "checksum": "", "enabled": 1 } }, "tor": { "100": { "checksum": "", "enabled": 1 } }, "tuned": { "100": { "checksum": "", "enabled": 1 } }, "tvtime": { "100": { "checksum": "", "enabled": 1 } }, "udev": { "100": { "checksum": "", "enabled": 1 } }, "ulogd": { "100": { "checksum": "", "enabled": 1 } }, "uml": { "100": { "checksum": "", "enabled": 1 } }, "unconfined": { "100": { "checksum": "", "enabled": 1 } }, "unconfineduser": { "100": { "checksum": "", "enabled": 1 } }, "unlabelednet": { "100": { "checksum": "", "enabled": 1 } }, "unprivuser": { "100": { "checksum": "", "enabled": 1 } }, "updfstab": { "100": { "checksum": "", "enabled": 1 } }, "usbmodules": { "100": { "checksum": "", "enabled": 1 } }, "usbmuxd": { "100": { "checksum": "", "enabled": 1 } }, "userdomain": { "100": { "checksum": "", "enabled": 1 } }, "userhelper": { "100": { "checksum": "", "enabled": 1 } }, "usermanage": { "100": { "checksum": "", "enabled": 1 } }, "usernetctl": { "100": { "checksum": "", "enabled": 1 } }, "uucp": { "100": { "checksum": "", "enabled": 1 } }, "uuidd": { "100": { "checksum": "", "enabled": 1 } }, "varnishd": { "100": { "checksum": "", "enabled": 1 } }, "vdagent": { "100": { "checksum": "", "enabled": 1 } }, "vhostmd": { "100": { "checksum": "", "enabled": 1 } }, "virt": { "100": { "checksum": "", "enabled": 1 } }, "vlock": { "100": { "checksum": "", "enabled": 1 } }, "vmtools": { "100": { "checksum": "", "enabled": 1 } }, "vmware": { "100": { "checksum": "", "enabled": 1 } }, "vnstatd": { "100": { "checksum": "", "enabled": 1 } }, "vpn": { "100": { "checksum": "", "enabled": 1 } }, "w3c": { "100": { "checksum": "", "enabled": 1 } }, "watchdog": { "100": { "checksum": "", "enabled": 1 } }, "wdmd": { "100": { "checksum": "", "enabled": 1 } }, "webadm": { "100": { "checksum": "", "enabled": 1 } }, "webalizer": { "100": { "checksum": "", "enabled": 1 } }, "wine": { "100": { "checksum": "", "enabled": 1 } }, "wireshark": { "100": { "checksum": "", "enabled": 1 } }, "xen": { "100": { "checksum": "", "enabled": 1 } }, "xguest": { "100": { "checksum": "", "enabled": 1 } }, "xserver": { "100": { "checksum": "", "enabled": 1 } }, "zabbix": { "100": { "checksum": "", "enabled": 1 } }, "zarafa": { "100": { "checksum": "", "enabled": 1 } }, "zebra": { "100": { "checksum": "", "enabled": 1 } }, "zoneminder": { "100": { "checksum": "", "enabled": 1 } }, "zosremote": { "100": { "checksum": "", "enabled": 1 } } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Friday 04 April 2025 21:47:11 -0400 (0:00:02.834) 0:05:01.930 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Friday 04 April 2025 21:47:11 -0400 (0:00:00.088) 0:05:02.019 ********** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Friday 04 April 2025 21:47:11 -0400 (0:00:00.088) 0:05:02.107 ********** TASK [Leave realm] ************************************************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:32 Friday 04 April 2025 21:47:11 -0400 (0:00:00.081) 0:05:02.188 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:40 Friday 04 April 2025 21:47:11 -0400 (0:00:00.114) 0:05:02.303 ********** skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove related packages] ************************************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:44 Friday 04 April 2025 21:47:11 -0400 (0:00:00.111) 0:05:02.415 ********** changed: [managed-node2] => { "changed": true, "changes": { "removed": [ "mssql-server", "mssql-tools*", "unixODBC-devel" ] }, "rc": 0, "results": [ "adutil is not installed", "mssql-server-fts is not installed", "mssql-server-ha is not installed", "powershell is not installed", "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3465.1-1 will be erased\n---> Package mssql-tools18.x86_64 0:18.4.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 msodbcsql18 to be removed - no longer needed by mssql-tools18\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 msodbcsql18.x86_64 0:18.4.1.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-tools18 x86_64 18.4.1.1-1 @packages-microsoft-com-prod 718 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 msodbcsql18 x86_64 18.4.1.1-1 @packages-microsoft-com-prod 2.3 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 : mssql-tools18-18.4.1.1-1.x86_64 2/12 \n Erasing : msodbcsql18-18.4.1.1-1.x86_64 3/12 \nODBC Driver 18 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 4/12 \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 : msodbcsql18-18.4.1.1-1.x86_64 1/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 2/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 3/12 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 4/12 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 5/12 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 6/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 7/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 8/12 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 9/12 \n Verifying : mssql-tools18-18.4.1.1-1.x86_64 10/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 11/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 12/12 \n\nRemoved:\n mssql-server.x86_64 0:14.0.3465.1-1 mssql-tools18.x86_64 0:18.4.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 msodbcsql18.x86_64 0:18.4.1.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:57 Friday 04 April 2025 21:47:15 -0400 (0:00:03.399) 0:05:05.814 ********** [WARNING]: Consider using the file module with state=absent rather than running 'rm'. If you need to use command because file is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. changed: [managed-node2] => { "changed": true, "cmd": "rm -rfv /var/opt/mssql* /opt/mssql* /var/log/pacemaker/pacemaker.log /etc/yum.repos.d/packages-microsoft-com-* /tmp/*.j2 /tmp/mssql_data /tmp/mssql_log /etc/systemd/system/multi-user.target.wants/mssql-server.service", "delta": "0:00:00.008193", "end": "2025-04-04 21:47:15.547488", "rc": 0, "start": "2025-04-04 21:47:15.539295" } 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/86aeb33a-2292-424b-b4e5-532ad951cd01’ 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-2906361564-3972068840-3530348511-500/42e7704ae40b0d75de00736cc66b813a_e13c528a-cae2-4fc3-a179-3073eb6d4398’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-2906361564-3972068840-3530348511-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-2906361564-3972068840-3530348511-500/3428e57a-a9d8-4e86-8bf7-e54a9ca5c05a’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-2906361564-3972068840-3530348511-500/Preferred’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-2906361564-3972068840-3530348511-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_133882911692860000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133882911690250000.xel’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/system_health_0_133882911489360000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133882910520670000.xel’ removed ‘/var/opt/mssql/log/log_4.trc’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133882911410000000.xel’ 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_133882911487110000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133882911412820000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133882909836930000.xel’ removed ‘/var/opt/mssql/log/sqlagent.1’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/log_5.trc’ removed ‘/var/opt/mssql/log/sqlagent.2’ 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_133882909806070000.xel’ removed ‘/var/opt/mssql/log/log_1.trc’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133882910518500000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133882909800030000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133882909840080000.xel’ removed ‘/var/opt/mssql/log/errorlog.1’ removed directory: ‘/var/opt/mssql/log’ removed directory: ‘/var/opt/mssql’ removed directory: ‘/opt/mssql/misc’ removed directory: ‘/opt/mssql’ removed directory: ‘/opt/mssql-tools18’ 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] ******************************************* task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:71 Friday 04 April 2025 21:47:15 -0400 (0:00:00.387) 0:05:06.202 ********** ok: [managed-node2] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.651775", "end": "2025-04-04 21:47:16.572270", "rc": 0, "start": "2025-04-04 21:47:15.920495" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Friday 04 April 2025 21:47:16 -0400 (0:00:00.944) 0:05:07.146 ********** changed: [managed-node2] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.835306", "end": "2025-04-04 21:47:18.780109", "rc": 0, "start": "2025-04-04 21:47:16.944803" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=343 changed=38 unreachable=0 failed=0 skipped=578 rescued=0 ignored=1 Friday 04 April 2025 21:47:18 -0400 (0:00:02.217) 0:05:09.364 ********** =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------- 5.67s /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Get the value of the setting writethrough ------------------------------- 5.41s /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location --- 5.40s /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 fedora.linux_system_roles.mssql : Get the setting filelocation defaultlogdir --- 5.38s /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 fedora.linux_system_roles.mssql : Change the edition of MSSQL ----------- 4.97s /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 fedora.linux_system_roles.mssql : Change the password of sa user -------- 4.91s /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Remove related packages ------------------------------------------------- 3.40s /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:44 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 2.83s /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.22s /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts --- 1.63s /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 1.55s /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.54s /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.50s /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 fedora.linux_system_roles.mssql : Ensure the package powershell --------- 1.46s /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.42s /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 1.42s /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Wait for mssql-server to prepare for client connections ----------------- 1.40s /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.39s /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 fedora.linux_system_roles.mssql : Restart the mssql-server service ------ 1.39s /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 fedora.linux_system_roles.mssql : Get the setting network tcpport ------- 1.39s /tmp/collections-zcR/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3