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_2019.yml ******************************************* 1 plays in /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_idempotency_2019.yml PLAY [Ensure that the role is idempotent] ************************************** META: ran handlers TASK [Run tests_idempotency with SQL Server 2019] ****************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_idempotency_2019.yml:15 Friday 16 May 2025 00:50:20 -0400 (0:00:00.049) 0:00:00.049 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:2 Friday 16 May 2025 00:50:20 -0400 (0:00:00.026) 0:00:00.075 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:2 Friday 16 May 2025 00:50:20 -0400 (0:00:00.088) 0:00:00.163 ************ ok: [managed-node2] TASK [Run the role] ************************************************************ task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:17 Friday 16 May 2025 00:50:21 -0400 (0:00:00.713) 0:00:00.877 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:24 Friday 16 May 2025 00:50:21 -0400 (0:00:00.024) 0:00:00.901 ************ 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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:5 Friday 16 May 2025 00:50:21 -0400 (0:00:00.024) 0:00:00.925 ************ TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 16 May 2025 00:50:21 -0400 (0:00:00.388) 0:00:01.314 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 16 May 2025 00:50:21 -0400 (0:00:00.025) 0:00:01.339 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 16 May 2025 00:50:21 -0400 (0:00:00.023) 0:00:01.363 ************ 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-55r/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-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 16 May 2025 00:50:21 -0400 (0:00:00.062) 0:00:01.425 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 16 May 2025 00:50:21 -0400 (0:00:00.020) 0:00:01.446 ************ skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 16 May 2025 00:50:21 -0400 (0:00:00.021) 0:00:01.467 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 16 May 2025 00:50:21 -0400 (0:00:00.022) 0:00:01.490 ************ skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 16 May 2025 00:50:21 -0400 (0:00:00.025) 0:00:01.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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 16 May 2025 00:50:21 -0400 (0:00:00.026) 0:00:01.542 ************ skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 16 May 2025 00:50:21 -0400 (0:00:00.026) 0:00:01.568 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 16 May 2025 00:50:21 -0400 (0:00:00.021) 0:00:01.590 ************ skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 16 May 2025 00:50:21 -0400 (0:00:00.020) 0:00:01.611 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 16 May 2025 00:50:21 -0400 (0:00:00.022) 0:00:01.633 ************ skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 16 May 2025 00:50:22 -0400 (0:00:00.020) 0:00:01.654 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 16 May 2025 00:50:22 -0400 (0:00:00.021) 0:00:01.676 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 16 May 2025 00:50:22 -0400 (0:00:00.025) 0:00:01.701 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 16 May 2025 00:50:22 -0400 (0:00:00.030) 0:00:01.732 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 16 May 2025 00:50:22 -0400 (0:00:00.022) 0:00:01.754 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 16 May 2025 00:50:22 -0400 (0:00:00.020) 0:00:01.775 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 16 May 2025 00:50:22 -0400 (0:00:00.022) 0:00:01.798 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 16 May 2025 00:50:22 -0400 (0:00:00.021) 0:00:01.820 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 16 May 2025 00:50:22 -0400 (0:00:00.024) 0:00:01.844 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 16 May 2025 00:50:22 -0400 (0:00:00.020) 0:00:01.865 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 16 May 2025 00:50:23 -0400 (0:00:01.443) 0:00:03.308 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 16 May 2025 00:50:23 -0400 (0:00:00.115) 0:00:03.424 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 16 May 2025 00:50:23 -0400 (0:00:00.058) 0:00:03.483 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 16 May 2025 00:50:23 -0400 (0:00:00.064) 0:00:03.547 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 16 May 2025 00:50:24 -0400 (0:00:00.107) 0:00:03.655 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 16 May 2025 00:50:24 -0400 (0:00:00.713) 0:00:04.369 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 16 May 2025 00:50:24 -0400 (0:00:00.059) 0:00:04.428 ************ 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 2019] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 16 May 2025 00:50:24 -0400 (0:00:00.061) 0:00:04.490 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 16 May 2025 00:50:24 -0400 (0:00:00.061) 0:00:04.551 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 16 May 2025 00:50:24 -0400 (0:00:00.059) 0:00:04.610 ************ 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 2019] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 16 May 2025 00:50:25 -0400 (0:00:00.074) 0:00:04.685 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 16 May 2025 00:50:25 -0400 (0:00:00.062) 0:00:04.747 ************ changed: [managed-node2] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 16 May 2025 00:50:25 -0400 (0:00:00.471) 0:00:05.218 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 16 May 2025 00:50:25 -0400 (0:00:00.058) 0:00:05.277 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 16 May 2025 00:50:26 -0400 (0:00:00.829) 0:00:06.106 ************ changed: [managed-node2] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "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.x86_64 0:15.0.4375.4-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: python3 for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: lsof for package: mssql-server-15.0.4375.4-1.x86_64\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be installed\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be installed\n---> Package lsof.x86_64 0:4.87-6.el7 will be installed\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be installed\n--> Processing Dependency: python3-libs(x86-64) = 3.6.8-21.el7_9 for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-setuptools for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-pip for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: libpython3.6m.so.1.0()(64bit) for package: python3-3.6.8-21.el7_9.x86_64\n--> Running transaction check\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be installed\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be installed\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 15.0.4375.4-1 packages-microsoft-com-mssql-server-2019\n 229 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 base 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 updates 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 updates 41 k\n gdb x86_64 7.6.1-120.el7 base 2.4 M\n libatomic x86_64 4.8.5-44.el7 base 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 updates 170 k\n lsof x86_64 4.87-6.el7 base 331 k\n python3 x86_64 3.6.8-21.el7_9 updates 71 k\n python3-libs x86_64 3.6.8-21.el7_9 updates 7.0 M\n python3-pip noarch 9.0.3-8.el7 base 1.6 M\n python3-setuptools noarch 39.2.0-10.el7 base 629 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+11 Dependent packages)\n\nTotal download size: 241 M\nInstalled size: 1.2 G\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 66 MB/s | 241 MB 00:03 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python3-libs-3.6.8-21.el7_9.x86_64 1/12 \n Installing : python3-setuptools-39.2.0-10.el7.noarch 2/12 \n Installing : python3-pip-9.0.3-8.el7.noarch 3/12 \n Installing : python3-3.6.8-21.el7_9.x86_64 4/12 \n Installing : libatomic-4.8.5-44.el7.x86_64 5/12 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/12 \n Installing : gdb-7.6.1-120.el7.x86_64 7/12 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 8/12 \n Installing : lsof-4.87-6.el7.x86_64 9/12 \n Installing : bzip2-1.0.6-13.el7.x86_64 10/12 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 11/12 \n Installing : mssql-server-15.0.4375.4-1.x86_64 12/12 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\n Verifying : python3-3.6.8-21.el7_9.x86_64 1/12 \n Verifying : mssql-server-15.0.4375.4-1.x86_64 2/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 3/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 4/12 \n Verifying : lsof-4.87-6.el7.x86_64 5/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 6/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 7/12 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 8/12 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 9/12 \n Verifying : python3-pip-9.0.3-8.el7.noarch 10/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 12/12 \n\nInstalled:\n mssql-server.x86_64 0:15.0.4375.4-1 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n lsof.x86_64 0:4.87-6.el7 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 16 May 2025 00:51:07 -0400 (0:00:40.991) 0:00:47.097 ************ 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.005528", "end": "2025-05-16 00:51:07.893745", "rc": 0, "start": "2025-05-16 00:51:07.888217" } TASK [fedora.linux_system_roles.mssql : Check if mssql-server.service is enabled] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:331 Friday 16 May 2025 00:51:07 -0400 (0:00:00.516) 0:00:47.613 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "mssql-server.service" ], "delta": "0:00:00.008564", "end": "2025-05-16 00:51:08.240385", "failed_when_result": false, "rc": 1, "start": "2025-05-16 00:51:08.231821" } STDOUT: disabled MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if mssql-server.service is running] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:338 Friday 16 May 2025 00:51:08 -0400 (0:00:00.347) 0:00:47.961 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "mssql-server.service" ], "delta": "0:00:00.004541", "end": "2025-05-16 00:51:08.577937", "failed_when_result": false, "rc": 3, "start": "2025-05-16 00:51:08.573396" } STDOUT: unknown MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:345 Friday 16 May 2025 00:51:08 -0400 (0:00:00.333) 0:00:48.294 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Friday 16 May 2025 00:51:08 -0400 (0:00:00.063) 0:00:48.357 ************ ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:368 Friday 16 May 2025 00:51:08 -0400 (0:00:00.067) 0:00:48.425 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:393 Friday 16 May 2025 00:51:14 -0400 (0:00:05.912) 0:00:54.338 ************ included: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node2 included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 16 May 2025 00:51:14 -0400 (0:00:00.215) 0:00:54.554 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 16 May 2025 00:51:16 -0400 (0:00:01.097) 0:00:55.651 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 16 May 2025 00:51:16 -0400 (0:00:00.120) 0:00:55.772 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 16 May 2025 00:51:16 -0400 (0:00:00.195) 0:00:55.967 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003164", "end": "2025-05-16 00:51:16.679740", "failed_when_result": false, "rc": 1, "start": "2025-05-16 00:51:16.676576" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 16 May 2025 00:51:16 -0400 (0:00:00.559) 0:00:56.527 ************ 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.205008", "end": "2025-05-16 00:51:19.393235", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:51:19.188227" } 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 16 May 2025 00:51:19 -0400 (0:00:02.757) 0:00:59.285 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 16 May 2025 00:51:19 -0400 (0:00:00.204) 0:00:59.489 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 16 May 2025 00:51:20 -0400 (0:00:00.619) 0:01:00.109 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 16 May 2025 00:51:20 -0400 (0:00:00.140) 0:01:00.250 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 16 May 2025 00:51:20 -0400 (0:00:00.178) 0:01:00.429 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002875", "end": "2025-05-16 00:51:21.154158", "failed_when_result": false, "rc": 1, "start": "2025-05-16 00:51:21.151283" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 16 May 2025 00:51:21 -0400 (0:00:00.619) 0:01:01.049 ************ changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/tmp/mssql_log" ], "delta": "0:00:00.156280", "end": "2025-05-16 00:51:22.112113", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:51:21.955833" } 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 16 May 2025 00:51:22 -0400 (0:00:00.860) 0:01:01.909 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:408 Friday 16 May 2025 00:51:22 -0400 (0:00:00.107) 0:01:02.016 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:422 Friday 16 May 2025 00:51:22 -0400 (0:00:00.102) 0:01:02.119 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:433 Friday 16 May 2025 00:51:22 -0400 (0:00:00.096) 0:01:02.215 ************ 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" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:439 Friday 16 May 2025 00:51:23 -0400 (0:00:00.800) 0:01:03.015 ************ ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-05-16 00:43:44 EDT", "ActiveEnterTimestampMonotonic": "18881887", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice network.target dbus.service systemd-journald.socket systemd-sysctl.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-05-16 00:43:43 EDT", "AssertTimestampMonotonic": "18333041", "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-05-16 00:43:43 EDT", "ConditionTimestampMonotonic": "18333039", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "874", "ExecMainStartTimestamp": "Fri 2025-05-16 00:43:43 EDT", "ExecMainStartTimestampMonotonic": "18333985", "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-05-16 00:43:43 EDT", "InactiveExitTimestampMonotonic": "18334057", "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": "874", "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 dbus.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-05-16 00:43:44 EDT", "WatchdogTimestampMonotonic": "18881651", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:446 Friday 16 May 2025 00:51:24 -0400 (0:00:00.832) 0:01:03.848 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.086358", "end": "2025-05-16 00:51:24.587805", "rc": 0, "start": "2025-05-16 00:51:24.501447" } 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:459 Friday 16 May 2025 00:51:24 -0400 (0:00:00.512) 0:01:04.360 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 16 May 2025 00:51:24 -0400 (0:00:00.093) 0:01:04.454 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:481 Friday 16 May 2025 00:51:24 -0400 (0:00:00.093) 0:01:04.548 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:491 Friday 16 May 2025 00:51:25 -0400 (0:00:00.106) 0:01:04.654 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 16 May 2025 00:51:25 -0400 (0:00:00.434) 0:01:05.088 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 16 May 2025 00:51:25 -0400 (0:00:00.069) 0:01:05.158 ************ 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: dl.fedoraproject.org\n * epel-debuginfo: dl.fedoraproject.org\n * epel-source: dl.fedoraproject.org\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.0 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" ] } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:525 Friday 16 May 2025 00:51:30 -0400 (0:00:04.633) 0:01:09.792 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:539 Friday 16 May 2025 00:51:30 -0400 (0:00:00.073) 0:01:09.865 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 16 May 2025 00:51:30 -0400 (0:00:00.059) 0:01:09.925 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 16 May 2025 00:51:30 -0400 (0:00:00.119) 0:01:10.044 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 16 May 2025 00:51:30 -0400 (0:00:00.058) 0:01:10.103 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:580 Friday 16 May 2025 00:51:30 -0400 (0:00:00.057) 0:01:10.160 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 16 May 2025 00:51:30 -0400 (0:00:00.062) 0:01:10.223 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 16 May 2025 00:51:30 -0400 (0:00:00.058) 0:01:10.282 ************ ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.004886", "end": "2025-05-16 00:51:30.908324", "failed_when_result": false, "rc": 1, "start": "2025-05-16 00:51:30.903438" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:605 Friday 16 May 2025 00:51:30 -0400 (0:00:00.343) 0:01:10.625 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:612 Friday 16 May 2025 00:51:31 -0400 (0:00:00.074) 0:01:10.700 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:625 Friday 16 May 2025 00:51:31 -0400 (0:00:00.061) 0:01:10.761 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 16 May 2025 00:51:31 -0400 (0:00:00.059) 0:01:10.821 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:635 Friday 16 May 2025 00:51:31 -0400 (0:00:00.072) 0:01:10.894 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:650 Friday 16 May 2025 00:51:31 -0400 (0:00:00.061) 0:01:10.956 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:657 Friday 16 May 2025 00:51:31 -0400 (0:00:00.059) 0:01:11.015 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:665 Friday 16 May 2025 00:51:31 -0400 (0:00:00.059) 0:01:11.075 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:686 Friday 16 May 2025 00:51:31 -0400 (0:00:00.061) 0:01:11.136 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:693 Friday 16 May 2025 00:51:31 -0400 (0:00:00.058) 0:01:11.195 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 16 May 2025 00:51:31 -0400 (0:00:00.060) 0:01:11.255 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:718 Friday 16 May 2025 00:51:31 -0400 (0:00:00.059) 0:01:11.315 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Friday 16 May 2025 00:51:31 -0400 (0:00:00.059) 0:01:11.375 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 16 May 2025 00:51:31 -0400 (0:00:00.063) 0:01:11.439 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:750 Friday 16 May 2025 00:51:31 -0400 (0:00:00.059) 0:01:11.498 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 16 May 2025 00:51:31 -0400 (0:00:00.112) 0:01:11.611 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003004", "end": "2025-05-16 00:51:32.233664", "failed_when_result": false, "rc": 1, "start": "2025-05-16 00:51:32.230660" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 16 May 2025 00:51:32 -0400 (0:00:00.347) 0:01:11.959 ************ changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "0.0.0.0" ], "delta": "0:00:00.118032", "end": "2025-05-16 00:51:32.707067", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:51:32.589035" } 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 16 May 2025 00:51:32 -0400 (0:00:00.473) 0:01:12.432 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:757 Friday 16 May 2025 00:51:32 -0400 (0:00:00.059) 0:01:12.492 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:764 Friday 16 May 2025 00:51:32 -0400 (0:00:00.059) 0:01:12.552 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:776 Friday 16 May 2025 00:51:32 -0400 (0:00:00.062) 0:01:12.614 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 16 May 2025 00:51:33 -0400 (0:00:00.108) 0:01:12.723 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003038", "end": "2025-05-16 00:51:33.346034", "failed_when_result": false, "rc": 1, "start": "2025-05-16 00:51:33.342996" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 16 May 2025 00:51:33 -0400 (0:00:00.355) 0:01:13.079 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.121966", "end": "2025-05-16 00:51:33.840088", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:51:33.718122" } 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 16 May 2025 00:51:33 -0400 (0:00:00.496) 0:01:13.575 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:782 Friday 16 May 2025 00:51:34 -0400 (0:00:00.072) 0:01:13.647 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:802 Friday 16 May 2025 00:51:34 -0400 (0:00:00.094) 0:01:13.741 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 16 May 2025 00:51:34 -0400 (0:00:00.148) 0:01:13.890 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003049", "end": "2025-05-16 00:51:34.545985", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:51:34.542936" } STDOUT: enabled = false TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 16 May 2025 00:51:34 -0400 (0:00:00.410) 0:01:14.300 ************ changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "True" ], "delta": "0:00:00.121482", "end": "2025-05-16 00:51:35.093475", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:51:34.971993" } 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 16 May 2025 00:51:35 -0400 (0:00:00.542) 0:01:14.843 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:809 Friday 16 May 2025 00:51:35 -0400 (0:00:00.079) 0:01:14.923 ************ 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:15.0.4375.4-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 15.0.4375.4-1 packages-microsoft-com-mssql-server-2019 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-15.0.4375.4-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-15.0.4375.4-1.x86_64 1/1 \n\nInstalled:\n mssql-server-fts.x86_64 0:15.0.4375.4-1 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 16 May 2025 00:52:03 -0400 (0:00:28.684) 0:01:43.607 ************ 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 56 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" ] } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:825 Friday 16 May 2025 00:52:17 -0400 (0:00:13.560) 0:01:57.168 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003165", "end": "2025-05-16 00:52:18.090497", "failed_when_result": false, "rc": 1, "start": "2025-05-16 00:52:18.087332" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Friday 16 May 2025 00:52:18 -0400 (0:00:00.689) 0:01:57.858 ************ changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "on" ], "delta": "0:00:00.119404", "end": "2025-05-16 00:52:18.680278", "rc": 0, "start": "2025-05-16 00:52:18.560874" } 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:838 Friday 16 May 2025 00:52:18 -0400 (0:00:00.595) 0:01:58.453 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:846 Friday 16 May 2025 00:52:18 -0400 (0:00:00.092) 0:01:58.546 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 16 May 2025 00:52:19 -0400 (0:00:00.167) 0:01:58.713 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004196", "end": "2025-05-16 00:52:20.502436", "failed_when_result": false, "rc": 1, "start": "2025-05-16 00:52:19.498240" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 16 May 2025 00:52:20 -0400 (0:00:01.544) 0:02:00.258 ************ changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.alternatewritethrough", "0" ], "delta": "0:00:00.120970", "end": "2025-05-16 00:52:21.240583", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:52:21.119613" } 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 16 May 2025 00:52:21 -0400 (0:00:00.879) 0:02:01.138 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:852 Friday 16 May 2025 00:52:21 -0400 (0:00:00.101) 0:02:01.239 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 16 May 2025 00:52:21 -0400 (0:00:00.225) 0:02:01.465 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003179", "end": "2025-05-16 00:52:22.221257", "failed_when_result": false, "rc": 1, "start": "2025-05-16 00:52:22.218078" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 16 May 2025 00:52:22 -0400 (0:00:00.499) 0:02:01.964 ************ changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "1" ], "delta": "0:00:00.119295", "end": "2025-05-16 00:52:22.713428", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:52:22.594133" } 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 16 May 2025 00:52:22 -0400 (0:00:00.491) 0:02:02.455 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:862 Friday 16 May 2025 00:52:22 -0400 (0:00:00.079) 0:02:02.535 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:870 Friday 16 May 2025 00:52:22 -0400 (0:00:00.082) 0:02:02.618 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:878 Friday 16 May 2025 00:52:23 -0400 (0:00:00.113) 0:02:02.731 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:885 Friday 16 May 2025 00:52:23 -0400 (0:00:00.091) 0:02:02.822 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 16 May 2025 00:52:23 -0400 (0:00:00.099) 0:02:02.922 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:901 Friday 16 May 2025 00:52:23 -0400 (0:00:00.166) 0:02:03.089 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 16 May 2025 00:52:23 -0400 (0:00:00.100) 0:02:03.189 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:923 Friday 16 May 2025 00:52:23 -0400 (0:00:00.108) 0:02:03.298 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:937 Friday 16 May 2025 00:52:23 -0400 (0:00:00.095) 0:02:03.393 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:947 Friday 16 May 2025 00:52:23 -0400 (0:00:00.099) 0:02:03.493 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:952 Friday 16 May 2025 00:52:23 -0400 (0:00:00.096) 0:02:03.590 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:969 Friday 16 May 2025 00:52:24 -0400 (0:00:00.167) 0:02:03.757 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:974 Friday 16 May 2025 00:52:24 -0400 (0:00:00.142) 0:02:03.899 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:979 Friday 16 May 2025 00:52:24 -0400 (0:00:00.110) 0:02:04.010 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:985 Friday 16 May 2025 00:52:24 -0400 (0:00:00.091) 0:02:04.102 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1011 Friday 16 May 2025 00:52:24 -0400 (0:00:00.107) 0:02:04.209 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1032 Friday 16 May 2025 00:52:24 -0400 (0:00:00.104) 0:02:04.314 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Friday 16 May 2025 00:52:24 -0400 (0:00:00.268) 0:02:04.582 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1050 Friday 16 May 2025 00:52:25 -0400 (0:00:00.118) 0:02:04.701 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1056 Friday 16 May 2025 00:52:25 -0400 (0:00:00.116) 0:02:04.817 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1074 Friday 16 May 2025 00:52:25 -0400 (0:00:00.084) 0:02:04.901 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1085 Friday 16 May 2025 00:52:25 -0400 (0:00:00.091) 0:02:04.993 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1105 Friday 16 May 2025 00:52:25 -0400 (0:00:00.133) 0:02:05.127 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1158 Friday 16 May 2025 00:52:25 -0400 (0:00:00.115) 0:02:05.242 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1165 Friday 16 May 2025 00:52:25 -0400 (0:00:00.129) 0:02:05.372 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1172 Friday 16 May 2025 00:52:25 -0400 (0:00:00.089) 0:02:05.461 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1182 Friday 16 May 2025 00:52:25 -0400 (0:00:00.096) 0:02:05.558 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1188 Friday 16 May 2025 00:52:26 -0400 (0:00:00.188) 0:02:05.746 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 16 May 2025 00:52:26 -0400 (0:00:00.125) 0:02:05.872 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1205 Friday 16 May 2025 00:52:26 -0400 (0:00:00.120) 0:02:05.992 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Friday 16 May 2025 00:52:26 -0400 (0:00:00.086) 0:02:06.079 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1227 Friday 16 May 2025 00:52:26 -0400 (0:00:00.101) 0:02:06.181 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1233 Friday 16 May 2025 00:52:26 -0400 (0:00:00.096) 0:02:06.277 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1255 Friday 16 May 2025 00:52:26 -0400 (0:00:00.143) 0:02:06.421 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 16 May 2025 00:52:26 -0400 (0:00:00.115) 0:02:06.537 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 16 May 2025 00:52:27 -0400 (0:00:00.165) 0:02:06.703 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Friday 16 May 2025 00:52:27 -0400 (0:00:00.099) 0:02:06.802 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Friday 16 May 2025 00:52:27 -0400 (0:00:00.112) 0:02:06.915 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 16 May 2025 00:52:27 -0400 (0:00:00.113) 0:02:07.028 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1316 Friday 16 May 2025 00:52:27 -0400 (0:00:00.119) 0:02:07.147 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1323 Friday 16 May 2025 00:52:27 -0400 (0:00:00.101) 0:02:07.249 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1330 Friday 16 May 2025 00:52:27 -0400 (0:00:00.118) 0:02:07.367 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1338 Friday 16 May 2025 00:52:27 -0400 (0:00:00.093) 0:02:07.460 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1345 Friday 16 May 2025 00:52:27 -0400 (0:00:00.162) 0:02:07.623 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 16 May 2025 00:52:28 -0400 (0:00:00.125) 0:02:07.748 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1366 Friday 16 May 2025 00:52:28 -0400 (0:00:00.099) 0:02:07.848 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1373 Friday 16 May 2025 00:52:28 -0400 (0:00:00.179) 0:02:08.027 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1379 Friday 16 May 2025 00:52:28 -0400 (0:00:00.182) 0:02:08.210 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1387 Friday 16 May 2025 00:52:28 -0400 (0:00:00.235) 0:02:08.445 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1400 Friday 16 May 2025 00:52:28 -0400 (0:00:00.103) 0:02:08.548 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1412 Friday 16 May 2025 00:52:29 -0400 (0:00:00.096) 0:02:08.644 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1417 Friday 16 May 2025 00:52:29 -0400 (0:00:00.106) 0:02:08.751 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 16 May 2025 00:52:29 -0400 (0:00:00.091) 0:02:08.842 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1434 Friday 16 May 2025 00:52:29 -0400 (0:00:00.110) 0:02:08.953 ************ changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 16 May 2025 00:52:30 -0400 (0:00:00.862) 0:02:09.816 ************ changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-05-16 00:51:14 EDT", "ActiveEnterTimestampMonotonic": "467718374", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice auditd.service network.target systemd-journald.socket -.mount basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-05-16 00:51:14 EDT", "AssertTimestampMonotonic": "467716446", "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-05-16 00:51:14 EDT", "ConditionTimestampMonotonic": "467716445", "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": "13203", "ExecMainStartTimestamp": "Fri 2025-05-16 00:51:14 EDT", "ExecMainStartTimestampMonotonic": "467717086", "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-05-16 00:51:14 EDT", "InactiveExitTimestampMonotonic": "467718374", "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": "13203", "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": "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-05-16 00:51:14 EDT", "WatchdogTimestampMonotonic": "467718349", "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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1447 Friday 16 May 2025 00:52:31 -0400 (0:00:01.770) 0:02:11.586 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1454 Friday 16 May 2025 00:52:32 -0400 (0:00:00.172) 0:02:11.759 ************ 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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:20 Friday 16 May 2025 00:52:32 -0400 (0:00:00.099) 0:02:11.859 ************ included: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml for managed-node2 TASK [Create service drop-in directory] **************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:3 Friday 16 May 2025 00:52:32 -0400 (0:00:00.339) 0:02:12.198 ************ changed: [managed-node2] => { "changed": true, "gid": 0, "group": "root", "mode": "0755", "owner": "root", "path": "/etc/systemd/system/mssql-server.service.d", "secontext": "unconfined_u:object_r:systemd_unit_file_t:s0", "size": 4096, "state": "directory", "uid": 0 } TASK [Modify the mssql-server service start limit interval and burst] ********** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:11 Friday 16 May 2025 00:52:33 -0400 (0:00:00.519) 0:02:12.718 ************ changed: [managed-node2] => { "changed": true, "checksum": "c2c05a3dc1d516acdec3ead86f9dbbc1adaa39d7", "dest": "/etc/systemd/system/mssql-server.service.d/startlimit.conf", "gid": 0, "group": "root", "md5sum": "4e553ebde6af773b4efe9008c4676a82", "mode": "0644", "owner": "root", "secontext": "system_u:object_r:systemd_unit_file_t:s0", "size": 49, "src": "/root/.ansible/tmp/ansible-tmp-1747371153.13-18270-104953988634942/source", "state": "file", "uid": 0 } TASK [Reload service daemon] *************************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:23 Friday 16 May 2025 00:52:34 -0400 (0:00:01.264) 0:02:13.983 ************ ok: [managed-node2] => { "changed": false, "name": null, "status": {} } TASK [Run again with the same settings - should report not changed] ************ task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:23 Friday 16 May 2025 00:52:35 -0400 (0:00:00.674) 0:02:14.657 ************ TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 16 May 2025 00:52:35 -0400 (0:00:00.543) 0:02:15.200 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 16 May 2025 00:52:35 -0400 (0:00:00.145) 0:02:15.345 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 16 May 2025 00:52:35 -0400 (0:00:00.095) 0:02:15.441 ************ 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-55r/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-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 16 May 2025 00:52:35 -0400 (0:00:00.121) 0:02:15.562 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 16 May 2025 00:52:35 -0400 (0:00:00.058) 0:02:15.621 ************ skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 16 May 2025 00:52:36 -0400 (0:00:00.069) 0:02:15.691 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 16 May 2025 00:52:36 -0400 (0:00:00.092) 0:02:15.783 ************ skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 16 May 2025 00:52:36 -0400 (0:00:00.072) 0:02:15.855 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 16 May 2025 00:52:36 -0400 (0:00:00.080) 0:02:15.936 ************ skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 16 May 2025 00:52:36 -0400 (0:00:00.067) 0:02:16.003 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 16 May 2025 00:52:36 -0400 (0:00:00.060) 0:02:16.064 ************ skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 16 May 2025 00:52:36 -0400 (0:00:00.173) 0:02:16.237 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 16 May 2025 00:52:36 -0400 (0:00:00.093) 0:02:16.331 ************ skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 16 May 2025 00:52:36 -0400 (0:00:00.075) 0:02:16.407 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 16 May 2025 00:52:36 -0400 (0:00:00.098) 0:02:16.505 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 16 May 2025 00:52:36 -0400 (0:00:00.106) 0:02:16.612 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 16 May 2025 00:52:37 -0400 (0:00:00.103) 0:02:16.716 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 16 May 2025 00:52:37 -0400 (0:00:00.094) 0:02:16.810 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 16 May 2025 00:52:37 -0400 (0:00:00.099) 0:02:16.909 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 16 May 2025 00:52:37 -0400 (0:00:00.091) 0:02:17.001 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 16 May 2025 00:52:37 -0400 (0:00:00.102) 0:02:17.104 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 16 May 2025 00:52:37 -0400 (0:00:00.078) 0:02:17.183 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 16 May 2025 00:52:37 -0400 (0:00:00.077) 0:02:17.260 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 16 May 2025 00:52:38 -0400 (0:00:01.341) 0:02:18.601 ************ 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" } ok: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed-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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 16 May 2025 00:52:39 -0400 (0:00:00.291) 0:02:18.892 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 16 May 2025 00:52:39 -0400 (0:00:00.126) 0:02:19.019 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 16 May 2025 00:52:39 -0400 (0:00:00.123) 0:02:19.143 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 16 May 2025 00:52:39 -0400 (0:00:00.287) 0:02:19.430 ************ ok: [managed-node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 16 May 2025 00:52:40 -0400 (0:00:00.749) 0:02:20.180 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 16 May 2025 00:52:40 -0400 (0:00:00.146) 0:02:20.326 ************ 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 2019] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 16 May 2025 00:52:40 -0400 (0:00:00.117) 0:02:20.443 ************ 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 2019] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 16 May 2025 00:52:40 -0400 (0:00:00.107) 0:02:20.551 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 16 May 2025 00:52:41 -0400 (0:00:00.096) 0:02:20.648 ************ 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 2019] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 16 May 2025 00:52:41 -0400 (0:00:00.123) 0:02:20.771 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 16 May 2025 00:52:41 -0400 (0:00:00.084) 0:02:20.856 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 16 May 2025 00:52:41 -0400 (0:00:00.098) 0:02:20.955 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 16 May 2025 00:52:41 -0400 (0:00:00.064) 0:02:21.019 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 16 May 2025 00:52:42 -0400 (0:00:00.647) 0:02:21.666 ************ ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 16 May 2025 00:52:42 -0400 (0:00:00.678) 0:02:22.345 ************ 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.005097", "end": "2025-05-16 00:52:43.218605", "rc": 0, "start": "2025-05-16 00:52:43.213508" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Check if mssql-server.service is enabled] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:331 Friday 16 May 2025 00:52:43 -0400 (0:00:00.690) 0:02:23.036 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "mssql-server.service" ], "delta": "0:00:00.005051", "end": "2025-05-16 00:52:43.791321", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:52:43.786270" } STDOUT: enabled TASK [fedora.linux_system_roles.mssql : Check if mssql-server.service is running] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:338 Friday 16 May 2025 00:52:44 -0400 (0:00:00.615) 0:02:23.651 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "mssql-server.service" ], "delta": "0:00:00.004769", "end": "2025-05-16 00:52:44.449695", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:52:44.444926" } STDOUT: active TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:345 Friday 16 May 2025 00:52:44 -0400 (0:00:00.584) 0:02:24.236 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Friday 16 May 2025 00:52:44 -0400 (0:00:00.108) 0:02:24.344 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:368 Friday 16 May 2025 00:52:44 -0400 (0:00:00.113) 0:02:24.458 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:393 Friday 16 May 2025 00:52:45 -0400 (0:00:00.215) 0:02:24.673 ************ included: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node2 included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 16 May 2025 00:52:45 -0400 (0:00:00.211) 0:02:24.884 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 16 May 2025 00:52:45 -0400 (0:00:00.477) 0:02:25.362 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 16 May 2025 00:52:45 -0400 (0:00:00.104) 0:02:25.467 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 16 May 2025 00:52:46 -0400 (0:00:00.184) 0:02:25.651 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003535", "end": "2025-05-16 00:52:46.331746", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:52:46.328211" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 16 May 2025 00:52:46 -0400 (0:00:00.476) 0:02:26.127 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 16 May 2025 00:52:46 -0400 (0:00:00.168) 0:02:26.296 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 16 May 2025 00:52:46 -0400 (0:00:00.113) 0:02:26.410 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 16 May 2025 00:52:47 -0400 (0:00:00.630) 0:02:27.040 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 16 May 2025 00:52:47 -0400 (0:00:00.143) 0:02:27.184 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 16 May 2025 00:52:47 -0400 (0:00:00.177) 0:02:27.362 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003024", "end": "2025-05-16 00:52:48.008369", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:52:48.005345" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 16 May 2025 00:52:48 -0400 (0:00:00.410) 0:02:27.773 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 16 May 2025 00:52:48 -0400 (0:00:00.090) 0:02:27.863 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:408 Friday 16 May 2025 00:52:48 -0400 (0:00:00.079) 0:02:27.943 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:422 Friday 16 May 2025 00:52:48 -0400 (0:00:00.070) 0:02:28.014 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:433 Friday 16 May 2025 00:52:48 -0400 (0:00:00.063) 0:02:28.077 ************ 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" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:439 Friday 16 May 2025 00:52:49 -0400 (0:00:00.793) 0:02:28.870 ************ ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-05-16 00:43:44 EDT", "ActiveEnterTimestampMonotonic": "18881887", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target systemd-sysctl.service dbus.service systemd-journald.socket network.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-05-16 00:43:43 EDT", "AssertTimestampMonotonic": "18333041", "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-05-16 00:43:43 EDT", "ConditionTimestampMonotonic": "18333039", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "874", "ExecMainStartTimestamp": "Fri 2025-05-16 00:43:43 EDT", "ExecMainStartTimestampMonotonic": "18333985", "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-05-16 00:43:43 EDT", "InactiveExitTimestampMonotonic": "18334057", "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": "874", "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 dbus.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-05-16 00:43:44 EDT", "WatchdogTimestampMonotonic": "18881651", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:446 Friday 16 May 2025 00:52:49 -0400 (0:00:00.633) 0:02:29.504 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.086899", "end": "2025-05-16 00:52:50.273426", "rc": 0, "start": "2025-05-16 00:52:50.186527" } 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:459 Friday 16 May 2025 00:52:50 -0400 (0:00:00.548) 0:02:30.052 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 16 May 2025 00:52:50 -0400 (0:00:00.099) 0:02:30.151 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:481 Friday 16 May 2025 00:52:50 -0400 (0:00:00.126) 0:02:30.277 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:491 Friday 16 May 2025 00:52:50 -0400 (0:00:00.106) 0:02:30.384 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 16 May 2025 00:52:51 -0400 (0:00:00.694) 0:02:31.078 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 16 May 2025 00:52:51 -0400 (0:00:00.104) 0:02:31.183 ************ 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" ] } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:525 Friday 16 May 2025 00:52:52 -0400 (0:00:00.756) 0:02:31.940 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:539 Friday 16 May 2025 00:52:52 -0400 (0:00:00.110) 0:02:32.050 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 16 May 2025 00:52:52 -0400 (0:00:00.125) 0:02:32.176 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 16 May 2025 00:52:52 -0400 (0:00:00.106) 0:02:32.282 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 16 May 2025 00:52:52 -0400 (0:00:00.103) 0:02:32.386 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:580 Friday 16 May 2025 00:52:52 -0400 (0:00:00.110) 0:02:32.496 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 16 May 2025 00:52:53 -0400 (0:00:00.161) 0:02:32.658 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 16 May 2025 00:52:53 -0400 (0:00:00.152) 0:02:32.810 ************ ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.004385", "end": "2025-05-16 00:52:53.534235", "failed_when_result": false, "rc": 1, "start": "2025-05-16 00:52:53.529850" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:605 Friday 16 May 2025 00:52:53 -0400 (0:00:00.476) 0:02:33.287 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:612 Friday 16 May 2025 00:52:53 -0400 (0:00:00.101) 0:02:33.389 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:625 Friday 16 May 2025 00:52:53 -0400 (0:00:00.131) 0:02:33.520 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 16 May 2025 00:52:54 -0400 (0:00:00.268) 0:02:33.789 ************ ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-05-16 00:52:31 EDT", "ActiveEnterTimestampMonotonic": "544944236", "ActiveExitTimestamp": "Fri 2025-05-16 00:52:30 EDT", "ActiveExitTimestampMonotonic": "543860224", "ActiveState": "active", "After": "basic.target -.mount systemd-journald.socket network.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-05-16 00:52:31 EDT", "AssertTimestampMonotonic": "544943457", "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-05-16 00:52:31 EDT", "ConditionTimestampMonotonic": "544943456", "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", "DropInPaths": "/etc/systemd/system/mssql-server.service.d/startlimit.conf", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "15073", "ExecMainStartTimestamp": "Fri 2025-05-16 00:52:31 EDT", "ExecMainStartTimestampMonotonic": "544944160", "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-05-16 00:52:31 EDT", "InactiveEnterTimestampMonotonic": "544942611", "InactiveExitTimestamp": "Fri 2025-05-16 00:52:31 EDT", "InactiveExitTimestampMonotonic": "544944236", "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": "15073", "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 -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-05-16 00:52:31 EDT", "WatchdogTimestampMonotonic": "544944212", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 16 May 2025 00:52:54 -0400 (0:00:00.528) 0:02:34.317 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003028", "end": "2025-05-16 00:52:55.011872", "failed_when_result": false, "rc": 1, "start": "2025-05-16 00:52:55.008844" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 16 May 2025 00:52:55 -0400 (0:00:00.457) 0:02:34.775 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003232", "end": "2025-05-16 00:52:55.452543", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:52:55.449311" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 16 May 2025 00:52:55 -0400 (0:00:00.440) 0:02:35.215 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 16 May 2025 00:52:55 -0400 (0:00:00.116) 0:02:35.331 ************ 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": 11207, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:635 Friday 16 May 2025 00:52:57 -0400 (0:00:01.601) 0:02:36.933 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:650 Friday 16 May 2025 00:52:57 -0400 (0:00:00.430) 0:02:37.363 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:657 Friday 16 May 2025 00:52:57 -0400 (0:00:00.102) 0:02:37.465 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:665 Friday 16 May 2025 00:52:59 -0400 (0:00:01.572) 0:02:39.038 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:686 Friday 16 May 2025 00:52:59 -0400 (0:00:00.087) 0:02:39.125 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:693 Friday 16 May 2025 00:52:59 -0400 (0:00:00.064) 0:02:39.190 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 16 May 2025 00:52:59 -0400 (0:00:00.073) 0:02:39.263 ************ 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.005477", "end": "2025-05-16 00:52:59.929642", "rc": 0, "start": "2025-05-16 00:52:59.924165" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:718 Friday 16 May 2025 00:53:00 -0400 (0:00:00.423) 0:02:39.687 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Friday 16 May 2025 00:53:00 -0400 (0:00:00.112) 0:02:39.800 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 16 May 2025 00:53:01 -0400 (0:00:01.336) 0:02:41.137 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:750 Friday 16 May 2025 00:53:01 -0400 (0:00:00.070) 0:02:41.207 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 16 May 2025 00:53:01 -0400 (0:00:00.167) 0:02:41.375 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003040", "end": "2025-05-16 00:53:02.039874", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:53:02.036834" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 16 May 2025 00:53:02 -0400 (0:00:00.409) 0:02:41.784 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 16 May 2025 00:53:02 -0400 (0:00:00.168) 0:02:41.953 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:757 Friday 16 May 2025 00:53:02 -0400 (0:00:00.092) 0:02:42.045 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:764 Friday 16 May 2025 00:53:02 -0400 (0:00:00.102) 0:02:42.147 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:776 Friday 16 May 2025 00:53:02 -0400 (0:00:00.099) 0:02:42.246 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 16 May 2025 00:53:02 -0400 (0:00:00.184) 0:02:42.431 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002963", "end": "2025-05-16 00:53:03.113885", "failed_when_result": false, "rc": 1, "start": "2025-05-16 00:53:03.110922" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 16 May 2025 00:53:03 -0400 (0:00:00.452) 0:02:42.883 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.123892", "end": "2025-05-16 00:53:03.700775", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:53:03.576883" } 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 16 May 2025 00:53:03 -0400 (0:00:00.583) 0:02:43.467 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:782 Friday 16 May 2025 00:53:03 -0400 (0:00:00.086) 0:02:43.553 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:802 Friday 16 May 2025 00:53:03 -0400 (0:00:00.076) 0:02:43.630 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 16 May 2025 00:53:04 -0400 (0:00:00.133) 0:02:43.763 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003691", "end": "2025-05-16 00:53:04.419147", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:53:04.415456" } STDOUT: enabled = True TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 16 May 2025 00:53:04 -0400 (0:00:00.379) 0:02:44.143 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 16 May 2025 00:53:04 -0400 (0:00:00.092) 0:02:44.236 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:809 Friday 16 May 2025 00:53:04 -0400 (0:00:00.100) 0:02:44.336 ************ ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-fts-15.0.4375.4-1.x86_64 providing mssql-server-fts is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 16 May 2025 00:53:05 -0400 (0:00:00.581) 0:02:44.918 ************ ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "powershell-7.3.12-1.rh.x86_64 providing powershell is already installed" ] } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:825 Friday 16 May 2025 00:53:05 -0400 (0:00:00.635) 0:02:45.554 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003259", "end": "2025-05-16 00:53:06.187270", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:53:06.184011" } STDOUT: traceflag0 = 3979 TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Friday 16 May 2025 00:53:06 -0400 (0:00:00.371) 0:02:45.925 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:838 Friday 16 May 2025 00:53:06 -0400 (0:00:00.070) 0:02:45.996 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:846 Friday 16 May 2025 00:53:06 -0400 (0:00:00.075) 0:02:46.071 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 16 May 2025 00:53:06 -0400 (0:00:00.179) 0:02:46.251 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003350", "end": "2025-05-16 00:53:06.938283", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:53:06.934933" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 16 May 2025 00:53:07 -0400 (0:00:00.421) 0:02:46.673 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 16 May 2025 00:53:07 -0400 (0:00:00.074) 0:02:46.747 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:852 Friday 16 May 2025 00:53:07 -0400 (0:00:00.068) 0:02:46.815 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 16 May 2025 00:53:07 -0400 (0:00:00.118) 0:02:46.934 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003153", "end": "2025-05-16 00:53:07.564658", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:53:07.561505" } STDOUT: writethrough = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 16 May 2025 00:53:07 -0400 (0:00:00.353) 0:02:47.288 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 16 May 2025 00:53:07 -0400 (0:00:00.075) 0:02:47.363 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:862 Friday 16 May 2025 00:53:07 -0400 (0:00:00.087) 0:02:47.451 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:870 Friday 16 May 2025 00:53:07 -0400 (0:00:00.098) 0:02:47.550 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:878 Friday 16 May 2025 00:53:08 -0400 (0:00:00.095) 0:02:47.646 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:885 Friday 16 May 2025 00:53:08 -0400 (0:00:00.098) 0:02:47.745 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 16 May 2025 00:53:08 -0400 (0:00:00.095) 0:02:47.840 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:901 Friday 16 May 2025 00:53:08 -0400 (0:00:00.103) 0:02:47.944 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 16 May 2025 00:53:08 -0400 (0:00:00.098) 0:02:48.042 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:923 Friday 16 May 2025 00:53:08 -0400 (0:00:00.206) 0:02:48.249 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:937 Friday 16 May 2025 00:53:08 -0400 (0:00:00.097) 0:02:48.346 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:947 Friday 16 May 2025 00:53:08 -0400 (0:00:00.105) 0:02:48.452 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:952 Friday 16 May 2025 00:53:08 -0400 (0:00:00.081) 0:02:48.534 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:969 Friday 16 May 2025 00:53:08 -0400 (0:00:00.085) 0:02:48.619 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:974 Friday 16 May 2025 00:53:09 -0400 (0:00:00.071) 0:02:48.691 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:979 Friday 16 May 2025 00:53:09 -0400 (0:00:00.065) 0:02:48.756 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:985 Friday 16 May 2025 00:53:09 -0400 (0:00:00.064) 0:02:48.821 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1011 Friday 16 May 2025 00:53:09 -0400 (0:00:00.065) 0:02:48.886 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1032 Friday 16 May 2025 00:53:09 -0400 (0:00:00.064) 0:02:48.951 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Friday 16 May 2025 00:53:09 -0400 (0:00:00.065) 0:02:49.016 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1050 Friday 16 May 2025 00:53:09 -0400 (0:00:00.063) 0:02:49.080 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1056 Friday 16 May 2025 00:53:09 -0400 (0:00:00.066) 0:02:49.146 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1074 Friday 16 May 2025 00:53:09 -0400 (0:00:00.063) 0:02:49.209 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1085 Friday 16 May 2025 00:53:09 -0400 (0:00:00.079) 0:02:49.289 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1105 Friday 16 May 2025 00:53:09 -0400 (0:00:00.063) 0:02:49.352 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1158 Friday 16 May 2025 00:53:09 -0400 (0:00:00.066) 0:02:49.419 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1165 Friday 16 May 2025 00:53:09 -0400 (0:00:00.092) 0:02:49.511 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1172 Friday 16 May 2025 00:53:09 -0400 (0:00:00.096) 0:02:49.608 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1182 Friday 16 May 2025 00:53:10 -0400 (0:00:00.099) 0:02:49.708 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1188 Friday 16 May 2025 00:53:10 -0400 (0:00:00.100) 0:02:49.808 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 16 May 2025 00:53:10 -0400 (0:00:00.125) 0:02:49.934 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1205 Friday 16 May 2025 00:53:10 -0400 (0:00:00.098) 0:02:50.032 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Friday 16 May 2025 00:53:10 -0400 (0:00:00.174) 0:02:50.206 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1227 Friday 16 May 2025 00:53:10 -0400 (0:00:00.103) 0:02:50.310 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1233 Friday 16 May 2025 00:53:10 -0400 (0:00:00.074) 0:02:50.384 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1255 Friday 16 May 2025 00:53:10 -0400 (0:00:00.094) 0:02:50.478 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 16 May 2025 00:53:10 -0400 (0:00:00.093) 0:02:50.572 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 16 May 2025 00:53:11 -0400 (0:00:00.103) 0:02:50.676 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Friday 16 May 2025 00:53:11 -0400 (0:00:00.097) 0:02:50.773 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Friday 16 May 2025 00:53:11 -0400 (0:00:00.096) 0:02:50.869 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 16 May 2025 00:53:11 -0400 (0:00:00.096) 0:02:50.966 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1316 Friday 16 May 2025 00:53:11 -0400 (0:00:00.089) 0:02:51.056 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1323 Friday 16 May 2025 00:53:11 -0400 (0:00:00.084) 0:02:51.140 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1330 Friday 16 May 2025 00:53:11 -0400 (0:00:00.073) 0:02:51.214 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1338 Friday 16 May 2025 00:53:11 -0400 (0:00:00.063) 0:02:51.277 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1345 Friday 16 May 2025 00:53:11 -0400 (0:00:00.106) 0:02:51.384 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 16 May 2025 00:53:11 -0400 (0:00:00.129) 0:02:51.513 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1366 Friday 16 May 2025 00:53:11 -0400 (0:00:00.096) 0:02:51.610 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1373 Friday 16 May 2025 00:53:12 -0400 (0:00:00.099) 0:02:51.710 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1379 Friday 16 May 2025 00:53:12 -0400 (0:00:00.097) 0:02:51.807 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1387 Friday 16 May 2025 00:53:12 -0400 (0:00:00.106) 0:02:51.914 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1400 Friday 16 May 2025 00:53:12 -0400 (0:00:00.098) 0:02:52.012 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1412 Friday 16 May 2025 00:53:12 -0400 (0:00:00.082) 0:02:52.095 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1417 Friday 16 May 2025 00:53:12 -0400 (0:00:00.081) 0:02:52.176 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 16 May 2025 00:53:12 -0400 (0:00:00.067) 0:02:52.243 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1434 Friday 16 May 2025 00:53:12 -0400 (0:00:00.083) 0:02:52.326 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1447 Friday 16 May 2025 00:53:13 -0400 (0:00:00.788) 0:02:53.114 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1454 Friday 16 May 2025 00:53:13 -0400 (0:00:00.100) 0:02:53.215 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify settings] ********************************************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:38 Friday 16 May 2025 00:53:13 -0400 (0:00:00.100) 0:02:53.316 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 16 May 2025 00:53:14 -0400 (0:00:00.629) 0:02:53.945 ************ 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.005790", "end": "2025-05-16 00:53:14.628944", "rc": 0, "start": "2025-05-16 00:53:14.623154" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 16 May 2025 00:53:14 -0400 (0:00:00.449) 0:02:54.395 ************ 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.005393", "end": "2025-05-16 00:53:15.077822", "rc": 0, "start": "2025-05-16 00:53:15.072429" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 16 May 2025 00:53:15 -0400 (0:00:00.444) 0:02:54.840 ************ ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 16 May 2025 00:53:15 -0400 (0:00:00.106) 0:02:54.946 ************ included: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 included: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 included: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 included: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 16 May 2025 00:53:15 -0400 (0:00:00.253) 0:02:55.200 ************ ok: [managed-node2] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004248", "end": "2025-05-16 00:53:15.861655", "rc": 0, "start": "2025-05-16 00:53:15.857407" } STDOUT: ipaddress = 0.0.0.0 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 16 May 2025 00:53:15 -0400 (0:00:00.427) 0:02:55.627 ************ ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 16 May 2025 00:53:16 -0400 (0:00:00.148) 0:02:55.776 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 0.0.0.0] ******************************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 16 May 2025 00:53:16 -0400 (0:00:00.096) 0:02:55.873 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultdatadir] ***************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 16 May 2025 00:53:16 -0400 (0:00:00.100) 0:02:55.973 ************ ok: [managed-node2] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004216", "end": "2025-05-16 00:53:16.649122", "rc": 0, "start": "2025-05-16 00:53:16.644906" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 16 May 2025 00:53:16 -0400 (0:00:00.440) 0:02:56.413 ************ ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 16 May 2025 00:53:16 -0400 (0:00:00.220) 0:02:56.633 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_data] *********************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 16 May 2025 00:53:17 -0400 (0:00:00.119) 0:02:56.753 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 16 May 2025 00:53:17 -0400 (0:00:00.094) 0:02:56.847 ************ ok: [managed-node2] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004715", "end": "2025-05-16 00:53:17.495785", "rc": 0, "start": "2025-05-16 00:53:17.491070" } STDOUT: enabled = True TASK [Verify the setting when it is type str enabled] ************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 16 May 2025 00:53:17 -0400 (0:00:00.373) 0:02:57.220 ************ 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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 16 May 2025 00:53:17 -0400 (0:00:00.066) 0:02:57.287 ************ ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 16 May 2025 00:53:17 -0400 (0:00:00.089) 0:02:57.376 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 16 May 2025 00:53:17 -0400 (0:00:00.065) 0:02:57.442 ************ ok: [managed-node2] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004729", "end": "2025-05-16 00:53:18.072151", "rc": 0, "start": "2025-05-16 00:53:18.067422" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 16 May 2025 00:53:18 -0400 (0:00:00.378) 0:02:57.821 ************ ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 16 May 2025 00:53:18 -0400 (0:00:00.124) 0:02:57.945 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_log] ************************************ task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 16 May 2025 00:53:18 -0400 (0:00:00.107) 0:02:58.053 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 16 May 2025 00:53:18 -0400 (0:00:00.105) 0:02:58.158 ************ ok: [managed-node2] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004300", "end": "2025-05-16 00:53:18.845295", "rc": 0, "start": "2025-05-16 00:53:18.840995" } TASK [Verify the setting when it is type str tcpport] ************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 16 May 2025 00:53:18 -0400 (0:00:00.462) 0:02:58.620 ************ 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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 16 May 2025 00:53:19 -0400 (0:00:00.103) 0:02:58.724 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1433] ********************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 16 May 2025 00:53:19 -0400 (0:00:00.085) 0:02:58.810 ************ ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 16 May 2025 00:53:19 -0400 (0:00:00.108) 0:02:58.918 ************ 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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 16 May 2025 00:53:19 -0400 (0:00:00.067) 0:02:58.986 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 16 May 2025 00:53:19 -0400 (0:00:00.063) 0:02:59.050 ************ 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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 16 May 2025 00:53:19 -0400 (0:00:00.065) 0:02:59.115 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 16 May 2025 00:53:19 -0400 (0:00:00.064) 0:02:59.179 ************ TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 16 May 2025 00:53:19 -0400 (0:00:00.270) 0:02:59.450 ************ ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-05-16 00:52:31 EDT", "ActiveEnterTimestampMonotonic": "544944236", "ActiveExitTimestamp": "Fri 2025-05-16 00:52:30 EDT", "ActiveExitTimestampMonotonic": "543860224", "ActiveState": "active", "After": "basic.target -.mount systemd-journald.socket network.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-05-16 00:52:31 EDT", "AssertTimestampMonotonic": "544943457", "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-05-16 00:52:31 EDT", "ConditionTimestampMonotonic": "544943456", "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", "DropInPaths": "/etc/systemd/system/mssql-server.service.d/startlimit.conf", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "15073", "ExecMainStartTimestamp": "Fri 2025-05-16 00:52:31 EDT", "ExecMainStartTimestampMonotonic": "544944160", "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-05-16 00:52:31 EDT", "InactiveEnterTimestampMonotonic": "544942611", "InactiveExitTimestamp": "Fri 2025-05-16 00:52:31 EDT", "InactiveExitTimestampMonotonic": "544944236", "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": "15073", "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 -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-05-16 00:52:31 EDT", "WatchdogTimestampMonotonic": "544944212", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 16 May 2025 00:53:20 -0400 (0:00:00.566) 0:03:00.016 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003068", "end": "2025-05-16 00:53:20.701832", "failed_when_result": false, "rc": 1, "start": "2025-05-16 00:53:20.698764" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 16 May 2025 00:53:20 -0400 (0:00:00.420) 0:03:00.436 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003211", "end": "2025-05-16 00:53:21.065873", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:53:21.062662" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 16 May 2025 00:53:21 -0400 (0:00:00.388) 0:03:00.825 ************ 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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:95 Friday 16 May 2025 00:53:21 -0400 (0:00:00.110) 0:03:00.935 ************ 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": 11207, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:116 Friday 16 May 2025 00:53:22 -0400 (0:00:01.388) 0:03:02.324 ************ 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.022141", "end": "2025-05-16 00:53:22.989684", "rc": 0, "start": "2025-05-16 00:53:22.967543" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU27) (KB5037331) - 15.0.4375.4 (X64) Jun 10 2024 18:00:07 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:135 Friday 16 May 2025 00:53:23 -0400 (0:00:00.436) 0:03:02.760 ************ ok: [managed-node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:139 Friday 16 May 2025 00:53:23 -0400 (0:00:00.101) 0:03:02.862 ************ included: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml for managed-node2 TASK [Gather package facts] **************************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 Friday 16 May 2025 00:53:23 -0400 (0:00:00.165) 0:03:03.027 ************ 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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:12 Friday 16 May 2025 00:53:24 -0400 (0:00:01.418) 0:03:04.445 ************ ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:17 Friday 16 May 2025 00:53:24 -0400 (0:00:00.142) 0:03:04.587 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:146 Friday 16 May 2025 00:53:25 -0400 (0:00:00.102) 0:03:04.690 ************ included: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml for managed-node2 TASK [Gather package facts] **************************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 Friday 16 May 2025 00:53:25 -0400 (0:00:00.148) 0:03:04.838 ************ 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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:12 Friday 16 May 2025 00:53:26 -0400 (0:00:01.251) 0:03:06.090 ************ ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed powershell] *********************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:17 Friday 16 May 2025 00:53:26 -0400 (0:00:00.140) 0:03:06.231 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:157 Friday 16 May 2025 00:53:26 -0400 (0:00:00.103) 0:03:06.334 ************ ok: [managed-node2] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004197", "end": "2025-05-16 00:53:27.056885", "rc": 0, "start": "2025-05-16 00:53:27.052688" } STDOUT: traceflag0 = 3979 TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 16 May 2025 00:53:27 -0400 (0:00:00.464) 0:03:06.799 ************ ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:167 Friday 16 May 2025 00:53:27 -0400 (0:00:00.079) 0:03:06.878 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:173 Friday 16 May 2025 00:53:27 -0400 (0:00:00.066) 0:03:06.944 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 16 May 2025 00:53:27 -0400 (0:00:00.122) 0:03:07.067 ************ ok: [managed-node2] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004321", "end": "2025-05-16 00:53:27.732289", "rc": 0, "start": "2025-05-16 00:53:27.727968" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 16 May 2025 00:53:27 -0400 (0:00:00.405) 0:03:07.473 ************ 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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 16 May 2025 00:53:27 -0400 (0:00:00.069) 0:03:07.543 ************ ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 16 May 2025 00:53:27 -0400 (0:00:00.083) 0:03:07.626 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:179 Friday 16 May 2025 00:53:28 -0400 (0:00:00.091) 0:03:07.718 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 16 May 2025 00:53:28 -0400 (0:00:00.153) 0:03:07.872 ************ ok: [managed-node2] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004724", "end": "2025-05-16 00:53:28.508186", "rc": 0, "start": "2025-05-16 00:53:28.503462" } STDOUT: writethrough = 1 TASK [Verify the setting when it is type str writethrough] ********************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 16 May 2025 00:53:28 -0400 (0:00:00.393) 0:03:08.266 ************ 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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 16 May 2025 00:53:28 -0400 (0:00:00.154) 0:03:08.420 ************ ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 16 May 2025 00:53:28 -0400 (0:00:00.132) 0:03:08.553 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:189 Friday 16 May 2025 00:53:29 -0400 (0:00:00.137) 0:03:08.690 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:200 Friday 16 May 2025 00:53:29 -0400 (0:00:00.124) 0:03:08.815 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:212 Friday 16 May 2025 00:53:29 -0400 (0:00:00.120) 0:03:08.935 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:220 Friday 16 May 2025 00:53:29 -0400 (0:00:00.094) 0:03:09.030 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:227 Friday 16 May 2025 00:53:29 -0400 (0:00:00.083) 0:03:09.114 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run to edit settings] **************************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:52 Friday 16 May 2025 00:53:29 -0400 (0:00:00.100) 0:03:09.214 ************ TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 16 May 2025 00:53:31 -0400 (0:00:01.522) 0:03:10.736 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 16 May 2025 00:53:31 -0400 (0:00:00.275) 0:03:11.012 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 16 May 2025 00:53:31 -0400 (0:00:00.140) 0:03:11.153 ************ 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-55r/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-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 16 May 2025 00:53:31 -0400 (0:00:00.157) 0:03:11.310 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 16 May 2025 00:53:31 -0400 (0:00:00.076) 0:03:11.387 ************ skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 16 May 2025 00:53:31 -0400 (0:00:00.065) 0:03:11.453 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 16 May 2025 00:53:31 -0400 (0:00:00.066) 0:03:11.520 ************ skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 16 May 2025 00:53:31 -0400 (0:00:00.091) 0:03:11.611 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 16 May 2025 00:53:32 -0400 (0:00:00.092) 0:03:11.703 ************ skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 16 May 2025 00:53:32 -0400 (0:00:00.219) 0:03:11.923 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 16 May 2025 00:53:32 -0400 (0:00:00.099) 0:03:12.022 ************ skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 16 May 2025 00:53:32 -0400 (0:00:00.105) 0:03:12.128 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 16 May 2025 00:53:32 -0400 (0:00:00.096) 0:03:12.224 ************ skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 16 May 2025 00:53:32 -0400 (0:00:00.082) 0:03:12.307 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 16 May 2025 00:53:32 -0400 (0:00:00.087) 0:03:12.394 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 16 May 2025 00:53:32 -0400 (0:00:00.078) 0:03:12.472 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 16 May 2025 00:53:32 -0400 (0:00:00.076) 0:03:12.549 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 16 May 2025 00:53:32 -0400 (0:00:00.072) 0:03:12.621 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 16 May 2025 00:53:33 -0400 (0:00:00.105) 0:03:12.727 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 16 May 2025 00:53:33 -0400 (0:00:00.095) 0:03:12.822 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 16 May 2025 00:53:33 -0400 (0:00:00.078) 0:03:12.900 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 16 May 2025 00:53:33 -0400 (0:00:00.078) 0:03:12.979 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 16 May 2025 00:53:33 -0400 (0:00:00.066) 0:03:13.045 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 16 May 2025 00:53:34 -0400 (0:00:01.250) 0:03:14.296 ************ 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" } ok: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed-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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 16 May 2025 00:53:34 -0400 (0:00:00.325) 0:03:14.622 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 16 May 2025 00:53:35 -0400 (0:00:00.066) 0:03:14.689 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 16 May 2025 00:53:35 -0400 (0:00:00.069) 0:03:14.759 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 16 May 2025 00:53:35 -0400 (0:00:00.134) 0:03:14.893 ************ ok: [managed-node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 16 May 2025 00:53:35 -0400 (0:00:00.590) 0:03:15.484 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 16 May 2025 00:53:35 -0400 (0:00:00.090) 0:03:15.575 ************ 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 2019] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 16 May 2025 00:53:36 -0400 (0:00:00.082) 0:03:15.657 ************ 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 2019] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 16 May 2025 00:53:36 -0400 (0:00:00.073) 0:03:15.730 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 16 May 2025 00:53:36 -0400 (0:00:00.065) 0:03:15.795 ************ 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 2019] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 16 May 2025 00:53:36 -0400 (0:00:00.082) 0:03:15.877 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 16 May 2025 00:53:36 -0400 (0:00:00.087) 0:03:15.965 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 16 May 2025 00:53:36 -0400 (0:00:00.141) 0:03:16.106 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 16 May 2025 00:53:36 -0400 (0:00:00.125) 0:03:16.231 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 16 May 2025 00:53:37 -0400 (0:00:00.750) 0:03:16.983 ************ ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 16 May 2025 00:53:38 -0400 (0:00:00.657) 0:03:17.640 ************ 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.004893", "end": "2025-05-16 00:53:38.332646", "rc": 0, "start": "2025-05-16 00:53:38.327753" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Check if mssql-server.service is enabled] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:331 Friday 16 May 2025 00:53:38 -0400 (0:00:00.512) 0:03:18.152 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "mssql-server.service" ], "delta": "0:00:00.004751", "end": "2025-05-16 00:53:38.819305", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:53:38.814554" } STDOUT: enabled TASK [fedora.linux_system_roles.mssql : Check if mssql-server.service is running] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:338 Friday 16 May 2025 00:53:38 -0400 (0:00:00.407) 0:03:18.559 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "mssql-server.service" ], "delta": "0:00:00.005209", "end": "2025-05-16 00:53:39.226461", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:53:39.221252" } STDOUT: active TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:345 Friday 16 May 2025 00:53:39 -0400 (0:00:00.427) 0:03:18.987 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Friday 16 May 2025 00:53:39 -0400 (0:00:00.085) 0:03:19.072 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:368 Friday 16 May 2025 00:53:39 -0400 (0:00:00.065) 0:03:19.138 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:393 Friday 16 May 2025 00:53:39 -0400 (0:00:00.070) 0:03:19.208 ************ included: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node2 included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 16 May 2025 00:53:39 -0400 (0:00:00.223) 0:03:19.432 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 16 May 2025 00:53:40 -0400 (0:00:00.375) 0:03:19.808 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 16 May 2025 00:53:40 -0400 (0:00:00.066) 0:03:19.875 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 16 May 2025 00:53:40 -0400 (0:00:00.127) 0:03:20.003 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003095", "end": "2025-05-16 00:53:40.636779", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:53:40.633684" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 16 May 2025 00:53:40 -0400 (0:00:00.360) 0:03:20.363 ************ 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.119723", "end": "2025-05-16 00:53:41.123178", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:53:41.003455" } 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 16 May 2025 00:53:41 -0400 (0:00:00.493) 0:03:20.856 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 16 May 2025 00:53:41 -0400 (0:00:00.068) 0:03:20.925 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 16 May 2025 00:53:41 -0400 (0:00:00.415) 0:03:21.340 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 16 May 2025 00:53:41 -0400 (0:00:00.165) 0:03:21.506 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 16 May 2025 00:53:41 -0400 (0:00:00.114) 0:03:21.620 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003107", "end": "2025-05-16 00:53:42.250038", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:53:42.246931" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 16 May 2025 00:53:42 -0400 (0:00:00.355) 0:03:21.976 ************ changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/var/opt/mssql/log" ], "delta": "0:00:00.119477", "end": "2025-05-16 00:53:42.743105", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:53:42.623628" } 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 16 May 2025 00:53:42 -0400 (0:00:00.502) 0:03:22.479 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:408 Friday 16 May 2025 00:53:42 -0400 (0:00:00.068) 0:03:22.547 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:422 Friday 16 May 2025 00:53:42 -0400 (0:00:00.062) 0:03:22.610 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:433 Friday 16 May 2025 00:53:43 -0400 (0:00:00.066) 0:03:22.677 ************ 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" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:439 Friday 16 May 2025 00:53:43 -0400 (0:00:00.578) 0:03:23.255 ************ ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-05-16 00:43:44 EDT", "ActiveEnterTimestampMonotonic": "18881887", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target systemd-sysctl.service dbus.service systemd-journald.socket network.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-05-16 00:43:43 EDT", "AssertTimestampMonotonic": "18333041", "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-05-16 00:43:43 EDT", "ConditionTimestampMonotonic": "18333039", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "874", "ExecMainStartTimestamp": "Fri 2025-05-16 00:43:43 EDT", "ExecMainStartTimestampMonotonic": "18333985", "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-05-16 00:43:43 EDT", "InactiveExitTimestampMonotonic": "18334057", "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": "874", "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 dbus.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-05-16 00:43:44 EDT", "WatchdogTimestampMonotonic": "18881651", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:446 Friday 16 May 2025 00:53:44 -0400 (0:00:00.478) 0:03:23.734 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.085424", "end": "2025-05-16 00:53:44.446092", "rc": 0, "start": "2025-05-16 00:53:44.360668" } 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:459 Friday 16 May 2025 00:53:44 -0400 (0:00:00.520) 0:03:24.255 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 16 May 2025 00:53:44 -0400 (0:00:00.126) 0:03:24.381 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:481 Friday 16 May 2025 00:53:44 -0400 (0:00:00.124) 0:03:24.506 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:491 Friday 16 May 2025 00:53:44 -0400 (0:00:00.120) 0:03:24.627 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 16 May 2025 00:53:45 -0400 (0:00:00.419) 0:03:25.046 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 16 May 2025 00:53:45 -0400 (0:00:00.222) 0:03:25.269 ************ 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" ] } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:525 Friday 16 May 2025 00:53:46 -0400 (0:00:00.797) 0:03:26.067 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:539 Friday 16 May 2025 00:53:46 -0400 (0:00:00.107) 0:03:26.175 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 16 May 2025 00:53:46 -0400 (0:00:00.116) 0:03:26.291 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 16 May 2025 00:53:46 -0400 (0:00:00.126) 0:03:26.417 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 16 May 2025 00:53:46 -0400 (0:00:00.100) 0:03:26.518 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:580 Friday 16 May 2025 00:53:47 -0400 (0:00:00.167) 0:03:26.685 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 16 May 2025 00:53:47 -0400 (0:00:00.120) 0:03:26.806 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 16 May 2025 00:53:47 -0400 (0:00:00.095) 0:03:26.901 ************ ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.005038", "end": "2025-05-16 00:53:47.588340", "failed_when_result": false, "rc": 1, "start": "2025-05-16 00:53:47.583302" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:605 Friday 16 May 2025 00:53:47 -0400 (0:00:00.427) 0:03:27.328 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:612 Friday 16 May 2025 00:53:47 -0400 (0:00:00.104) 0:03:27.433 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:625 Friday 16 May 2025 00:53:47 -0400 (0:00:00.072) 0:03:27.505 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 16 May 2025 00:53:47 -0400 (0:00:00.121) 0:03:27.627 ************ ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-05-16 00:52:31 EDT", "ActiveEnterTimestampMonotonic": "544944236", "ActiveExitTimestamp": "Fri 2025-05-16 00:52:30 EDT", "ActiveExitTimestampMonotonic": "543860224", "ActiveState": "active", "After": "basic.target -.mount systemd-journald.socket network.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-05-16 00:52:31 EDT", "AssertTimestampMonotonic": "544943457", "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-05-16 00:52:31 EDT", "ConditionTimestampMonotonic": "544943456", "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", "DropInPaths": "/etc/systemd/system/mssql-server.service.d/startlimit.conf", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "15073", "ExecMainStartTimestamp": "Fri 2025-05-16 00:52:31 EDT", "ExecMainStartTimestampMonotonic": "544944160", "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-05-16 00:52:31 EDT", "InactiveEnterTimestampMonotonic": "544942611", "InactiveExitTimestamp": "Fri 2025-05-16 00:52:31 EDT", "InactiveExitTimestampMonotonic": "544944236", "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": "15073", "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 -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-05-16 00:52:31 EDT", "WatchdogTimestampMonotonic": "544944212", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 16 May 2025 00:53:48 -0400 (0:00:00.444) 0:03:28.071 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002998", "end": "2025-05-16 00:53:48.700016", "failed_when_result": false, "rc": 1, "start": "2025-05-16 00:53:48.697018" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 16 May 2025 00:53:48 -0400 (0:00:00.363) 0:03:28.435 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003098", "end": "2025-05-16 00:53:49.074388", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:53:49.071290" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 16 May 2025 00:53:49 -0400 (0:00:00.386) 0:03:28.821 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 16 May 2025 00:53:49 -0400 (0:00:00.085) 0:03:28.907 ************ 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": 11207, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:635 Friday 16 May 2025 00:53:50 -0400 (0:00:01.463) 0:03:30.371 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:650 Friday 16 May 2025 00:53:51 -0400 (0:00:00.492) 0:03:30.864 ************ changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Fri 2025-05-16 00:52:31 EDT", "ActiveEnterTimestampMonotonic": "544944236", "ActiveExitTimestamp": "Fri 2025-05-16 00:52:30 EDT", "ActiveExitTimestampMonotonic": "543860224", "ActiveState": "active", "After": "basic.target -.mount systemd-journald.socket network.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-05-16 00:52:31 EDT", "AssertTimestampMonotonic": "544943457", "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-05-16 00:52:31 EDT", "ConditionTimestampMonotonic": "544943456", "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", "DropInPaths": "/etc/systemd/system/mssql-server.service.d/startlimit.conf", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "15073", "ExecMainStartTimestamp": "Fri 2025-05-16 00:52:31 EDT", "ExecMainStartTimestampMonotonic": "544944160", "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-05-16 00:52:31 EDT", "InactiveEnterTimestampMonotonic": "544942611", "InactiveExitTimestamp": "Fri 2025-05-16 00:52:31 EDT", "InactiveExitTimestampMonotonic": "544944236", "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": "15073", "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 -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-05-16 00:52:31 EDT", "WatchdogTimestampMonotonic": "544944212", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:657 Friday 16 May 2025 00:53:52 -0400 (0:00:00.845) 0:03:31.709 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:665 Friday 16 May 2025 00:53:53 -0400 (0:00:01.728) 0:03:33.438 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:686 Friday 16 May 2025 00:53:59 -0400 (0:00:05.888) 0:03:39.326 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:693 Friday 16 May 2025 00:53:59 -0400 (0:00:00.125) 0:03:39.451 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 16 May 2025 00:53:59 -0400 (0:00:00.126) 0:03:39.578 ************ 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.004895", "end": "2025-05-16 00:54:00.331792", "rc": 0, "start": "2025-05-16 00:54:00.326897" } STDOUT: false TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:718 Friday 16 May 2025 00:54:00 -0400 (0:00:00.528) 0:03:40.106 ************ ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Fri 2025-05-16 00:52:31 EDT", "ActiveEnterTimestampMonotonic": "544944236", "ActiveExitTimestamp": "Fri 2025-05-16 00:53:51 EDT", "ActiveExitTimestampMonotonic": "624916549", "ActiveState": "inactive", "After": "basic.target -.mount systemd-journald.socket network.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-05-16 00:52:31 EDT", "AssertTimestampMonotonic": "544943457", "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-05-16 00:52:31 EDT", "ConditionTimestampMonotonic": "544943456", "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", "DropInPaths": "/etc/systemd/system/mssql-server.service.d/startlimit.conf", "ExecMainCode": "1", "ExecMainExitTimestamp": "Fri 2025-05-16 00:53:51 EDT", "ExecMainExitTimestampMonotonic": "625154425", "ExecMainPID": "15073", "ExecMainStartTimestamp": "Fri 2025-05-16 00:52:31 EDT", "ExecMainStartTimestampMonotonic": "544944160", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2025-05-16 00:52:31 EDT] ; stop_time=[Fri 2025-05-16 00:53:51 EDT] ; pid=15073 ; 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-05-16 00:53:51 EDT", "InactiveEnterTimestampMonotonic": "625154517", "InactiveExitTimestamp": "Fri 2025-05-16 00:52:31 EDT", "InactiveExitTimestampMonotonic": "544944236", "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 -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Friday 16 May 2025 00:54:01 -0400 (0:00:00.824) 0:03:40.931 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 16 May 2025 00:54:02 -0400 (0:00:01.499) 0:03:42.431 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:750 Friday 16 May 2025 00:54:08 -0400 (0:00:05.747) 0:03:48.179 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 16 May 2025 00:54:08 -0400 (0:00:00.159) 0:03:48.338 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003608", "end": "2025-05-16 00:54:09.038000", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:54:09.034392" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 16 May 2025 00:54:09 -0400 (0:00:00.479) 0:03:48.818 ************ changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "127.0.0.1" ], "delta": "0:00:00.116502", "end": "2025-05-16 00:54:09.733291", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:54:09.616789" } 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 16 May 2025 00:54:09 -0400 (0:00:00.758) 0:03:49.576 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:757 Friday 16 May 2025 00:54:10 -0400 (0:00:00.113) 0:03:49.690 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:764 Friday 16 May 2025 00:54:10 -0400 (0:00:00.140) 0:03:49.831 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:776 Friday 16 May 2025 00:54:10 -0400 (0:00:00.099) 0:03:49.930 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 16 May 2025 00:54:10 -0400 (0:00:00.308) 0:03:50.239 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:01.004067", "end": "2025-05-16 00:54:11.903549", "failed_when_result": false, "rc": 1, "start": "2025-05-16 00:54:10.899482" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 16 May 2025 00:54:12 -0400 (0:00:01.457) 0:03:51.697 ************ changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1435" ], "delta": "0:00:00.116621", "end": "2025-05-16 00:54:12.496221", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:54:12.379600" } 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 16 May 2025 00:54:12 -0400 (0:00:00.570) 0:03:52.267 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:782 Friday 16 May 2025 00:54:12 -0400 (0:00:00.090) 0:03:52.357 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:802 Friday 16 May 2025 00:54:12 -0400 (0:00:00.082) 0:03:52.440 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 16 May 2025 00:54:12 -0400 (0:00:00.146) 0:03:52.587 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003601", "end": "2025-05-16 00:54:13.217121", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:54:13.213520" } STDOUT: enabled = True TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 16 May 2025 00:54:13 -0400 (0:00:00.356) 0:03:52.943 ************ changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "False" ], "delta": "0:00:00.115659", "end": "2025-05-16 00:54:13.693781", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:54:13.578122" } 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 16 May 2025 00:54:13 -0400 (0:00:00.643) 0:03:53.587 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:809 Friday 16 May 2025 00:54:14 -0400 (0:00:00.137) 0:03:53.724 ************ 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:15.0.4375.4-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 15.0.4375.4-1 @packages-microsoft-com-mssql-server-2019 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-15.0.4375.4-1.x86_64 1/1 \n Verifying : mssql-server-fts-15.0.4375.4-1.x86_64 1/1 \n\nRemoved:\n mssql-server-fts.x86_64 0:15.0.4375.4-1 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 16 May 2025 00:54:15 -0400 (0:00:01.634) 0:03:55.359 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:825 Friday 16 May 2025 00:54:17 -0400 (0:00:01.624) 0:03:56.984 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003129", "end": "2025-05-16 00:54:17.686597", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:54:17.683468" } STDOUT: traceflag0 = 3979 TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Friday 16 May 2025 00:54:17 -0400 (0:00:00.425) 0:03:57.409 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:838 Friday 16 May 2025 00:54:17 -0400 (0:00:00.187) 0:03:57.596 ************ changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "off" ], "delta": "0:00:00.115336", "end": "2025-05-16 00:54:18.519291", "rc": 0, "start": "2025-05-16 00:54:18.403955" } 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:846 Friday 16 May 2025 00:54:18 -0400 (0:00:00.680) 0:03:58.277 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 16 May 2025 00:54:18 -0400 (0:00:00.212) 0:03:58.489 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003119", "end": "2025-05-16 00:54:19.245595", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:54:19.242476" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 16 May 2025 00:54:19 -0400 (0:00:00.549) 0:03:59.039 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 16 May 2025 00:54:19 -0400 (0:00:00.147) 0:03:59.186 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:852 Friday 16 May 2025 00:54:19 -0400 (0:00:00.105) 0:03:59.291 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 16 May 2025 00:54:19 -0400 (0:00:00.248) 0:03:59.540 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003086", "end": "2025-05-16 00:54:20.389735", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:54:20.386649" } STDOUT: writethrough = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 16 May 2025 00:54:20 -0400 (0:00:00.685) 0:04:00.225 ************ changed: [managed-node2] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "0" ], "delta": "0:00:00.117498", "end": "2025-05-16 00:54:21.082568", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:54:20.965070" } 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 16 May 2025 00:54:21 -0400 (0:00:00.637) 0:04:00.863 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:862 Friday 16 May 2025 00:54:21 -0400 (0:00:00.098) 0:04:00.962 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:870 Friday 16 May 2025 00:54:21 -0400 (0:00:00.084) 0:04:01.047 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:878 Friday 16 May 2025 00:54:21 -0400 (0:00:00.081) 0:04:01.128 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:885 Friday 16 May 2025 00:54:21 -0400 (0:00:00.083) 0:04:01.212 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 16 May 2025 00:54:21 -0400 (0:00:00.080) 0:04:01.292 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:901 Friday 16 May 2025 00:54:21 -0400 (0:00:00.105) 0:04:01.397 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 16 May 2025 00:54:21 -0400 (0:00:00.098) 0:04:01.496 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:923 Friday 16 May 2025 00:54:21 -0400 (0:00:00.114) 0:04:01.610 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:937 Friday 16 May 2025 00:54:22 -0400 (0:00:00.104) 0:04:01.714 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:947 Friday 16 May 2025 00:54:22 -0400 (0:00:00.122) 0:04:01.837 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:952 Friday 16 May 2025 00:54:22 -0400 (0:00:00.255) 0:04:02.092 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:969 Friday 16 May 2025 00:54:22 -0400 (0:00:00.100) 0:04:02.193 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:974 Friday 16 May 2025 00:54:22 -0400 (0:00:00.149) 0:04:02.342 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:979 Friday 16 May 2025 00:54:22 -0400 (0:00:00.170) 0:04:02.512 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:985 Friday 16 May 2025 00:54:23 -0400 (0:00:00.166) 0:04:02.679 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1011 Friday 16 May 2025 00:54:23 -0400 (0:00:00.139) 0:04:02.818 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1032 Friday 16 May 2025 00:54:23 -0400 (0:00:00.119) 0:04:02.938 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Friday 16 May 2025 00:54:23 -0400 (0:00:00.110) 0:04:03.048 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1050 Friday 16 May 2025 00:54:23 -0400 (0:00:00.120) 0:04:03.169 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1056 Friday 16 May 2025 00:54:23 -0400 (0:00:00.083) 0:04:03.253 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1074 Friday 16 May 2025 00:54:23 -0400 (0:00:00.103) 0:04:03.357 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1085 Friday 16 May 2025 00:54:23 -0400 (0:00:00.094) 0:04:03.451 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1105 Friday 16 May 2025 00:54:23 -0400 (0:00:00.110) 0:04:03.562 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1158 Friday 16 May 2025 00:54:24 -0400 (0:00:00.186) 0:04:03.748 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1165 Friday 16 May 2025 00:54:24 -0400 (0:00:00.168) 0:04:03.917 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1172 Friday 16 May 2025 00:54:24 -0400 (0:00:00.158) 0:04:04.075 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1182 Friday 16 May 2025 00:54:24 -0400 (0:00:00.133) 0:04:04.208 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1188 Friday 16 May 2025 00:54:24 -0400 (0:00:00.112) 0:04:04.320 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 16 May 2025 00:54:24 -0400 (0:00:00.171) 0:04:04.491 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1205 Friday 16 May 2025 00:54:24 -0400 (0:00:00.102) 0:04:04.594 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Friday 16 May 2025 00:54:25 -0400 (0:00:00.101) 0:04:04.695 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1227 Friday 16 May 2025 00:54:25 -0400 (0:00:00.180) 0:04:04.876 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1233 Friday 16 May 2025 00:54:25 -0400 (0:00:00.128) 0:04:05.005 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1255 Friday 16 May 2025 00:54:25 -0400 (0:00:00.088) 0:04:05.094 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 16 May 2025 00:54:25 -0400 (0:00:00.232) 0:04:05.326 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 16 May 2025 00:54:25 -0400 (0:00:00.110) 0:04:05.437 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Friday 16 May 2025 00:54:25 -0400 (0:00:00.132) 0:04:05.569 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Friday 16 May 2025 00:54:26 -0400 (0:00:00.128) 0:04:05.698 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 16 May 2025 00:54:26 -0400 (0:00:00.120) 0:04:05.818 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1316 Friday 16 May 2025 00:54:26 -0400 (0:00:00.108) 0:04:05.927 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1323 Friday 16 May 2025 00:54:26 -0400 (0:00:00.101) 0:04:06.029 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1330 Friday 16 May 2025 00:54:26 -0400 (0:00:00.082) 0:04:06.111 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1338 Friday 16 May 2025 00:54:26 -0400 (0:00:00.066) 0:04:06.177 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1345 Friday 16 May 2025 00:54:26 -0400 (0:00:00.078) 0:04:06.255 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 16 May 2025 00:54:26 -0400 (0:00:00.120) 0:04:06.376 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1366 Friday 16 May 2025 00:54:26 -0400 (0:00:00.119) 0:04:06.496 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1373 Friday 16 May 2025 00:54:27 -0400 (0:00:00.192) 0:04:06.688 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1379 Friday 16 May 2025 00:54:27 -0400 (0:00:00.118) 0:04:06.806 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1387 Friday 16 May 2025 00:54:27 -0400 (0:00:00.096) 0:04:06.903 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1400 Friday 16 May 2025 00:54:27 -0400 (0:00:00.109) 0:04:07.013 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1412 Friday 16 May 2025 00:54:27 -0400 (0:00:00.068) 0:04:07.081 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1417 Friday 16 May 2025 00:54:27 -0400 (0:00:00.093) 0:04:07.175 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 16 May 2025 00:54:27 -0400 (0:00:00.103) 0:04:07.279 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1434 Friday 16 May 2025 00:54:27 -0400 (0:00:00.100) 0:04:07.379 ************ changed: [managed-node2] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 16 May 2025 00:54:28 -0400 (0:00:00.475) 0:04:07.855 ************ changed: [managed-node2] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-05-16 00:52:31 EDT", "ActiveEnterTimestampMonotonic": "544944236", "ActiveExitTimestamp": "Fri 2025-05-16 00:53:51 EDT", "ActiveExitTimestampMonotonic": "624916549", "ActiveState": "inactive", "After": "basic.target -.mount systemd-journald.socket network.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-05-16 00:52:31 EDT", "AssertTimestampMonotonic": "544943457", "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-05-16 00:52:31 EDT", "ConditionTimestampMonotonic": "544943456", "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", "DropInPaths": "/etc/systemd/system/mssql-server.service.d/startlimit.conf", "ExecMainCode": "1", "ExecMainExitTimestamp": "Fri 2025-05-16 00:53:51 EDT", "ExecMainExitTimestampMonotonic": "625154425", "ExecMainPID": "15073", "ExecMainStartTimestamp": "Fri 2025-05-16 00:52:31 EDT", "ExecMainStartTimestampMonotonic": "544944160", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2025-05-16 00:52:31 EDT] ; stop_time=[Fri 2025-05-16 00:53:51 EDT] ; pid=15073 ; 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-05-16 00:53:51 EDT", "InactiveEnterTimestampMonotonic": "625154517", "InactiveExitTimestamp": "Fri 2025-05-16 00:52:31 EDT", "InactiveExitTimestampMonotonic": "544944236", "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 -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1447 Friday 16 May 2025 00:54:28 -0400 (0:00:00.753) 0:04:08.608 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1454 Friday 16 May 2025 00:54:29 -0400 (0:00:00.115) 0:04:08.723 ************ 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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:69 Friday 16 May 2025 00:54:29 -0400 (0:00:00.094) 0:04:08.818 ************ TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 16 May 2025 00:54:30 -0400 (0:00:01.428) 0:04:10.246 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 16 May 2025 00:54:30 -0400 (0:00:00.127) 0:04:10.374 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 16 May 2025 00:54:30 -0400 (0:00:00.093) 0:04:10.468 ************ 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-55r/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-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 16 May 2025 00:54:31 -0400 (0:00:00.268) 0:04:10.736 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 16 May 2025 00:54:31 -0400 (0:00:00.091) 0:04:10.828 ************ skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 16 May 2025 00:54:31 -0400 (0:00:00.085) 0:04:10.914 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 16 May 2025 00:54:31 -0400 (0:00:00.066) 0:04:10.980 ************ skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 16 May 2025 00:54:31 -0400 (0:00:00.094) 0:04:11.074 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 16 May 2025 00:54:31 -0400 (0:00:00.096) 0:04:11.170 ************ skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 16 May 2025 00:54:31 -0400 (0:00:00.107) 0:04:11.277 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 16 May 2025 00:54:31 -0400 (0:00:00.078) 0:04:11.356 ************ skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 16 May 2025 00:54:31 -0400 (0:00:00.090) 0:04:11.446 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 16 May 2025 00:54:31 -0400 (0:00:00.074) 0:04:11.521 ************ skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 16 May 2025 00:54:31 -0400 (0:00:00.070) 0:04:11.592 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 16 May 2025 00:54:32 -0400 (0:00:00.067) 0:04:11.659 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 16 May 2025 00:54:32 -0400 (0:00:00.072) 0:04:11.731 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 16 May 2025 00:54:32 -0400 (0:00:00.075) 0:04:11.807 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 16 May 2025 00:54:32 -0400 (0:00:00.083) 0:04:11.891 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 16 May 2025 00:54:32 -0400 (0:00:00.065) 0:04:11.956 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 16 May 2025 00:54:32 -0400 (0:00:00.069) 0:04:12.026 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 16 May 2025 00:54:32 -0400 (0:00:00.066) 0:04:12.092 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 16 May 2025 00:54:32 -0400 (0:00:00.070) 0:04:12.163 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 16 May 2025 00:54:32 -0400 (0:00:00.066) 0:04:12.229 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 16 May 2025 00:54:33 -0400 (0:00:01.392) 0:04:13.621 ************ 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" } ok: [managed-node2] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed-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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 16 May 2025 00:54:34 -0400 (0:00:00.180) 0:04:13.801 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 16 May 2025 00:54:34 -0400 (0:00:00.068) 0:04:13.869 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 16 May 2025 00:54:34 -0400 (0:00:00.085) 0:04:13.955 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 16 May 2025 00:54:34 -0400 (0:00:00.133) 0:04:14.088 ************ ok: [managed-node2] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 16 May 2025 00:54:35 -0400 (0:00:00.698) 0:04:14.787 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 16 May 2025 00:54:35 -0400 (0:00:00.106) 0:04:14.893 ************ 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 2019] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 16 May 2025 00:54:35 -0400 (0:00:00.116) 0:04:15.010 ************ 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 2019] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 16 May 2025 00:54:35 -0400 (0:00:00.096) 0:04:15.107 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 16 May 2025 00:54:35 -0400 (0:00:00.079) 0:04:15.186 ************ 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 2019] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 16 May 2025 00:54:35 -0400 (0:00:00.075) 0:04:15.261 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 16 May 2025 00:54:35 -0400 (0:00:00.104) 0:04:15.365 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 16 May 2025 00:54:35 -0400 (0:00:00.138) 0:04:15.504 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 16 May 2025 00:54:35 -0400 (0:00:00.080) 0:04:15.584 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 16 May 2025 00:54:36 -0400 (0:00:00.610) 0:04:16.194 ************ ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 16 May 2025 00:54:37 -0400 (0:00:00.628) 0:04:16.823 ************ 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.005056", "end": "2025-05-16 00:54:37.522729", "rc": 0, "start": "2025-05-16 00:54:37.517673" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Check if mssql-server.service is enabled] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:331 Friday 16 May 2025 00:54:37 -0400 (0:00:00.435) 0:04:17.258 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-enabled", "mssql-server.service" ], "delta": "0:00:00.004759", "end": "2025-05-16 00:54:37.918922", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:54:37.914163" } STDOUT: enabled TASK [fedora.linux_system_roles.mssql : Check if mssql-server.service is running] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:338 Friday 16 May 2025 00:54:38 -0400 (0:00:00.421) 0:04:17.680 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "systemctl", "is-active", "mssql-server.service" ], "delta": "0:00:00.004891", "end": "2025-05-16 00:54:38.364031", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:54:38.359140" } STDOUT: active TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:345 Friday 16 May 2025 00:54:38 -0400 (0:00:00.446) 0:04:18.126 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Friday 16 May 2025 00:54:38 -0400 (0:00:00.093) 0:04:18.220 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:368 Friday 16 May 2025 00:54:38 -0400 (0:00:00.073) 0:04:18.293 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:393 Friday 16 May 2025 00:54:38 -0400 (0:00:00.068) 0:04:18.361 ************ included: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node2 included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 16 May 2025 00:54:38 -0400 (0:00:00.210) 0:04:18.572 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 16 May 2025 00:54:39 -0400 (0:00:00.427) 0:04:18.999 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 16 May 2025 00:54:39 -0400 (0:00:00.086) 0:04:19.086 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 16 May 2025 00:54:39 -0400 (0:00:00.139) 0:04:19.225 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003053", "end": "2025-05-16 00:54:39.898727", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:54:39.895674" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 16 May 2025 00:54:40 -0400 (0:00:00.422) 0:04:19.648 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 16 May 2025 00:54:40 -0400 (0:00:00.092) 0:04:19.741 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 16 May 2025 00:54:40 -0400 (0:00:00.187) 0:04:19.928 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 16 May 2025 00:54:40 -0400 (0:00:00.395) 0:04:20.325 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 16 May 2025 00:54:40 -0400 (0:00:00.083) 0:04:20.408 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 16 May 2025 00:54:40 -0400 (0:00:00.120) 0:04:20.529 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002978", "end": "2025-05-16 00:54:41.179052", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:54:41.176074" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 16 May 2025 00:54:41 -0400 (0:00:00.406) 0:04:20.936 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 16 May 2025 00:54:41 -0400 (0:00:00.101) 0:04:21.038 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:408 Friday 16 May 2025 00:54:41 -0400 (0:00:00.077) 0:04:21.116 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:422 Friday 16 May 2025 00:54:41 -0400 (0:00:00.067) 0:04:21.184 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:433 Friday 16 May 2025 00:54:41 -0400 (0:00:00.098) 0:04:21.282 ************ 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" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:439 Friday 16 May 2025 00:54:42 -0400 (0:00:00.609) 0:04:21.891 ************ ok: [managed-node2] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-05-16 00:43:44 EDT", "ActiveEnterTimestampMonotonic": "18881887", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target systemd-sysctl.service dbus.service systemd-journald.socket network.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-05-16 00:43:43 EDT", "AssertTimestampMonotonic": "18333041", "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-05-16 00:43:43 EDT", "ConditionTimestampMonotonic": "18333039", "Conflicts": "cpupower.service shutdown.target", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "874", "ExecMainStartTimestamp": "Fri 2025-05-16 00:43:43 EDT", "ExecMainStartTimestampMonotonic": "18333985", "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-05-16 00:43:43 EDT", "InactiveExitTimestampMonotonic": "18334057", "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": "874", "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 dbus.service basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-05-16 00:43:44 EDT", "WatchdogTimestampMonotonic": "18881651", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:446 Friday 16 May 2025 00:54:42 -0400 (0:00:00.534) 0:04:22.425 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.084137", "end": "2025-05-16 00:54:43.154453", "rc": 0, "start": "2025-05-16 00:54:43.070316" } 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:459 Friday 16 May 2025 00:54:43 -0400 (0:00:00.486) 0:04:22.912 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 16 May 2025 00:54:43 -0400 (0:00:00.107) 0:04:23.020 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:481 Friday 16 May 2025 00:54:43 -0400 (0:00:00.105) 0:04:23.125 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:491 Friday 16 May 2025 00:54:43 -0400 (0:00:00.105) 0:04:23.231 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 16 May 2025 00:54:44 -0400 (0:00:00.467) 0:04:23.698 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Friday 16 May 2025 00:54:44 -0400 (0:00:00.098) 0:04:23.797 ************ 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" ] } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:525 Friday 16 May 2025 00:54:44 -0400 (0:00:00.764) 0:04:24.561 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:539 Friday 16 May 2025 00:54:45 -0400 (0:00:00.102) 0:04:24.664 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 16 May 2025 00:54:45 -0400 (0:00:00.105) 0:04:24.769 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 16 May 2025 00:54:45 -0400 (0:00:00.116) 0:04:24.886 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 16 May 2025 00:54:45 -0400 (0:00:00.108) 0:04:24.994 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:580 Friday 16 May 2025 00:54:45 -0400 (0:00:00.103) 0:04:25.097 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 16 May 2025 00:54:45 -0400 (0:00:00.110) 0:04:25.208 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 16 May 2025 00:54:45 -0400 (0:00:00.092) 0:04:25.300 ************ ok: [managed-node2] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.004914", "end": "2025-05-16 00:54:45.986168", "failed_when_result": false, "rc": 1, "start": "2025-05-16 00:54:45.981254" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:605 Friday 16 May 2025 00:54:46 -0400 (0:00:00.456) 0:04:25.757 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:612 Friday 16 May 2025 00:54:46 -0400 (0:00:00.107) 0:04:25.864 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:625 Friday 16 May 2025 00:54:46 -0400 (0:00:00.105) 0:04:25.969 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 16 May 2025 00:54:46 -0400 (0:00:00.184) 0:04:26.153 ************ ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-05-16 00:54:28 EDT", "ActiveEnterTimestampMonotonic": "661932414", "ActiveExitTimestamp": "Fri 2025-05-16 00:53:51 EDT", "ActiveExitTimestampMonotonic": "624916549", "ActiveState": "active", "After": "basic.target -.mount systemd-journald.socket network.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-05-16 00:54:28 EDT", "AssertTimestampMonotonic": "661931378", "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-05-16 00:54:28 EDT", "ConditionTimestampMonotonic": "661931377", "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", "DropInPaths": "/etc/systemd/system/mssql-server.service.d/startlimit.conf", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "20944", "ExecMainStartTimestamp": "Fri 2025-05-16 00:54:28 EDT", "ExecMainStartTimestampMonotonic": "661932365", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2025-05-16 00:54:28 EDT] ; stop_time=[n/a] ; pid=20944 ; 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-05-16 00:53:51 EDT", "InactiveEnterTimestampMonotonic": "625154517", "InactiveExitTimestamp": "Fri 2025-05-16 00:54:28 EDT", "InactiveExitTimestampMonotonic": "661932414", "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": "20944", "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 -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-05-16 00:54:28 EDT", "WatchdogTimestampMonotonic": "661932398", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 16 May 2025 00:54:47 -0400 (0:00:00.545) 0:04:26.699 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003432", "end": "2025-05-16 00:54:47.380184", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:54:47.376752" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 16 May 2025 00:54:47 -0400 (0:00:00.445) 0:04:27.144 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002961", "end": "2025-05-16 00:54:47.835917", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:54:47.832956" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 16 May 2025 00:54:47 -0400 (0:00:00.466) 0:04:27.610 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Friday 16 May 2025 00:54:48 -0400 (0:00:00.127) 0:04:27.738 ************ 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": 7886, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:635 Friday 16 May 2025 00:54:49 -0400 (0:00:01.442) 0:04:29.181 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:650 Friday 16 May 2025 00:54:50 -0400 (0:00:00.718) 0:04:29.899 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:657 Friday 16 May 2025 00:54:50 -0400 (0:00:00.074) 0:04:29.974 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:665 Friday 16 May 2025 00:54:51 -0400 (0:00:01.359) 0:04:31.333 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:686 Friday 16 May 2025 00:54:51 -0400 (0:00:00.121) 0:04:31.454 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:693 Friday 16 May 2025 00:54:51 -0400 (0:00:00.089) 0:04:31.543 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 16 May 2025 00:54:51 -0400 (0:00:00.089) 0:04:31.633 ************ 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.004545", "end": "2025-05-16 00:54:52.366173", "rc": 0, "start": "2025-05-16 00:54:52.361628" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:718 Friday 16 May 2025 00:54:52 -0400 (0:00:00.498) 0:04:32.131 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Friday 16 May 2025 00:54:52 -0400 (0:00:00.109) 0:04:32.241 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Friday 16 May 2025 00:54:54 -0400 (0:00:01.634) 0:04:33.875 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:750 Friday 16 May 2025 00:54:54 -0400 (0:00:00.100) 0:04:33.976 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 16 May 2025 00:54:54 -0400 (0:00:00.188) 0:04:34.164 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003742", "end": "2025-05-16 00:54:54.834036", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:54:54.830294" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 16 May 2025 00:54:54 -0400 (0:00:00.398) 0:04:34.563 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 16 May 2025 00:54:55 -0400 (0:00:00.081) 0:04:34.644 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:757 Friday 16 May 2025 00:54:55 -0400 (0:00:00.103) 0:04:34.747 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:764 Friday 16 May 2025 00:54:55 -0400 (0:00:00.117) 0:04:34.865 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:776 Friday 16 May 2025 00:54:55 -0400 (0:00:00.106) 0:04:34.971 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 16 May 2025 00:54:55 -0400 (0:00:00.146) 0:04:35.117 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002891", "end": "2025-05-16 00:54:55.768510", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:54:55.765619" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 16 May 2025 00:54:55 -0400 (0:00:00.420) 0:04:35.538 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 16 May 2025 00:54:56 -0400 (0:00:00.113) 0:04:35.652 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:782 Friday 16 May 2025 00:54:56 -0400 (0:00:00.097) 0:04:35.749 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:802 Friday 16 May 2025 00:54:56 -0400 (0:00:00.091) 0:04:35.840 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 16 May 2025 00:54:56 -0400 (0:00:00.179) 0:04:36.020 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002819", "end": "2025-05-16 00:54:56.653949", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:54:56.651130" } STDOUT: enabled = False TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 16 May 2025 00:54:56 -0400 (0:00:00.373) 0:04:36.393 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 16 May 2025 00:54:56 -0400 (0:00:00.095) 0:04:36.489 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:809 Friday 16 May 2025 00:54:56 -0400 (0:00:00.067) 0:04:36.556 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 16 May 2025 00:54:57 -0400 (0:00:00.692) 0:04:37.249 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:825 Friday 16 May 2025 00:54:58 -0400 (0:00:00.534) 0:04:37.784 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002770", "end": "2025-05-16 00:54:58.414092", "failed_when_result": false, "rc": 1, "start": "2025-05-16 00:54:58.411322" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:831 Friday 16 May 2025 00:54:58 -0400 (0:00:00.354) 0:04:38.138 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:838 Friday 16 May 2025 00:54:58 -0400 (0:00:00.069) 0:04:38.208 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:846 Friday 16 May 2025 00:54:58 -0400 (0:00:00.073) 0:04:38.281 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 16 May 2025 00:54:58 -0400 (0:00:00.118) 0:04:38.399 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003423", "end": "2025-05-16 00:54:59.032339", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:54:59.028916" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 16 May 2025 00:54:59 -0400 (0:00:00.376) 0:04:38.776 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 16 May 2025 00:54:59 -0400 (0:00:00.089) 0:04:38.865 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:852 Friday 16 May 2025 00:54:59 -0400 (0:00:00.070) 0:04:38.935 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 16 May 2025 00:54:59 -0400 (0:00:00.173) 0:04:39.109 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002817", "end": "2025-05-16 00:54:59.788579", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:54:59.785762" } STDOUT: writethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 16 May 2025 00:54:59 -0400 (0:00:00.421) 0:04:39.531 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 16 May 2025 00:54:59 -0400 (0:00:00.085) 0:04:39.617 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:862 Friday 16 May 2025 00:55:00 -0400 (0:00:00.069) 0:04:39.686 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:870 Friday 16 May 2025 00:55:00 -0400 (0:00:00.069) 0:04:39.755 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:878 Friday 16 May 2025 00:55:00 -0400 (0:00:00.064) 0:04:39.820 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:885 Friday 16 May 2025 00:55:00 -0400 (0:00:00.181) 0:04:40.001 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 16 May 2025 00:55:00 -0400 (0:00:00.071) 0:04:40.073 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:901 Friday 16 May 2025 00:55:00 -0400 (0:00:00.074) 0:04:40.147 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 16 May 2025 00:55:00 -0400 (0:00:00.077) 0:04:40.225 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:923 Friday 16 May 2025 00:55:00 -0400 (0:00:00.071) 0:04:40.297 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:937 Friday 16 May 2025 00:55:00 -0400 (0:00:00.070) 0:04:40.367 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:947 Friday 16 May 2025 00:55:00 -0400 (0:00:00.097) 0:04:40.464 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:952 Friday 16 May 2025 00:55:00 -0400 (0:00:00.107) 0:04:40.571 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:969 Friday 16 May 2025 00:55:01 -0400 (0:00:00.113) 0:04:40.685 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:974 Friday 16 May 2025 00:55:01 -0400 (0:00:00.104) 0:04:40.789 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:979 Friday 16 May 2025 00:55:01 -0400 (0:00:00.105) 0:04:40.895 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:985 Friday 16 May 2025 00:55:01 -0400 (0:00:00.102) 0:04:40.998 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1011 Friday 16 May 2025 00:55:01 -0400 (0:00:00.102) 0:04:41.101 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1032 Friday 16 May 2025 00:55:01 -0400 (0:00:00.110) 0:04:41.211 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1040 Friday 16 May 2025 00:55:01 -0400 (0:00:00.119) 0:04:41.331 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1050 Friday 16 May 2025 00:55:01 -0400 (0:00:00.094) 0:04:41.426 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1056 Friday 16 May 2025 00:55:01 -0400 (0:00:00.081) 0:04:41.507 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1074 Friday 16 May 2025 00:55:01 -0400 (0:00:00.089) 0:04:41.597 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1085 Friday 16 May 2025 00:55:02 -0400 (0:00:00.071) 0:04:41.668 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1105 Friday 16 May 2025 00:55:02 -0400 (0:00:00.102) 0:04:41.771 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1158 Friday 16 May 2025 00:55:02 -0400 (0:00:00.100) 0:04:41.871 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1165 Friday 16 May 2025 00:55:02 -0400 (0:00:00.080) 0:04:41.951 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1172 Friday 16 May 2025 00:55:02 -0400 (0:00:00.067) 0:04:42.019 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1182 Friday 16 May 2025 00:55:02 -0400 (0:00:00.065) 0:04:42.085 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1188 Friday 16 May 2025 00:55:02 -0400 (0:00:00.186) 0:04:42.272 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 16 May 2025 00:55:02 -0400 (0:00:00.109) 0:04:42.381 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1205 Friday 16 May 2025 00:55:02 -0400 (0:00:00.142) 0:04:42.524 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Friday 16 May 2025 00:55:03 -0400 (0:00:00.191) 0:04:42.715 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1227 Friday 16 May 2025 00:55:03 -0400 (0:00:00.187) 0:04:42.903 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1233 Friday 16 May 2025 00:55:03 -0400 (0:00:00.117) 0:04:43.020 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1255 Friday 16 May 2025 00:55:03 -0400 (0:00:00.101) 0:04:43.122 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 16 May 2025 00:55:03 -0400 (0:00:00.179) 0:04:43.302 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 16 May 2025 00:55:03 -0400 (0:00:00.126) 0:04:43.428 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1283 Friday 16 May 2025 00:55:03 -0400 (0:00:00.116) 0:04:43.545 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1294 Friday 16 May 2025 00:55:04 -0400 (0:00:00.100) 0:04:43.645 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 16 May 2025 00:55:04 -0400 (0:00:00.092) 0:04:43.738 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1316 Friday 16 May 2025 00:55:04 -0400 (0:00:00.084) 0:04:43.822 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1323 Friday 16 May 2025 00:55:04 -0400 (0:00:00.120) 0:04:43.943 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1330 Friday 16 May 2025 00:55:04 -0400 (0:00:00.110) 0:04:44.053 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1338 Friday 16 May 2025 00:55:04 -0400 (0:00:00.136) 0:04:44.190 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1345 Friday 16 May 2025 00:55:04 -0400 (0:00:00.113) 0:04:44.303 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 16 May 2025 00:55:04 -0400 (0:00:00.138) 0:04:44.442 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1366 Friday 16 May 2025 00:55:04 -0400 (0:00:00.175) 0:04:44.617 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1373 Friday 16 May 2025 00:55:05 -0400 (0:00:00.126) 0:04:44.743 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1379 Friday 16 May 2025 00:55:05 -0400 (0:00:00.110) 0:04:44.854 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1387 Friday 16 May 2025 00:55:05 -0400 (0:00:00.104) 0:04:44.958 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1400 Friday 16 May 2025 00:55:05 -0400 (0:00:00.095) 0:04:45.053 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1412 Friday 16 May 2025 00:55:05 -0400 (0:00:00.085) 0:04:45.139 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1417 Friday 16 May 2025 00:55:05 -0400 (0:00:00.102) 0:04:45.242 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 16 May 2025 00:55:05 -0400 (0:00:00.256) 0:04:45.498 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1434 Friday 16 May 2025 00:55:05 -0400 (0:00:00.113) 0:04:45.612 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1447 Friday 16 May 2025 00:55:06 -0400 (0:00:00.611) 0:04:46.224 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1454 Friday 16 May 2025 00:55:06 -0400 (0:00:00.098) 0:04:46.323 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify disabled settings] ************************************************ task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:84 Friday 16 May 2025 00:55:06 -0400 (0:00:00.100) 0:04:46.423 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 16 May 2025 00:55:07 -0400 (0:00:01.010) 0:04:47.434 ************ 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.004658", "end": "2025-05-16 00:55:08.121177", "rc": 0, "start": "2025-05-16 00:55:08.116519" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 16 May 2025 00:55:08 -0400 (0:00:00.465) 0:04:47.899 ************ 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.004750", "end": "2025-05-16 00:55:08.580407", "rc": 0, "start": "2025-05-16 00:55:08.575657" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 16 May 2025 00:55:08 -0400 (0:00:00.444) 0:04:48.343 ************ ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 16 May 2025 00:55:08 -0400 (0:00:00.087) 0:04:48.431 ************ included: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 included: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 included: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 included: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node2 included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 16 May 2025 00:55:08 -0400 (0:00:00.189) 0:04:48.620 ************ ok: [managed-node2] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004102", "end": "2025-05-16 00:55:09.301848", "rc": 0, "start": "2025-05-16 00:55:09.297746" } STDOUT: ipaddress = 127.0.0.1 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 16 May 2025 00:55:09 -0400 (0:00:00.519) 0:04:49.140 ************ ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 16 May 2025 00:55:09 -0400 (0:00:00.090) 0:04:49.230 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 127.0.0.1] ***************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 16 May 2025 00:55:09 -0400 (0:00:00.070) 0:04:49.301 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultdatadir] ***************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 16 May 2025 00:55:09 -0400 (0:00:00.074) 0:04:49.375 ************ ok: [managed-node2] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003968", "end": "2025-05-16 00:55:10.006809", "rc": 0, "start": "2025-05-16 00:55:10.002841" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 16 May 2025 00:55:10 -0400 (0:00:00.366) 0:04:49.742 ************ ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 16 May 2025 00:55:10 -0400 (0:00:00.129) 0:04:49.872 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/data] ******************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 16 May 2025 00:55:10 -0400 (0:00:00.143) 0:04:50.016 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 16 May 2025 00:55:10 -0400 (0:00:00.112) 0:04:50.129 ************ ok: [managed-node2] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004727", "end": "2025-05-16 00:55:10.950629", "rc": 0, "start": "2025-05-16 00:55:10.945902" } STDOUT: enabled = False TASK [Verify the setting when it is type str enabled] ************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 16 May 2025 00:55:11 -0400 (0:00:00.587) 0:04:50.716 ************ 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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 16 May 2025 00:55:11 -0400 (0:00:00.104) 0:04:50.821 ************ ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 16 May 2025 00:55:11 -0400 (0:00:00.152) 0:04:50.973 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 16 May 2025 00:55:11 -0400 (0:00:00.136) 0:04:51.110 ************ ok: [managed-node2] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003937", "end": "2025-05-16 00:55:11.978684", "rc": 0, "start": "2025-05-16 00:55:11.974747" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 16 May 2025 00:55:12 -0400 (0:00:00.692) 0:04:51.803 ************ ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 16 May 2025 00:55:12 -0400 (0:00:00.145) 0:04:51.948 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/log] ******************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 16 May 2025 00:55:12 -0400 (0:00:00.109) 0:04:52.057 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 16 May 2025 00:55:12 -0400 (0:00:00.123) 0:04:52.181 ************ ok: [managed-node2] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004044", "end": "2025-05-16 00:55:12.991847", "rc": 0, "start": "2025-05-16 00:55:12.987803" } STDOUT: tcpport = 1435 TASK [Verify the setting when it is type str tcpport] ************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 16 May 2025 00:55:13 -0400 (0:00:00.548) 0:04:52.730 ************ 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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 16 May 2025 00:55:13 -0400 (0:00:00.091) 0:04:52.821 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1435] ********************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 16 May 2025 00:55:13 -0400 (0:00:00.108) 0:04:52.929 ************ ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 16 May 2025 00:55:13 -0400 (0:00:00.375) 0:04:53.304 ************ ok: [managed-node2] => { "changed": false, "stat": { "atime": 1747371074.3461697, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1747371074.3141694, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 266660, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1747371074.3141694, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "732224510", "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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 16 May 2025 00:55:14 -0400 (0:00:00.463) 0:04:53.768 ************ ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 16 May 2025 00:55:14 -0400 (0:00:00.229) 0:04:53.997 ************ ok: [managed-node2] => { "changed": false, "stat": { "atime": 1747371271.3757293, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1747371271.3907294, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 266661, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1747371271.3907294, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "732224511", "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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 16 May 2025 00:55:14 -0400 (0:00:00.488) 0:04:54.486 ************ ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 16 May 2025 00:55:14 -0400 (0:00:00.080) 0:04:54.566 ************ TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 16 May 2025 00:55:15 -0400 (0:00:00.133) 0:04:54.700 ************ ok: [managed-node2] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-05-16 00:54:28 EDT", "ActiveEnterTimestampMonotonic": "661932414", "ActiveExitTimestamp": "Fri 2025-05-16 00:53:51 EDT", "ActiveExitTimestampMonotonic": "624916549", "ActiveState": "active", "After": "basic.target -.mount systemd-journald.socket network.target system.slice auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-05-16 00:54:28 EDT", "AssertTimestampMonotonic": "661931378", "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-05-16 00:54:28 EDT", "ConditionTimestampMonotonic": "661931377", "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", "DropInPaths": "/etc/systemd/system/mssql-server.service.d/startlimit.conf", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "20944", "ExecMainStartTimestamp": "Fri 2025-05-16 00:54:28 EDT", "ExecMainStartTimestampMonotonic": "661932365", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2025-05-16 00:54:28 EDT] ; stop_time=[n/a] ; pid=20944 ; 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-05-16 00:53:51 EDT", "InactiveEnterTimestampMonotonic": "625154517", "InactiveExitTimestamp": "Fri 2025-05-16 00:54:28 EDT", "InactiveExitTimestampMonotonic": "661932414", "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": "20944", "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 -.mount system.slice", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-05-16 00:54:28 EDT", "WatchdogTimestampMonotonic": "661932398", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 16 May 2025 00:55:15 -0400 (0:00:00.557) 0:04:55.257 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002826", "end": "2025-05-16 00:55:15.929136", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:55:15.926310" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 16 May 2025 00:55:16 -0400 (0:00:00.394) 0:04:55.652 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003048", "end": "2025-05-16 00:55:16.321981", "failed_when_result": false, "rc": 0, "start": "2025-05-16 00:55:16.318933" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 16 May 2025 00:55:16 -0400 (0:00:00.402) 0:04:56.054 ************ 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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:95 Friday 16 May 2025 00:55:16 -0400 (0:00:00.086) 0:04:56.140 ************ 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": 7886, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:116 Friday 16 May 2025 00:55:17 -0400 (0:00:01.400) 0:04:57.541 ************ 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.020241", "end": "2025-05-16 00:55:18.235488", "rc": 0, "start": "2025-05-16 00:55:18.215247" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU27) (KB5037331) - 15.0.4375.4 (X64) Jun 10 2024 18:00:07 Copyright (C) 2019 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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:135 Friday 16 May 2025 00:55:18 -0400 (0:00:00.462) 0:04:58.004 ************ ok: [managed-node2] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:139 Friday 16 May 2025 00:55:18 -0400 (0:00:00.110) 0:04:58.115 ************ included: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml for managed-node2 TASK [Gather package facts] **************************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 Friday 16 May 2025 00:55:18 -0400 (0:00:00.184) 0:04:58.299 ************ 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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:12 Friday 16 May 2025 00:55:20 -0400 (0:00:01.532) 0:04:59.832 ************ 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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:17 Friday 16 May 2025 00:55:20 -0400 (0:00:00.285) 0:05:00.118 ************ ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:146 Friday 16 May 2025 00:55:20 -0400 (0:00:00.142) 0:05:00.260 ************ included: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml for managed-node2 TASK [Gather package facts] **************************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 Friday 16 May 2025 00:55:20 -0400 (0:00:00.181) 0:05:00.441 ************ 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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:12 Friday 16 May 2025 00:55:22 -0400 (0:00:01.341) 0:05:01.783 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed powershell] *********************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:17 Friday 16 May 2025 00:55:22 -0400 (0:00:00.081) 0:05:01.864 ************ ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:157 Friday 16 May 2025 00:55:22 -0400 (0:00:00.115) 0:05:01.980 ************ ok: [managed-node2] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003858", "end": "2025-05-16 00:55:22.634839", "rc": 0, "start": "2025-05-16 00:55:22.630981" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 16 May 2025 00:55:22 -0400 (0:00:00.392) 0:05:02.372 ************ 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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:167 Friday 16 May 2025 00:55:22 -0400 (0:00:00.068) 0:05:02.440 ************ ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:173 Friday 16 May 2025 00:55:22 -0400 (0:00:00.078) 0:05:02.519 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 16 May 2025 00:55:23 -0400 (0:00:00.166) 0:05:02.686 ************ ok: [managed-node2] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004082", "end": "2025-05-16 00:55:23.460567", "rc": 0, "start": "2025-05-16 00:55:23.456485" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 16 May 2025 00:55:23 -0400 (0:00:00.509) 0:05:03.196 ************ 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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 16 May 2025 00:55:23 -0400 (0:00:00.078) 0:05:03.274 ************ ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 16 May 2025 00:55:23 -0400 (0:00:00.123) 0:05:03.397 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:179 Friday 16 May 2025 00:55:23 -0400 (0:00:00.086) 0:05:03.483 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 16 May 2025 00:55:23 -0400 (0:00:00.144) 0:05:03.628 ************ ok: [managed-node2] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004037", "end": "2025-05-16 00:55:24.301704", "rc": 0, "start": "2025-05-16 00:55:24.297667" } STDOUT: writethrough = 0 TASK [Verify the setting when it is type str writethrough] ********************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 16 May 2025 00:55:24 -0400 (0:00:00.396) 0:05:04.025 ************ 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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 16 May 2025 00:55:24 -0400 (0:00:00.285) 0:05:04.310 ************ ok: [managed-node2] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 16 May 2025 00:55:24 -0400 (0:00:00.141) 0:05:04.451 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:189 Friday 16 May 2025 00:55:24 -0400 (0:00:00.104) 0:05:04.556 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:200 Friday 16 May 2025 00:55:25 -0400 (0:00:00.092) 0:05:04.648 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:212 Friday 16 May 2025 00:55:25 -0400 (0:00:00.109) 0:05:04.757 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:220 Friday 16 May 2025 00:55:25 -0400 (0:00:00.113) 0:05:04.871 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:227 Friday 16 May 2025 00:55:25 -0400 (0:00:00.079) 0:05:04.951 ************ 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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:101 Friday 16 May 2025 00:55:25 -0400 (0:00:00.070) 0:05:05.021 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/check_header.yml:4 Friday 16 May 2025 00:55:26 -0400 (0:00:01.029) 0:05:06.051 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003378", "end": "2025-05-16 00:55:26.962612", "rc": 0, "start": "2025-05-16 00:55:26.959234" } 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-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_idempotency_2019.yml:18 Friday 16 May 2025 00:55:27 -0400 (0:00:00.710) 0:05:06.762 ************ included: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml for managed-node2 TASK [Gather package facts] **************************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Friday 16 May 2025 00:55:27 -0400 (0:00:00.244) 0:05:07.006 ************ 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 [Set role variables needed for cleanup] *********************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:6 Friday 16 May 2025 00:55:29 -0400 (0:00:01.772) 0:05:08.779 ************ TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 16 May 2025 00:55:29 -0400 (0:00:00.343) 0:05:09.122 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 16 May 2025 00:55:29 -0400 (0:00:00.178) 0:05:09.300 ************ 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-55r/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-55r/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 [Purge cluster configuration] ********************************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:12 Friday 16 May 2025 00:55:29 -0400 (0:00:00.176) 0:05:09.477 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:20 Friday 16 May 2025 00:55:29 -0400 (0:00:00.151) 0:05:09.628 ************ ok: [managed-node2] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:24 Friday 16 May 2025 00:55:30 -0400 (0:00:00.105) 0:05:09.734 ************ TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 16 May 2025 00:55:30 -0400 (0:00:00.247) 0:05:09.981 ************ included: /tmp/collections-55r/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-55r/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 16 May 2025 00:55:30 -0400 (0:00:00.189) 0:05:10.171 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 16 May 2025 00:55:30 -0400 (0:00:00.113) 0:05:10.284 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 16 May 2025 00:55:31 -0400 (0:00:00.498) 0:05:10.783 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 16 May 2025 00:55:31 -0400 (0:00:00.138) 0:05:10.922 ************ ok: [managed-node2] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 16 May 2025 00:55:31 -0400 (0:00:00.611) 0:05:11.534 ************ ok: [managed-node2] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 16 May 2025 00:55:32 -0400 (0:00:00.509) 0:05:12.043 ************ ok: [managed-node2] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 16 May 2025 00:55:33 -0400 (0:00:00.864) 0:05:12.908 ************ skipping: [managed-node2] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 16 May 2025 00:55:33 -0400 (0:00:00.108) 0:05:13.016 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 16 May 2025 00:55:33 -0400 (0:00:00.111) 0:05:13.127 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 16 May 2025 00:55:33 -0400 (0:00:00.112) 0:05:13.240 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 16 May 2025 00:55:33 -0400 (0:00:00.095) 0:05:13.336 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 16 May 2025 00:55:33 -0400 (0:00:00.104) 0:05:13.440 ************ ok: [managed-node2] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2025-05-16 00:50:06 EDT", "ActiveEnterTimestampMonotonic": "399503304", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service dbus.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-05-16 00:50:06 EDT", "AssertTimestampMonotonic": "399260343", "Before": "shutdown.target multi-user.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-05-16 00:50:06 EDT", "ConditionTimestampMonotonic": "399260341", "Conflicts": "shutdown.target ip6tables.service iptables.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": "11694", "ExecMainStartTimestamp": "Fri 2025-05-16 00:50:06 EDT", "ExecMainStartTimestampMonotonic": "399261478", "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-05-16 00:50:06 EDT", "InactiveExitTimestampMonotonic": "399262315", "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": "11694", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "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-05-16 00:50:06 EDT", "WatchdogTimestampMonotonic": "399503249", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 16 May 2025 00:55:34 -0400 (0:00:00.495) 0:05:13.936 ************ ok: [managed-node2] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-05-16 00:50:06 EDT", "ActiveEnterTimestampMonotonic": "399503304", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "polkit.service dbus.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-05-16 00:50:06 EDT", "AssertTimestampMonotonic": "399260343", "Before": "shutdown.target multi-user.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-05-16 00:50:06 EDT", "ConditionTimestampMonotonic": "399260341", "Conflicts": "shutdown.target ip6tables.service iptables.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": "11694", "ExecMainStartTimestamp": "Fri 2025-05-16 00:50:06 EDT", "ExecMainStartTimestampMonotonic": "399261478", "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-05-16 00:50:06 EDT", "InactiveExitTimestampMonotonic": "399262315", "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": "11694", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "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-05-16 00:50:06 EDT", "WatchdogTimestampMonotonic": "399503249", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 16 May 2025 00:55:34 -0400 (0:00:00.590) 0:05:14.526 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 16 May 2025 00:55:35 -0400 (0:00:00.154) 0:05:14.680 ************ ok: [managed-node2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.9.243 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 16 May 2025 00:55:35 -0400 (0:00:00.561) 0:05:15.242 ************ ok: [managed-node2] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 16 May 2025 00:55:35 -0400 (0:00:00.109) 0:05:15.352 ************ TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:121 Friday 16 May 2025 00:55:35 -0400 (0:00:00.112) 0:05:15.464 ************ TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:131 Friday 16 May 2025 00:55:35 -0400 (0:00:00.083) 0:05:15.547 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:140 Friday 16 May 2025 00:55:36 -0400 (0:00:00.092) 0:05:15.639 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:145 Friday 16 May 2025 00:55:36 -0400 (0:00:00.065) 0:05:15.705 ************ 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-55r/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:154 Friday 16 May 2025 00:55:36 -0400 (0:00:00.069) 0:05:15.775 ************ ok: [managed-node2] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.9.243 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:164 Friday 16 May 2025 00:55:36 -0400 (0:00:00.411) 0:05:16.186 ************ ok: [managed-node2] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:170 Friday 16 May 2025 00:55:36 -0400 (0:00:00.263) 0:05:16.449 ************ skipping: [managed-node2] => {} TASK [Purge selinux configuration] ********************************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:32 Friday 16 May 2025 00:55:36 -0400 (0:00:00.109) 0:05:16.558 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Leave realm] ************************************************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:39 Friday 16 May 2025 00:55:37 -0400 (0:00:00.107) 0:05:16.666 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:47 Friday 16 May 2025 00:55:37 -0400 (0:00:00.136) 0:05:16.802 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove related packages] ************************************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:51 Friday 16 May 2025 00:55:37 -0400 (0:00:00.112) 0:05:16.914 ************ 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:15.0.4375.4-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 python3 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl to be removed - no longer needed by mssql-server\n---> Marking gdb to be removed - no longer needed by mssql-server\n---> Marking libatomic to be removed - no longer needed by mssql-server\n---> Marking libsss_nss_idmap to be removed - no longer needed by mssql-server\n---> Marking lsof to be removed - no longer needed by mssql-server\n---> Marking bzip2 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl-gssapi to be removed - no longer needed by mssql-server\n---> Marking libtool-ltdl to be removed - no longer needed by unixODBC\n---> Marking python3-libs to be removed - no longer needed by python3\n---> Marking python3-setuptools to be removed - no longer needed by python3\n---> Marking python3-pip to be removed - no longer needed by python3\nFound and removing 14 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package lsof.x86_64 0:4.87-6.el7 will be erased\n---> Package msodbcsql18.x86_64 0:18.4.1.1-1 will be erased\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be erased\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 15.0.4375.4-1 @packages-microsoft-com-mssql-server-2019\n 1.1 G\n mssql-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 lsof x86_64 4.87-6.el7 @base 927 k\n msodbcsql18 x86_64 18.4.1.1-1 @packages-microsoft-com-prod 2.3 M\n python3 x86_64 3.6.8-21.el7_9 @updates 39 k\n python3-libs x86_64 3.6.8-21.el7_9 @updates 35 M\n python3-pip noarch 9.0.3-8.el7 @base 9.1 M\n python3-setuptools\n noarch 39.2.0-10.el7 @base 3.6 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+14 Dependent packages)\n\nInstalled size: 1.2 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-15.0.4375.4-1.x86_64 1/17 \n Erasing : mssql-tools18-18.4.1.1-1.x86_64 2/17 \n Erasing : msodbcsql18-18.4.1.1-1.x86_64 3/17 \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/17 \n Erasing : python3-libs-3.6.8-21.el7_9.x86_64 5/17 \n Erasing : python3-pip-9.0.3-8.el7.noarch 6/17 \n Erasing : python3-setuptools-39.2.0-10.el7.noarch 7/17 \n Erasing : python3-3.6.8-21.el7_9.x86_64 8/17 \n Erasing : unixODBC-2.3.11-1.rh.x86_64 9/17 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 10/17 \n Erasing : libatomic-4.8.5-44.el7.x86_64 11/17 \n Erasing : bzip2-1.0.6-13.el7.x86_64 12/17 \n Erasing : gdb-7.6.1-120.el7.x86_64 13/17 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 14/17 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 15/17 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 16/17 \n Erasing : lsof-4.87-6.el7.x86_64 17/17 \n Verifying : msodbcsql18-18.4.1.1-1.x86_64 1/17 \n Verifying : python3-3.6.8-21.el7_9.x86_64 2/17 \n Verifying : mssql-server-15.0.4375.4-1.x86_64 3/17 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 4/17 \n Verifying : bzip2-1.0.6-13.el7.x86_64 5/17 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 6/17 \n Verifying : lsof-4.87-6.el7.x86_64 7/17 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 8/17 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 9/17 \n Verifying : gdb-7.6.1-120.el7.x86_64 10/17 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 11/17 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 12/17 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 13/17 \n Verifying : python3-pip-9.0.3-8.el7.noarch 14/17 \n Verifying : mssql-tools18-18.4.1.1-1.x86_64 15/17 \n Verifying : libatomic-4.8.5-44.el7.x86_64 16/17 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 17/17 \n\nRemoved:\n mssql-server.x86_64 0:15.0.4375.4-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 lsof.x86_64 0:4.87-6.el7 \n msodbcsql18.x86_64 0:18.4.1.1-1 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:64 Friday 16 May 2025 00:55:41 -0400 (0:00:03.966) 0:05:20.881 ************ [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/mssql-server.service.d /etc/systemd/system/multi-user.target.wants/mssql-server.service", "delta": "0:00:00.010130", "end": "2025-05-16 00:55:41.513255", "rc": 0, "start": "2025-05-16 00:55:41.503125" } 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/Entropy.bin’ removed ‘/var/opt/mssql/data/model_replicatedmaster.ldf’ removed ‘/var/opt/mssql/data/model_replicatedmaster.mdf’ removed ‘/var/opt/mssql/data/tempdb4.ndf’ removed ‘/var/opt/mssql/data/modellog.ldf’ removed ‘/var/opt/mssql/data/tempdb2.ndf’ removed ‘/var/opt/mssql/data/msdblog.ldf’ removed ‘/var/opt/mssql/data/mastlog.ldf’ removed ‘/var/opt/mssql/data/master.mdf’ removed ‘/var/opt/mssql/data/model_msdbdata.mdf’ removed ‘/var/opt/mssql/data/tempdb3.ndf’ removed ‘/var/opt/mssql/data/model_msdblog.ldf’ removed directory: ‘/var/opt/mssql/data’ removed ‘/var/opt/mssql/secrets/machine-key’ removed directory: ‘/var/opt/mssql/secrets’ removed ‘/var/opt/mssql/.system/system/lsa.hiv’ removed directory: ‘/var/opt/mssql/.system/system/Temp’ removed ‘/var/opt/mssql/.system/system/licensing.hiv’ removed ‘/var/opt/mssql/.system/system/lsasetup.log’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/0723af2e-ea7c-48b6-96f1-939f351fea18’ 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 directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Desktop’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Documents’ removed directory: ‘/var/opt/mssql/.system/profiles/Client’ removed directory: ‘/var/opt/mssql/.system/profiles’ removed ‘/var/opt/mssql/.system/instance_id’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft’ removed directory: ‘/var/opt/mssql/.system/programdata’ removed directory: ‘/var/opt/mssql/.system’ removed ‘/var/opt/mssql/log/system_health_0_133918448371650000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133918448457880000.xel’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/system_health_0_133918447546160000.xel’ removed ‘/var/opt/mssql/log/log_4.trc’ removed ‘/var/opt/mssql/log/system_health_0_133918448461680000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133918446725610000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133918448710150000.xel’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/system_health_0_133918446820600000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133918446732220000.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_133918446768370000.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/HkEngineEventFile_0_133918448367970000.xel’ 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/HkEngineEventFile_0_133918447541670000.xel’ removed ‘/var/opt/mssql/log/log_1.trc’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/mssql-conf/mssql-conf.log’ removed directory: ‘/var/opt/mssql/log/mssql-conf’ removed ‘/var/opt/mssql/log/system_health_0_133918448713620000.xel’ removed directory: ‘/var/opt/mssql/log’ removed directory: ‘/var/opt/mssql’ removed directory: ‘/opt/mssql/misc’ removed directory: ‘/opt/mssql’ removed directory: ‘/opt/mssql-tools18’ removed ‘/etc/yum.repos.d/packages-microsoft-com-mssql-server-2019.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/mssql-server.service.d/startlimit.conf’ removed directory: ‘/etc/systemd/system/mssql-server.service.d’ removed ‘/etc/systemd/system/multi-user.target.wants/mssql-server.service’ TASK [Stop the mssql-server service] ******************************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:79 Friday 16 May 2025 00:55:41 -0400 (0:00:00.368) 0:05:21.249 ************ ok: [managed-node2] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:01.211047", "end": "2025-05-16 00:55:43.083304", "rc": 0, "start": "2025-05-16 00:55:41.872257" } TASK [Get SELinux policy modules] ********************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:83 Friday 16 May 2025 00:55:43 -0400 (0:00:01.564) 0:05:22.814 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "semodule", "-l" ], "delta": "0:00:02.149657", "end": "2025-05-16 00:55:45.585430", "rc": 0, "start": "2025-05-16 00:55:43.435773" } STDOUT: abrt 1.4.1 accountsd 1.1.0 acct 1.6.0 afs 1.9.0 aiccu 1.1.0 aide 1.7.1 ajaxterm 1.0.0 alsa 1.12.2 amanda 1.15.0 amtu 1.3.0 anaconda 1.7.0 antivirus 1.0.0 apache 2.7.2 apcupsd 1.9.0 apm 1.12.0 application 1.2.0 arpwatch 1.11.0 asterisk 1.12.1 auditadm 2.2.0 authconfig 1.0.0 authlogin 2.5.1 automount 1.14.1 avahi 1.14.1 awstats 1.5.0 bacula 1.2.0 base (null) bcfg2 1.1.0 bind 1.13.1 bitlbee 1.5.0 blkmapd 1.0.0 blueman 1.1.0 bluetooth 3.5.0 boinc 1.1.1 boltd 1.0.0 bootloader 1.14.0 brctl 1.7.0 brltty 1.0.0 bugzilla 1.1.0 bumblebee 1.0.0 cachefilesd 1.1.0 calamaris 1.8.0 callweaver 1.1.0 canna 1.12.0 ccs 1.6.0 cdrecord 2.6.0 certmaster 1.3.0 certmonger 1.2.0 certwatch 1.8.0 cfengine 1.1.0 cgdcbxd 1.0.0 cgroup 1.2.0 chrome 1.0.0 chronyd 1.2.0 cinder 1.0.0 cipe 1.6.0 clock 1.7.0 clogd 1.1.0 cloudform 1.0 cmirrord 1.1.0 cobbler 1.2.0 cockpit 1.0.0 collectd 1.0.0 colord 1.1.0 comsat 1.8.0 condor 1.0.1 conman 1.0.0 consolekit 1.9.0 container 1.0.0 couchdb 1.1.1 courier 1.14.0 cpucontrol 1.4.0 cpufreqselector 1.4.0 cpuplug 1.0.0 cron 2.6.3 ctdb 1.1.0 cups 1.16.2 cvs 1.10.2 cyphesis 1.3.0 cyrus 1.13.1 daemontools 1.3.0 dbadm 1.1.0 dbskk 1.6.0 dbus 1.19.0 dcc 1.12.0 ddclient 1.10.0 denyhosts 1.1.0 devicekit 1.3.1 dhcp 1.11.0 dictd 1.8.0 dirsrv 1.0.0 dirsrv-admin 1.0.0 dmesg 1.3.0 dmidecode 1.5.1 dnsmasq 1.10.0 dnssec 1.0.0 dovecot 1.16.1 drbd 1.1.0 dspam 1.1.0 entropyd 1.8.0 exim 1.6.1 fail2ban 1.5.0 fcoe 1.1.0 fetchmail 1.13.2 finger 1.10.0 firewalld 1.1.1 firewallgui 1.1.0 firstboot 1.13.0 fprintd 1.2.0 freeipmi 1.0.0 freqset 1.0.0 fstools 1.16.1 ftp 1.15.1 games 2.3.0 ganesha 1.0.0 gdomap 1.0.1 geoclue 1.0.0 getty 1.10.0 git 1.3.2 gitosis 1.4.0 glance 1.1.0 glusterd 1.1.2 gnome 2.3.0 gpg 2.8.0 gpm 1.9.0 gpsd 1.2.0 gssproxy 1.0.0 guest 1.3.0 hddtemp 1.2.0 hostname 1.8.1 hsqldb 1.0.0 hwloc 1.0.0 hypervkvp 1.0.0 icecast 1.2.0 inetd 1.13.0 init 1.20.1 inn 1.11.0 iodine 1.1.0 iotop 1.0.0 ipa 1.0.0 ipmievd 1.0.0 ipsec 1.14.0 iptables 1.14.0 irc 2.3.1 irqbalance 1.6.0 iscsi 1.9.0 isns 1.0.0 jabber 1.10.0 jetty 1.0.0 jockey 1.0.0 journalctl 1.0.0 kdump 1.3.0 kdumpgui 1.2.0 keepalived 1.0.0 kerberos 1.12.0 keyboardd 1.1.0 keystone 1.1.0 kismet 1.7.0 kmscon 1.0 kpatch 1.0.0 ksmtuned 1.1.1 ktalk 1.9.2 l2tp 1.1.0 ldap 1.11.1 libraries 2.10.0 likewise 1.3.0 linuxptp 1.0.0 lircd 1.2.0 livecd 1.3.0 lldpad 1.1.0 loadkeys 1.9.0 locallogin 1.12.0 lockdev 1.5.0 logadm 1.0.0 logging 1.20.1 logrotate 1.15.0 logwatch 1.12.2 lpd 1.14.0 lsm 1.0.0 lttng-tools 1.0.0 lvm 1.15.2 mailman 1.10.0 mailscanner 1.1.0 man2html 1.0.0 mandb 1.1.1 mcelog 1.2.0 mediawiki 1.0.0 memcached 1.3.1 milter 1.5.0 minidlna 0.1 minissdpd 1.0.0 mip6d 1.0.0 mirrormanager 1.0.0 miscfiles 1.11.0 mock 1.0.0 modemmanager 1.2.1 modutils 1.14.0 mojomojo 1.1.0 mon_statd 1.0.0 mongodb 1.1.0 motion 1.0.0 mount 1.16.1 mozilla 2.8.0 mpd 1.1.1 mplayer 2.5.0 mrtg 1.9.0 mta 2.7.3 munin 1.9.1 mysql 1.14.1 mythtv 1.0.0 nagios 1.13.0 namespace 1.0.0 ncftool 1.2.0 netlabel 1.3.0 netutils 1.12.1 networkmanager 1.15.2 ninfod 1.0.0 nis 1.12.0 nova 1.0.0 nscd 1.11.0 nsd 1.8.0 nslcd 1.4.1 ntop 1.10.0 ntp 1.11.0 numad 1.1.0 nut 1.3.0 nx 1.7.0 obex 1.0.0 oddjob 1.10.0 openct 1.6.1 opendnssec 1.0.0 openhpid 1.0.0 openshift 1.0.0 openshift-origin 1.0.0 opensm 1.0.0 openvpn 1.12.2 openvswitch 1.1.1 openwsman 1.0.0 oracleasm 1.0.0 osad 1.0.0 pads 1.1.0 passenger 1.1.1 pcmcia 1.7.0 pcp 1.0.0 pcscd 1.8.0 pegasus 1.9.0 permissivedomains (null) pesign 1.0.0 pingd 1.1.0 piranha 1.0.0 pkcs 1.0.1 pki 10.0.11 plymouthd 1.2.0 podsleuth 1.7.0 policykit 1.3.0 polipo 1.1.1 portmap 1.11.0 portreserve 1.4.0 postfix 1.15.1 postgresql 1.16.0 postgrey 1.9.0 ppp 1.14.0 prelink 1.11.0 prelude 1.4.0 privoxy 1.12.0 procmail 1.13.1 prosody 1.0.0 psad 1.1.0 ptchown 1.2.0 publicfile 1.2.0 pulseaudio 1.6.0 puppet 1.4.0 pwauth 1.0.0 qmail 1.6.1 qpid 1.1.0 quantum 1.1.0 quota 1.6.0 rabbitmq 1.0.2 radius 1.13.0 radvd 1.14.0 raid 1.13.1 rasdaemon 1.0.0 rdisc 1.8.0 readahead 1.13.0 realmd 1.1.0 redis 1.0.1 remotelogin 1.8.0 restraint 1.0 rhcs 1.2.1 rhev 1.0 rhgb 1.9.0 rhnsd 1.0.0 rhsmcertd 1.1.1 rhts 2.0.1 ricci 1.8.0 rkhunter 1.0 rlogin 1.11.3 rngd 1.1.0 roundup 1.8.0 rpc 1.15.1 rpcbind 1.6.1 rpm 1.16.0 rshd 1.8.1 rssh 2.3.0 rsync 1.13.0 rtas 1.0.0 rtkit 1.2.0 rwho 1.7.0 samba 1.16.3 sambagui 1.2.0 sandboxX 1.0.0 sanlock 1.1.0 sasl 1.15.1 sbd 1.0.0 sblim 1.1.0 screen 2.6.0 secadm 2.4.0 sectoolm 1.1.0 selinuxutil 1.17.2 sendmail 1.12.1 sensord 1.0.0 setrans 1.8.0 setroubleshoot 1.12.1 seunshare 1.1.0 sge 1.0.0 shorewall 1.4.0 slocate 1.12.2 slpd 1.1.0 smartmon 1.12.0 smokeping 1.2.0 smoltclient 1.2.0 smsd 1.0.0 snapper 1.0.0 snmp 1.14.0 snort 1.11.0 sosreport 1.3.1 soundserver 1.9.0 spamassassin 2.6.1 speech-dispatcher 1.0.0 squid 1.12.1 ssh 2.4.2 sssd 1.2.0 staff 2.4.0 stapserver 1.1.0 stunnel 1.11.0 su 1.12.0 sudo 1.10.0 svnserve 1.1.0 swift 1.0.0 sysadm 2.6.1 sysadm_secadm 1.0.0 sysnetwork 1.15.4 sysstat 1.8.0 systemd 1.0.0 tangd 1.0.0 targetd 1.0.0 tcpd 1.5.0 tcsd 1.1.1 telepathy 1.4.2 telnet 1.11.3 tftp 1.13.0 tgtd 1.3.1 thin 1.0 thumb 1.0.0 tlp 1.0.0 tmpreaper 1.7.1 tomcat 1.0.0 tor 1.9.0 tuned 1.2.0 tvtime 2.3.0 udev 1.16.2 ulogd 1.3.0 uml 2.3.0 unconfined 3.5.0 unconfineduser 1.0.0 unlabelednet 1.0.0 unprivuser 2.4.0 updfstab 1.6.0 usbmodules 1.3.0 usbmuxd 1.2.0 userdomain 4.9.1 userhelper 1.8.1 usermanage 1.19.0 usernetctl 1.7.0 uucp 1.13.0 uuidd 1.1.0 varnishd 1.2.0 vdagent 1.1.1 vhostmd 1.1.0 virt 1.5.0 vlock 1.2.0 vmtools 1.0.0 vmware 2.7.0 vnstatd 1.1.0 vpn 1.16.0 w3c 1.1.0 watchdog 1.8.0 wdmd 1.1.0 webadm 1.2.0 webalizer 1.13.0 wine 1.11.0 wireshark 2.4.0 xen 1.13.0 xguest 1.2.0 xserver 3.9.4 zabbix 1.6.0 zarafa 1.2.0 zebra 1.13.0 zoneminder 1.0.0 zosremote 1.2.0 TASK [Ensure that semanage command is available] ******************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:89 Friday 16 May 2025 00:55:45 -0400 (0:00:02.508) 0:05:25.322 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Hack around broken mssql SELinux profile and actually remove it] ********* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:97 Friday 16 May 2025 00:55:45 -0400 (0:00:00.068) 0:05:25.391 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check for leftover mssql processes] ************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:106 Friday 16 May 2025 00:55:45 -0400 (0:00:00.070) 0:05:25.462 ************ ok: [managed-node2] => { "changed": false, "cmd": [ "pgrep", "-au", "mssql" ], "delta": "0:00:00.008645", "end": "2025-05-16 00:55:46.091184", "failed_when_result": false, "rc": 1, "start": "2025-05-16 00:55:46.082539" } MSG: non-zero return code TASK [Kill leftover mssql processes] ******************************************* task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:113 Friday 16 May 2025 00:55:46 -0400 (0:00:00.367) 0:05:25.829 ************ skipping: [managed-node2] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove system user] ****************************************************** task path: /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:118 Friday 16 May 2025 00:55:46 -0400 (0:00:00.068) 0:05:25.898 ************ changed: [managed-node2] => { "changed": true, "force": false, "name": "mssql", "remove": true, "state": "absent" } STDERR: userdel: mssql mail spool (/var/spool/mail/mssql) not found userdel: mssql home directory (/var/opt/mssql) not found META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node2 : ok=339 changed=37 unreachable=0 failed=0 skipped=561 rescued=0 ignored=1 Friday 16 May 2025 00:55:46 -0400 (0:00:00.698) 0:05:26.596 ************ =============================================================================== fedora.linux_system_roles.mssql : Change the password of sa user -------- 5.89s /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:665 fedora.linux_system_roles.mssql : Change the edition of MSSQL ----------- 5.75s /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Remove related packages ------------------------------------------------- 3.97s /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:51 fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir --- 2.76s /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Get SELinux policy modules ---------------------------------------------- 2.51s /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:83 Gather package facts ---------------------------------------------------- 1.77s /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 fedora.linux_system_roles.mssql : Restart the mssql-server service ------ 1.77s /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.73s /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:657 fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts --- 1.63s /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:809 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.63s /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 fedora.linux_system_roles.mssql : Ensure the package powershell --------- 1.62s /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 1.60s /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.57s /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:657 Stop the mssql-server service ------------------------------------------- 1.56s /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:79 fedora.linux_system_roles.mssql : Get the setting control alternatewritethrough --- 1.54s /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Gather package facts ---------------------------------------------------- 1.53s /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 Run to edit settings ---------------------------------------------------- 1.52s /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:52 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.50s /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 1.46s /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 fedora.linux_system_roles.mssql : Get the setting network tcpport ------- 1.46s /tmp/collections-55r/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3