ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_idempotency_2017.yml ******************************************* 1 plays in /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_idempotency_2017.yml PLAY [Ensure that the role is idempotent] ************************************** META: ran handlers TASK [Run tests_idempotency with SQL Server 2017] ****************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_idempotency_2017.yml:15 Friday 10 January 2025 20:36:27 -0500 (0:00:00.049) 0:00:00.049 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml for managed-node1 TASK [Assert fail on EL 7 with version = 2022 and EL 9 with version != 2022] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:2 Friday 10 January 2025 20:36:27 -0500 (0:00:00.026) 0:00:00.075 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml for managed-node1 TASK [Ensure ansible_facts to get ansible_distribution] ************************ task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:2 Friday 10 January 2025 20:36:27 -0500 (0:00:00.097) 0:00:00.173 ******** ok: [managed-node1] TASK [Run the role] ************************************************************ task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:17 Friday 10 January 2025 20:36:28 -0500 (0:00:00.817) 0:00:00.991 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:24 Friday 10 January 2025 20:36:28 -0500 (0:00:00.025) 0:00:01.017 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run on a fresh host and set all parameters] ****************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:5 Friday 10 January 2025 20:36:28 -0500 (0:00:00.029) 0:00:01.046 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 10 January 2025 20:36:29 -0500 (0:00:00.393) 0:00:01.439 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 10 January 2025 20:36:29 -0500 (0:00:00.024) 0:00:01.464 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 10 January 2025 20:36:29 -0500 (0:00:00.021) 0:00:01.486 ******** ok: [managed-node1] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 10 January 2025 20:36:29 -0500 (0:00:00.063) 0:00:01.549 ******** ok: [managed-node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 10 January 2025 20:36:29 -0500 (0:00:00.019) 0:00:01.569 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 10 January 2025 20:36:29 -0500 (0:00:00.019) 0:00:01.588 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 10 January 2025 20:36:29 -0500 (0:00:00.017) 0:00:01.606 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 10 January 2025 20:36:29 -0500 (0:00:00.019) 0:00:01.625 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 10 January 2025 20:36:29 -0500 (0:00:00.018) 0:00:01.644 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 10 January 2025 20:36:29 -0500 (0:00:00.018) 0:00:01.663 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 10 January 2025 20:36:29 -0500 (0:00:00.017) 0:00:01.681 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 10 January 2025 20:36:29 -0500 (0:00:00.019) 0:00:01.700 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that variable is deprecated] ***** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 10 January 2025 20:36:29 -0500 (0:00:00.017) 0:00:01.718 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 10 January 2025 20:36:29 -0500 (0:00:00.020) 0:00:01.738 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 10 January 2025 20:36:29 -0500 (0:00:00.017) 0:00:01.755 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 10 January 2025 20:36:29 -0500 (0:00:00.020) 0:00:01.776 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 10 January 2025 20:36:29 -0500 (0:00:00.025) 0:00:01.802 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 10 January 2025 20:36:29 -0500 (0:00:00.017) 0:00:01.819 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 10 January 2025 20:36:29 -0500 (0:00:00.016) 0:00:01.836 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 10 January 2025 20:36:29 -0500 (0:00:00.017) 0:00:01.854 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 10 January 2025 20:36:29 -0500 (0:00:00.018) 0:00:01.872 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 10 January 2025 20:36:29 -0500 (0:00:00.026) 0:00:01.898 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 10 January 2025 20:36:29 -0500 (0:00:00.025) 0:00:01.924 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 10 January 2025 20:36:31 -0500 (0:00:01.755) 0:00:03.680 ******** skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 10 January 2025 20:36:31 -0500 (0:00:00.267) 0:00:03.947 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 10 January 2025 20:36:31 -0500 (0:00:00.086) 0:00:04.034 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 10 January 2025 20:36:31 -0500 (0:00:00.118) 0:00:04.152 ******** skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 10 January 2025 20:36:31 -0500 (0:00:00.158) 0:00:04.311 ******** ok: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 10 January 2025 20:36:32 -0500 (0:00:00.898) 0:00:05.209 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 10 January 2025 20:36:32 -0500 (0:00:00.091) 0:00:05.301 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 10 January 2025 20:36:33 -0500 (0:00:00.122) 0:00:05.424 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 10 January 2025 20:36:33 -0500 (0:00:00.153) 0:00:05.577 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 10 January 2025 20:36:33 -0500 (0:00:00.292) 0:00:05.870 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 10 January 2025 20:36:33 -0500 (0:00:00.133) 0:00:06.003 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 10 January 2025 20:36:33 -0500 (0:00:00.099) 0:00:06.103 ******** changed: [managed-node1] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2017", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 10 January 2025 20:36:34 -0500 (0:00:00.936) 0:00:07.039 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 10 January 2025 20:36:34 -0500 (0:00:00.128) 0:00:07.168 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 10 January 2025 20:36:35 -0500 (0:00:01.135) 0:00:08.303 ******** changed: [managed-node1] => { "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:14.0.3465.1-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-14.0.3465.1-1.x86_64\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be installed\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 14.0.3465.1-1 packages-microsoft-com-mssql-server-2017\n 200 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 base 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 updates 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 updates 41 k\n gdb x86_64 7.6.1-120.el7 base 2.4 M\n libatomic x86_64 4.8.5-44.el7 base 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 updates 170 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+6 Dependent packages)\n\nTotal download size: 203 M\nInstalled size: 1.0 G\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 55 MB/s | 203 MB 00:03 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libatomic-4.8.5-44.el7.x86_64 1/7 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 2/7 \n Installing : gdb-7.6.1-120.el7.x86_64 3/7 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Installing : bzip2-1.0.6-13.el7.x86_64 5/7 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 6/7 \n Installing : mssql-server-14.0.3465.1-1.x86_64 7/7 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\nSQL Server needs to be restarted in order to apply this setting. Please run\n'systemctl restart mssql-server.service'.\n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 1/7 \n Verifying : bzip2-1.0.6-13.el7.x86_64 2/7 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 3/7 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Verifying : gdb-7.6.1-120.el7.x86_64 5/7 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/7 \n Verifying : libatomic-4.8.5-44.el7.x86_64 7/7 \n\nInstalled:\n mssql-server.x86_64 0:14.0.3465.1-1 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n\nComplete!\n" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 10 January 2025 20:37:12 -0500 (0:00:36.576) 0:00:44.880 ******** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.006231", "end": "2025-01-10 20:37:12.969117", "rc": 0, "start": "2025-01-10 20:37:12.962886" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Friday 10 January 2025 20:37:13 -0500 (0:00:00.610) 0:00:45.490 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Friday 10 January 2025 20:37:14 -0500 (0:00:01.104) 0:00:46.595 ******** ok: [managed-node1] => { "ansible_facts": { "__mssql_is_setup": false }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Friday 10 January 2025 20:37:14 -0500 (0:00:00.084) 0:00:46.680 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Friday 10 January 2025 20:37:14 -0500 (0:00:00.073) 0:00:46.753 ******** changed: [managed-node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Friday 10 January 2025 20:37:19 -0500 (0:00:05.021) 0:00:51.775 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node1 included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /tmp/mssql_data] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 10 January 2025 20:37:19 -0500 (0:00:00.228) 0:00:52.004 ******** changed: [managed-node1] => { "changed": true, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/tmp/mssql_data", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 10 January 2025 20:37:20 -0500 (0:00:00.847) 0:00:52.851 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 10 January 2025 20:37:20 -0500 (0:00:00.106) 0:00:52.958 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 10 January 2025 20:37:20 -0500 (0:00:00.189) 0:00:53.148 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003710", "end": "2025-01-10 20:37:21.205394", "failed_when_result": false, "rc": 1, "start": "2025-01-10 20:37:21.201684" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 10 January 2025 20:37:21 -0500 (0:00:00.639) 0:00:53.787 ******** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node1 changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultdatadir", "/tmp/mssql_data" ], "delta": "0:00:00.067966", "end": "2025-01-10 20:37:21.854344", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:37:21.786378" } 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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 10 January 2025 20:37:22 -0500 (0:00:00.616) 0:00:54.404 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /tmp/mssql_log] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 10 January 2025 20:37:22 -0500 (0:00:00.114) 0:00:54.519 ******** changed: [managed-node1] => { "changed": true, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/tmp/mssql_log", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 10 January 2025 20:37:22 -0500 (0:00:00.660) 0:00:55.179 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 10 January 2025 20:37:22 -0500 (0:00:00.101) 0:00:55.281 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 10 January 2025 20:37:23 -0500 (0:00:00.189) 0:00:55.470 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003300", "end": "2025-01-10 20:37:23.324589", "failed_when_result": false, "rc": 1, "start": "2025-01-10 20:37:23.321289" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 10 January 2025 20:37:23 -0500 (0:00:00.388) 0:00:55.859 ******** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/tmp/mssql_log" ], "delta": "0:00:00.045384", "end": "2025-01-10 20:37:23.762896", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:37:23.717512" } 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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 10 January 2025 20:37:23 -0500 (0:00:00.443) 0:00:56.302 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 10 January 2025 20:37:24 -0500 (0:00:00.103) 0:00:56.406 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Friday 10 January 2025 20:37:24 -0500 (0:00:00.103) 0:00:56.509 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Friday 10 January 2025 20:37:24 -0500 (0:00:00.170) 0:00:56.680 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 10 January 2025 20:37:24 -0500 (0:00:00.586) 0:00:57.266 ******** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-01-10 20:11:34 EST", "ActiveEnterTimestampMonotonic": "7955643", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket dbus.service systemd-sysctl.service network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-01-10 20:11:33 EST", "AssertTimestampMonotonic": "7220364", "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-01-10 20:11:33 EST", "ConditionTimestampMonotonic": "7220363", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "849", "ExecMainStartTimestamp": "Fri 2025-01-10 20:11:33 EST", "ExecMainStartTimestampMonotonic": "7220949", "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-01-10 20:11:33 EST", "InactiveExitTimestampMonotonic": "7220978", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "849", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice polkit.service dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-01-10 20:11:34 EST", "WatchdogTimestampMonotonic": "7955594", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Friday 10 January 2025 20:37:25 -0500 (0:00:00.886) 0:00:58.153 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.085034", "end": "2025-01-10 20:37:26.097520", "rc": 0, "start": "2025-01-10 20:37:26.012486" } 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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Friday 10 January 2025 20:37:26 -0500 (0:00:00.470) 0:00:58.624 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Friday 10 January 2025 20:37:26 -0500 (0:00:00.105) 0:00:58.729 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 10 January 2025 20:37:26 -0500 (0:00:00.103) 0:00:58.832 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Friday 10 January 2025 20:37:26 -0500 (0:00:00.106) 0:00:58.938 ******** changed: [managed-node1] => { "changed": true, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Friday 10 January 2025 20:37:26 -0500 (0:00:00.378) 0:00:59.317 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 10 January 2025 20:37:27 -0500 (0:00:00.102) 0:00:59.419 ******** changed: [managed-node1] => { "changed": true, "changes": { "installed": [ "mssql-tools18", "unixODBC-devel" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-tools18.x86_64 0:18.4.1.1-1 will be installed\n--> Processing Dependency: msodbcsql18 >= 18.0.0.0 for package: mssql-tools18-18.4.1.1-1.x86_64\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: unixODBC = 2.3.11 for package: unixODBC-devel-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package msodbcsql18.x86_64 0:18.4.1.1-1 will be installed\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-tools18 x86_64 18.4.1.1-1 packages-microsoft-com-prod 293 k\n unixODBC-devel x86_64 2.3.11-1.rh packages-microsoft-com-prod 53 k\nInstalling for dependencies:\n libtool-ltdl x86_64 2.4.2-22.el7_3 base 49 k\n msodbcsql18 x86_64 18.4.1.1-1 packages-microsoft-com-prod 923 k\n unixODBC x86_64 2.3.11-1.rh packages-microsoft-com-prod 274 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+3 Dependent packages)\n\nTotal download size: 1.6 M\nInstalled size: 3.9 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 4.3 MB/s | 1.6 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libtool-ltdl-2.4.2-22.el7_3.x86_64 1/5 \n Installing : unixODBC-2.3.11-1.rh.x86_64 2/5 \n Installing : msodbcsql18-18.4.1.1-1.x86_64 3/5 \nodbcinst: Driver installed. Usage count increased to 1. \n Target directory is /etc\n Installing : mssql-tools18-18.4.1.1-1.x86_64 4/5 \n Installing : unixODBC-devel-2.3.11-1.rh.x86_64 5/5 \n Verifying : mssql-tools18-18.4.1.1-1.x86_64 1/5 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 2/5 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 3/5 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 4/5 \n Verifying : msodbcsql18-18.4.1.1-1.x86_64 5/5 \n\nInstalled:\n mssql-tools18.x86_64 0:18.4.1.1-1 unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Installed:\n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 msodbcsql18.x86_64 0:18.4.1.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } lsrpackages: mssql-tools18 unixODBC-devel TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Friday 10 January 2025 20:37:31 -0500 (0:00:04.442) 0:01:03.861 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Friday 10 January 2025 20:37:31 -0500 (0:00:00.083) 0:01:03.945 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 10 January 2025 20:37:31 -0500 (0:00:00.080) 0:01:04.025 ******** skipping: [managed-node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 10 January 2025 20:37:31 -0500 (0:00:00.073) 0:01:04.098 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 10 January 2025 20:37:31 -0500 (0:00:00.060) 0:01:04.159 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 10 January 2025 20:37:31 -0500 (0:00:00.062) 0:01:04.222 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 10 January 2025 20:37:31 -0500 (0:00:00.060) 0:01:04.282 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the setting forceencryption] ******* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 10 January 2025 20:37:31 -0500 (0:00:00.062) 0:01:04.344 ******** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.004557", "end": "2025-01-10 20:37:32.165054", "failed_when_result": false, "rc": 1, "start": "2025-01-10 20:37:32.160497" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 10 January 2025 20:37:32 -0500 (0:00:00.323) 0:01:04.667 ******** ok: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 10 January 2025 20:37:32 -0500 (0:00:00.127) 0:01:04.795 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Friday 10 January 2025 20:37:32 -0500 (0:00:00.108) 0:01:04.903 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Friday 10 January 2025 20:37:32 -0500 (0:00:00.100) 0:01:05.004 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Friday 10 January 2025 20:37:32 -0500 (0:00:00.166) 0:01:05.170 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Friday 10 January 2025 20:37:32 -0500 (0:00:00.099) 0:01:05.270 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 10 January 2025 20:37:32 -0500 (0:00:00.102) 0:01:05.372 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Friday 10 January 2025 20:37:33 -0500 (0:00:00.099) 0:01:05.472 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 10 January 2025 20:37:33 -0500 (0:00:00.101) 0:01:05.574 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Friday 10 January 2025 20:37:33 -0500 (0:00:00.091) 0:01:05.666 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 10 January 2025 20:37:33 -0500 (0:00:00.090) 0:01:05.756 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Friday 10 January 2025 20:37:33 -0500 (0:00:00.066) 0:01:05.823 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Friday 10 January 2025 20:37:33 -0500 (0:00:00.063) 0:01:05.887 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 10 January 2025 20:37:33 -0500 (0:00:00.064) 0:01:05.951 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Friday 10 January 2025 20:37:33 -0500 (0:00:00.060) 0:01:06.012 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network ipaddress] ***** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 10 January 2025 20:37:33 -0500 (0:00:00.149) 0:01:06.161 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002898", "end": "2025-01-10 20:37:34.005695", "failed_when_result": false, "rc": 1, "start": "2025-01-10 20:37:34.002797" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 10 January 2025 20:37:34 -0500 (0:00:00.329) 0:01:06.490 ******** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "0.0.0.0" ], "delta": "0:00:00.044248", "end": "2025-01-10 20:37:34.371500", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:37:34.327252" } 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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 10 January 2025 20:37:34 -0500 (0:00:00.376) 0:01:06.867 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Friday 10 January 2025 20:37:34 -0500 (0:00:00.062) 0:01:06.929 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 10 January 2025 20:37:34 -0500 (0:00:00.061) 0:01:06.991 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Friday 10 January 2025 20:37:34 -0500 (0:00:00.097) 0:01:07.088 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 10 January 2025 20:37:34 -0500 (0:00:00.258) 0:01:07.347 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002964", "end": "2025-01-10 20:37:35.199856", "failed_when_result": false, "rc": 1, "start": "2025-01-10 20:37:35.196892" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 10 January 2025 20:37:35 -0500 (0:00:00.367) 0:01:07.714 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.044774", "end": "2025-01-10 20:37:35.585782", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:37:35.541008" } 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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 10 January 2025 20:37:35 -0500 (0:00:00.392) 0:01:08.107 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Friday 10 January 2025 20:37:35 -0500 (0:00:00.079) 0:01:08.187 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Friday 10 January 2025 20:37:35 -0500 (0:00:00.061) 0:01:08.248 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting sqlagent enabled] ****** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 10 January 2025 20:37:35 -0500 (0:00:00.118) 0:01:08.366 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002930", "end": "2025-01-10 20:37:36.187266", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:37:36.184336" } STDOUT: enabled = false TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 10 January 2025 20:37:36 -0500 (0:00:00.355) 0:01:08.721 ******** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "True" ], "delta": "0:00:00.044327", "end": "2025-01-10 20:37:36.620933", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:37:36.576606" } 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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 10 January 2025 20:37:36 -0500 (0:00:00.437) 0:01:09.159 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Friday 10 January 2025 20:37:36 -0500 (0:00:00.090) 0:01:09.250 ******** changed: [managed-node1] => { "changed": true, "changes": { "installed": [ "mssql-server-fts" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server-fts.x86_64 0:14.0.3465.1-1 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server-fts\n x86_64 14.0.3465.1-1 packages-microsoft-com-mssql-server-2017 225 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 225 M\nInstalled size: 554 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : mssql-server-fts-14.0.3465.1-1.x86_64 1/1 \n\n+-------------------------------------------------------------------------------------+\nPlease restart mssql-server to enable Microsoft SQL Server Full Text Search.\n+-------------------------------------------------------------------------------------+\n\n Verifying : mssql-server-fts-14.0.3465.1-1.x86_64 1/1 \n\nInstalled:\n mssql-server-fts.x86_64 0:14.0.3465.1-1 \n\nComplete!\n" ] } lsrpackages: mssql-server-fts TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Friday 10 January 2025 20:38:01 -0500 (0:00:24.528) 0:01:33.778 ******** changed: [managed-node1] => { "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 57 MB/s | 72 MB 00:01 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libicu-50.2-4.el7_7.x86_64 1/2 \n Installing : powershell-7.3.12-1.rh.x86_64 2/2 \n Verifying : powershell-7.3.12-1.rh.x86_64 1/2 \n Verifying : libicu-50.2-4.el7_7.x86_64 2/2 \n\nInstalled:\n powershell.x86_64 0:7.3.12-1.rh \n\nDependency Installed:\n libicu.x86_64 0:50.2-4.el7_7 \n\nComplete!\n" ] } lsrpackages: powershell TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 10 January 2025 20:38:15 -0500 (0:00:13.795) 0:01:47.574 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002836", "end": "2025-01-10 20:38:15.433731", "failed_when_result": false, "rc": 1, "start": "2025-01-10 20:38:15.430895" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Friday 10 January 2025 20:38:15 -0500 (0:00:00.384) 0:01:47.958 ******** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "on" ], "delta": "0:00:00.045199", "end": "2025-01-10 20:38:15.883747", "rc": 0, "start": "2025-01-10 20:38:15.838548" } 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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 10 January 2025 20:38:16 -0500 (0:00:00.446) 0:01:48.405 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Friday 10 January 2025 20:38:16 -0500 (0:00:00.103) 0:01:48.508 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting control alternatewritethrough] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 10 January 2025 20:38:16 -0500 (0:00:00.248) 0:01:48.756 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002788", "end": "2025-01-10 20:38:16.615382", "failed_when_result": false, "rc": 1, "start": "2025-01-10 20:38:16.612594" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 10 January 2025 20:38:16 -0500 (0:00:00.391) 0:01:49.148 ******** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.alternatewritethrough", "0" ], "delta": "0:00:00.044274", "end": "2025-01-10 20:38:17.057175", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:38:17.012901" } 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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 10 January 2025 20:38:17 -0500 (0:00:00.449) 0:01:49.598 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 10 January 2025 20:38:17 -0500 (0:00:00.103) 0:01:49.702 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting control writethrough] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 10 January 2025 20:38:17 -0500 (0:00:00.190) 0:01:49.893 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002887", "end": "2025-01-10 20:38:17.742219", "failed_when_result": false, "rc": 1, "start": "2025-01-10 20:38:17.739332" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 10 January 2025 20:38:17 -0500 (0:00:00.374) 0:01:50.268 ******** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "1" ], "delta": "0:00:00.045517", "end": "2025-01-10 20:38:18.174574", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:38:18.129057" } 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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 10 January 2025 20:38:18 -0500 (0:00:00.448) 0:01:50.716 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Friday 10 January 2025 20:38:18 -0500 (0:00:00.111) 0:01:50.828 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Friday 10 January 2025 20:38:18 -0500 (0:00:00.102) 0:01:50.930 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Friday 10 January 2025 20:38:18 -0500 (0:00:00.103) 0:01:51.033 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Friday 10 January 2025 20:38:18 -0500 (0:00:00.100) 0:01:51.134 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Friday 10 January 2025 20:38:18 -0500 (0:00:00.117) 0:01:51.252 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 10 January 2025 20:38:18 -0500 (0:00:00.106) 0:01:51.359 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Friday 10 January 2025 20:38:19 -0500 (0:00:00.112) 0:01:51.471 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 10 January 2025 20:38:19 -0500 (0:00:00.111) 0:01:51.582 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure proper configuration on user] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Friday 10 January 2025 20:38:19 -0500 (0:00:00.108) 0:01:51.691 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Friday 10 January 2025 20:38:19 -0500 (0:00:00.111) 0:01:51.802 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Friday 10 January 2025 20:38:19 -0500 (0:00:00.179) 0:01:51.982 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Friday 10 January 2025 20:38:19 -0500 (0:00:00.084) 0:01:52.066 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Friday 10 January 2025 20:38:19 -0500 (0:00:00.079) 0:01:52.145 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Friday 10 January 2025 20:38:19 -0500 (0:00:00.064) 0:01:52.209 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Friday 10 January 2025 20:38:19 -0500 (0:00:00.093) 0:01:52.303 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 10 January 2025 20:38:20 -0500 (0:00:00.104) 0:01:52.408 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 10 January 2025 20:38:20 -0500 (0:00:00.102) 0:01:52.511 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 10 January 2025 20:38:20 -0500 (0:00:00.108) 0:01:52.620 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Friday 10 January 2025 20:38:20 -0500 (0:00:00.102) 0:01:52.723 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 10 January 2025 20:38:20 -0500 (0:00:00.105) 0:01:52.828 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Friday 10 January 2025 20:38:20 -0500 (0:00:00.101) 0:01:52.930 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Friday 10 January 2025 20:38:20 -0500 (0:00:00.097) 0:01:53.027 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Friday 10 January 2025 20:38:20 -0500 (0:00:00.104) 0:01:53.131 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Friday 10 January 2025 20:38:20 -0500 (0:00:00.084) 0:01:53.216 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Friday 10 January 2025 20:38:20 -0500 (0:00:00.091) 0:01:53.307 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Friday 10 January 2025 20:38:20 -0500 (0:00:00.065) 0:01:53.373 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 10 January 2025 20:38:21 -0500 (0:00:00.063) 0:01:53.437 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 10 January 2025 20:38:21 -0500 (0:00:00.076) 0:01:53.513 ******** skipping: [managed-node1] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Friday 10 January 2025 20:38:21 -0500 (0:00:00.123) 0:01:53.637 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 10 January 2025 20:38:21 -0500 (0:00:00.082) 0:01:53.719 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Friday 10 January 2025 20:38:21 -0500 (0:00:00.135) 0:01:53.855 ******** skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 10 January 2025 20:38:21 -0500 (0:00:00.078) 0:01:53.933 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Friday 10 January 2025 20:38:21 -0500 (0:00:00.063) 0:01:53.997 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Friday 10 January 2025 20:38:21 -0500 (0:00:00.062) 0:01:54.059 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 10 January 2025 20:38:21 -0500 (0:00:00.064) 0:01:54.124 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 10 January 2025 20:38:21 -0500 (0:00:00.062) 0:01:54.186 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 10 January 2025 20:38:21 -0500 (0:00:00.064) 0:01:54.251 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Friday 10 January 2025 20:38:21 -0500 (0:00:00.066) 0:01:54.318 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Friday 10 January 2025 20:38:21 -0500 (0:00:00.063) 0:01:54.381 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 10 January 2025 20:38:22 -0500 (0:00:00.064) 0:01:54.445 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Friday 10 January 2025 20:38:22 -0500 (0:00:00.061) 0:01:54.507 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Friday 10 January 2025 20:38:22 -0500 (0:00:00.061) 0:01:54.568 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Friday 10 January 2025 20:38:22 -0500 (0:00:00.058) 0:01:54.627 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Friday 10 January 2025 20:38:22 -0500 (0:00:00.061) 0:01:54.689 ******** skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Friday 10 January 2025 20:38:22 -0500 (0:00:00.076) 0:01:54.765 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 10 January 2025 20:38:22 -0500 (0:00:00.063) 0:01:54.828 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Friday 10 January 2025 20:38:22 -0500 (0:00:00.060) 0:01:54.889 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Friday 10 January 2025 20:38:22 -0500 (0:00:00.082) 0:01:54.972 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 10 January 2025 20:38:22 -0500 (0:00:00.104) 0:01:55.077 ******** skipping: [managed-node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 10 January 2025 20:38:22 -0500 (0:00:00.119) 0:01:55.196 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Friday 10 January 2025 20:38:22 -0500 (0:00:00.111) 0:01:55.308 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Friday 10 January 2025 20:38:23 -0500 (0:00:00.164) 0:01:55.472 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Friday 10 January 2025 20:38:23 -0500 (0:00:00.098) 0:01:55.570 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 10 January 2025 20:38:23 -0500 (0:00:00.085) 0:01:55.656 ******** changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 10 January 2025 20:38:23 -0500 (0:00:00.558) 0:01:56.214 ******** changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-01-10 20:37:19 EST", "ActiveEnterTimestampMonotonic": "1552375042", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice -.mount systemd-journald.socket auditd.service network.target basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-01-10 20:37:19 EST", "AssertTimestampMonotonic": "1552374356", "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-01-10 20:37:19 EST", "ConditionTimestampMonotonic": "1552374355", "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": "18322", "ExecMainStartTimestamp": "Fri 2025-01-10 20:37:19 EST", "ExecMainStartTimestampMonotonic": "1552374969", "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-01-10 20:37:19 EST", "InactiveExitTimestampMonotonic": "1552375042", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "18322", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-01-10 20:37:19 EST", "WatchdogTimestampMonotonic": "1552375020", "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Friday 10 January 2025 20:38:25 -0500 (0:00:01.461) 0:01:57.675 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Friday 10 January 2025 20:38:25 -0500 (0:00:00.105) 0:01:57.781 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Configure the mssql-server service start limit interval and burst] ******* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:20 Friday 10 January 2025 20:38:25 -0500 (0:00:00.101) 0:01:57.883 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml for managed-node1 TASK [Modify the mssql-server service start limit interval] ******************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:3 Friday 10 January 2025 20:38:25 -0500 (0:00:00.355) 0:01:58.239 ******** changed: [managed-node1] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:10 Friday 10 January 2025 20:38:26 -0500 (0:00:00.710) 0:01:58.949 ******** changed: [managed-node1] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:17 Friday 10 January 2025 20:38:26 -0500 (0:00:00.424) 0:01:59.373 ******** ok: [managed-node1] => { "changed": false, "name": null, "status": {} } TASK [Run again with the same settings - should report not changed] ************ task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:23 Friday 10 January 2025 20:38:27 -0500 (0:00:00.833) 0:02:00.207 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 10 January 2025 20:38:28 -0500 (0:00:00.690) 0:02:00.897 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 10 January 2025 20:38:28 -0500 (0:00:00.112) 0:02:01.009 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 10 January 2025 20:38:28 -0500 (0:00:00.078) 0:02:01.088 ******** ok: [managed-node1] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 10 January 2025 20:38:28 -0500 (0:00:00.109) 0:02:01.198 ******** ok: [managed-node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 10 January 2025 20:38:28 -0500 (0:00:00.094) 0:02:01.292 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 10 January 2025 20:38:28 -0500 (0:00:00.099) 0:02:01.392 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 10 January 2025 20:38:29 -0500 (0:00:00.109) 0:02:01.502 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 10 January 2025 20:38:29 -0500 (0:00:00.099) 0:02:01.601 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 10 January 2025 20:38:29 -0500 (0:00:00.103) 0:02:01.704 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 10 January 2025 20:38:29 -0500 (0:00:00.102) 0:02:01.807 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 10 January 2025 20:38:29 -0500 (0:00:00.182) 0:02:01.990 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 10 January 2025 20:38:29 -0500 (0:00:00.101) 0:02:02.092 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that variable is deprecated] ***** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 10 January 2025 20:38:29 -0500 (0:00:00.107) 0:02:02.200 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 10 January 2025 20:38:29 -0500 (0:00:00.106) 0:02:02.306 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 10 January 2025 20:38:30 -0500 (0:00:00.107) 0:02:02.414 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 10 January 2025 20:38:30 -0500 (0:00:00.105) 0:02:02.520 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 10 January 2025 20:38:30 -0500 (0:00:00.093) 0:02:02.613 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 10 January 2025 20:38:30 -0500 (0:00:00.067) 0:02:02.681 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 10 January 2025 20:38:30 -0500 (0:00:00.064) 0:02:02.745 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 10 January 2025 20:38:30 -0500 (0:00:00.063) 0:02:02.809 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 10 January 2025 20:38:30 -0500 (0:00:00.061) 0:02:02.870 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 10 January 2025 20:38:30 -0500 (0:00:00.065) 0:02:02.935 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 10 January 2025 20:38:30 -0500 (0:00:00.079) 0:02:03.015 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 10 January 2025 20:38:32 -0500 (0:00:01.619) 0:02:04.635 ******** ok: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 10 January 2025 20:38:32 -0500 (0:00:00.265) 0:02:04.900 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 10 January 2025 20:38:32 -0500 (0:00:00.103) 0:02:05.004 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 10 January 2025 20:38:32 -0500 (0:00:00.115) 0:02:05.120 ******** skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 10 January 2025 20:38:32 -0500 (0:00:00.186) 0:02:05.306 ******** ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 10 January 2025 20:38:33 -0500 (0:00:00.514) 0:02:05.821 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 10 January 2025 20:38:33 -0500 (0:00:00.065) 0:02:05.887 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 10 January 2025 20:38:33 -0500 (0:00:00.069) 0:02:05.956 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 10 January 2025 20:38:33 -0500 (0:00:00.066) 0:02:06.023 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 10 January 2025 20:38:33 -0500 (0:00:00.067) 0:02:06.091 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 10 January 2025 20:38:33 -0500 (0:00:00.097) 0:02:06.189 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 10 January 2025 20:38:33 -0500 (0:00:00.106) 0:02:06.295 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 10 January 2025 20:38:34 -0500 (0:00:00.116) 0:02:06.411 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 10 January 2025 20:38:34 -0500 (0:00:00.068) 0:02:06.480 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 10 January 2025 20:38:34 -0500 (0:00:00.561) 0:02:07.042 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 10 January 2025 20:38:35 -0500 (0:00:00.562) 0:02:07.604 ******** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005319", "end": "2025-01-10 20:38:35.441406", "rc": 0, "start": "2025-01-10 20:38:35.436087" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Friday 10 January 2025 20:38:35 -0500 (0:00:00.368) 0:02:07.972 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Friday 10 January 2025 20:38:36 -0500 (0:00:00.950) 0:02:08.923 ******** ok: [managed-node1] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Friday 10 January 2025 20:38:36 -0500 (0:00:00.139) 0:02:09.062 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Friday 10 January 2025 20:38:36 -0500 (0:00:00.107) 0:02:09.169 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Friday 10 January 2025 20:38:36 -0500 (0:00:00.097) 0:02:09.267 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node1 included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /tmp/mssql_data] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 10 January 2025 20:38:37 -0500 (0:00:00.167) 0:02:09.434 ******** ok: [managed-node1] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/tmp/mssql_data", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 10 January 2025 20:38:37 -0500 (0:00:00.376) 0:02:09.811 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 10 January 2025 20:38:37 -0500 (0:00:00.106) 0:02:09.918 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 10 January 2025 20:38:37 -0500 (0:00:00.193) 0:02:10.111 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002927", "end": "2025-01-10 20:38:37.964851", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:38:37.961924" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 10 January 2025 20:38:38 -0500 (0:00:00.388) 0:02:10.500 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 10 January 2025 20:38:38 -0500 (0:00:00.195) 0:02:10.695 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /tmp/mssql_log] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 10 January 2025 20:38:38 -0500 (0:00:00.118) 0:02:10.814 ******** ok: [managed-node1] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/tmp/mssql_log", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 10 January 2025 20:38:38 -0500 (0:00:00.398) 0:02:11.212 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 10 January 2025 20:38:38 -0500 (0:00:00.111) 0:02:11.323 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 10 January 2025 20:38:39 -0500 (0:00:00.195) 0:02:11.518 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003356", "end": "2025-01-10 20:38:39.383302", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:38:39.379946" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 10 January 2025 20:38:39 -0500 (0:00:00.396) 0:02:11.915 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 10 January 2025 20:38:39 -0500 (0:00:00.122) 0:02:12.038 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 10 January 2025 20:38:39 -0500 (0:00:00.107) 0:02:12.146 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Friday 10 January 2025 20:38:39 -0500 (0:00:00.106) 0:02:12.252 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Friday 10 January 2025 20:38:39 -0500 (0:00:00.108) 0:02:12.361 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 10 January 2025 20:38:40 -0500 (0:00:00.581) 0:02:12.943 ******** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-01-10 20:11:34 EST", "ActiveEnterTimestampMonotonic": "7955643", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target system.slice systemd-sysctl.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-01-10 20:11:33 EST", "AssertTimestampMonotonic": "7220364", "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-01-10 20:11:33 EST", "ConditionTimestampMonotonic": "7220363", "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": "849", "ExecMainStartTimestamp": "Fri 2025-01-10 20:11:33 EST", "ExecMainStartTimestampMonotonic": "7220949", "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-01-10 20:11:33 EST", "InactiveExitTimestampMonotonic": "7220978", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "849", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service 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-01-10 20:11:34 EST", "WatchdogTimestampMonotonic": "7955594", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Friday 10 January 2025 20:38:41 -0500 (0:00:00.488) 0:02:13.431 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.090055", "end": "2025-01-10 20:38:41.372569", "rc": 0, "start": "2025-01-10 20:38:41.282514" } 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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Friday 10 January 2025 20:38:41 -0500 (0:00:00.453) 0:02:13.885 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Friday 10 January 2025 20:38:41 -0500 (0:00:00.089) 0:02:13.975 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 10 January 2025 20:38:41 -0500 (0:00:00.131) 0:02:14.106 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Friday 10 January 2025 20:38:41 -0500 (0:00:00.070) 0:02:14.176 ******** ok: [managed-node1] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Friday 10 January 2025 20:38:42 -0500 (0:00:00.310) 0:02:14.487 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 10 January 2025 20:38:42 -0500 (0:00:00.064) 0:02:14.551 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools18-18.4.1.1-1.x86_64 providing mssql-tools18 is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools18 unixODBC-devel TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Friday 10 January 2025 20:38:42 -0500 (0:00:00.605) 0:02:15.156 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Friday 10 January 2025 20:38:42 -0500 (0:00:00.103) 0:02:15.259 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 10 January 2025 20:38:42 -0500 (0:00:00.109) 0:02:15.369 ******** skipping: [managed-node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 10 January 2025 20:38:43 -0500 (0:00:00.120) 0:02:15.489 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 10 January 2025 20:38:43 -0500 (0:00:00.107) 0:02:15.597 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 10 January 2025 20:38:43 -0500 (0:00:00.114) 0:02:15.711 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 10 January 2025 20:38:43 -0500 (0:00:00.111) 0:02:15.822 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the setting forceencryption] ******* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 10 January 2025 20:38:43 -0500 (0:00:00.109) 0:02:15.931 ******** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.004755", "end": "2025-01-10 20:38:43.784248", "failed_when_result": false, "rc": 1, "start": "2025-01-10 20:38:43.779493" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 10 January 2025 20:38:43 -0500 (0:00:00.337) 0:02:16.268 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 10 January 2025 20:38:43 -0500 (0:00:00.070) 0:02:16.339 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Friday 10 January 2025 20:38:44 -0500 (0:00:00.077) 0:02:16.416 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 10 January 2025 20:38:44 -0500 (0:00:00.289) 0:02:16.705 ******** ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-01-10 20:38:25 EST", "ActiveEnterTimestampMonotonic": "1618416167", "ActiveExitTimestamp": "Fri 2025-01-10 20:38:24 EST", "ActiveExitTimestampMonotonic": "1617557271", "ActiveState": "active", "After": "auditd.service systemd-journald.socket network.target system.slice basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-01-10 20:38:25 EST", "AssertTimestampMonotonic": "1618415419", "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-01-10 20:38:25 EST", "ConditionTimestampMonotonic": "1618415417", "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": "20088", "ExecMainStartTimestamp": "Fri 2025-01-10 20:38:25 EST", "ExecMainStartTimestampMonotonic": "1618416102", "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-01-10 20:38:25 EST", "InactiveEnterTimestampMonotonic": "1618413190", "InactiveExitTimestamp": "Fri 2025-01-10 20:38:25 EST", "InactiveExitTimestampMonotonic": "1618416167", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "20088", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-01-10 20:38:25 EST", "WatchdogTimestampMonotonic": "1618416144", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 10 January 2025 20:38:44 -0500 (0:00:00.538) 0:02:17.244 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003305", "end": "2025-01-10 20:38:45.112614", "failed_when_result": false, "rc": 1, "start": "2025-01-10 20:38:45.109309" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 10 January 2025 20:38:45 -0500 (0:00:00.379) 0:02:17.623 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003107", "end": "2025-01-10 20:38:45.747177", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:38:45.744070" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 10 January 2025 20:38:45 -0500 (0:00:00.630) 0:02:18.253 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Friday 10 January 2025 20:38:45 -0500 (0:00:00.095) 0:02:18.349 ******** ok: [managed-node1] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7454, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Friday 10 January 2025 20:38:47 -0500 (0:00:01.431) 0:02:19.780 ******** ok: [managed-node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Friday 10 January 2025 20:38:47 -0500 (0:00:00.431) 0:02:20.211 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 10 January 2025 20:38:47 -0500 (0:00:00.119) 0:02:20.331 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Friday 10 January 2025 20:38:49 -0500 (0:00:01.386) 0:02:21.718 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 10 January 2025 20:38:49 -0500 (0:00:00.101) 0:02:21.820 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Friday 10 January 2025 20:38:49 -0500 (0:00:00.067) 0:02:21.887 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 10 January 2025 20:38:49 -0500 (0:00:00.064) 0:02:21.952 ******** ok: [managed-node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.004560", "end": "2025-01-10 20:38:49.799508", "rc": 0, "start": "2025-01-10 20:38:49.794948" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Friday 10 January 2025 20:38:49 -0500 (0:00:00.373) 0:02:22.325 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Friday 10 January 2025 20:38:50 -0500 (0:00:00.111) 0:02:22.436 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 10 January 2025 20:38:51 -0500 (0:00:01.330) 0:02:23.767 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Friday 10 January 2025 20:38:51 -0500 (0:00:00.205) 0:02:23.973 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network ipaddress] ***** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 10 January 2025 20:38:51 -0500 (0:00:00.202) 0:02:24.175 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003078", "end": "2025-01-10 20:38:52.036827", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:38:52.033749" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 10 January 2025 20:38:52 -0500 (0:00:00.361) 0:02:24.536 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network ipaddress] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 10 January 2025 20:38:52 -0500 (0:00:00.082) 0:02:24.619 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Friday 10 January 2025 20:38:52 -0500 (0:00:00.108) 0:02:24.728 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 10 January 2025 20:38:52 -0500 (0:00:00.111) 0:02:24.839 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Friday 10 January 2025 20:38:52 -0500 (0:00:00.112) 0:02:24.952 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 10 January 2025 20:38:52 -0500 (0:00:00.202) 0:02:25.154 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003003", "end": "2025-01-10 20:38:53.011151", "failed_when_result": false, "rc": 1, "start": "2025-01-10 20:38:53.008148" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 10 January 2025 20:38:53 -0500 (0:00:00.392) 0:02:25.547 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.045139", "end": "2025-01-10 20:38:53.459566", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:38:53.414427" } 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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 10 January 2025 20:38:53 -0500 (0:00:00.464) 0:02:26.011 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Friday 10 January 2025 20:38:53 -0500 (0:00:00.107) 0:02:26.118 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Friday 10 January 2025 20:38:53 -0500 (0:00:00.113) 0:02:26.231 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting sqlagent enabled] ****** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 10 January 2025 20:38:54 -0500 (0:00:00.219) 0:02:26.451 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003016", "end": "2025-01-10 20:38:54.315755", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:38:54.312739" } STDOUT: enabled = True TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 10 January 2025 20:38:54 -0500 (0:00:00.399) 0:02:26.850 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting sqlagent enabled] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 10 January 2025 20:38:54 -0500 (0:00:00.176) 0:02:27.027 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Friday 10 January 2025 20:38:54 -0500 (0:00:00.072) 0:02:27.099 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-fts-14.0.3465.1-1.x86_64 providing mssql-server-fts is already installed" ] } lsrpackages: mssql-server-fts TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Friday 10 January 2025 20:38:55 -0500 (0:00:00.597) 0:02:27.696 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "powershell-7.3.12-1.rh.x86_64 providing powershell is already installed" ] } lsrpackages: powershell TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 10 January 2025 20:38:55 -0500 (0:00:00.607) 0:02:28.304 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002991", "end": "2025-01-10 20:38:56.161035", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:38:56.158044" } STDOUT: traceflag0 = 3979 TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Friday 10 January 2025 20:38:56 -0500 (0:00:00.385) 0:02:28.689 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 10 January 2025 20:38:56 -0500 (0:00:00.113) 0:02:28.803 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Friday 10 January 2025 20:38:56 -0500 (0:00:00.100) 0:02:28.903 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting control alternatewritethrough] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 10 January 2025 20:38:56 -0500 (0:00:00.207) 0:02:29.111 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002978", "end": "2025-01-10 20:38:56.980502", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:38:56.977524" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 10 January 2025 20:38:57 -0500 (0:00:00.406) 0:02:29.517 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control alternatewritethrough] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 10 January 2025 20:38:57 -0500 (0:00:00.125) 0:02:29.643 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 10 January 2025 20:38:57 -0500 (0:00:00.113) 0:02:29.756 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting control writethrough] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 10 January 2025 20:38:57 -0500 (0:00:00.209) 0:02:29.966 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002834", "end": "2025-01-10 20:38:57.825423", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:38:57.822589" } STDOUT: writethrough = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 10 January 2025 20:38:57 -0500 (0:00:00.391) 0:02:30.358 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control writethrough] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 10 January 2025 20:38:58 -0500 (0:00:00.212) 0:02:30.571 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Friday 10 January 2025 20:38:58 -0500 (0:00:00.114) 0:02:30.686 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Friday 10 January 2025 20:38:58 -0500 (0:00:00.107) 0:02:30.794 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Friday 10 January 2025 20:38:58 -0500 (0:00:00.107) 0:02:30.902 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Friday 10 January 2025 20:38:58 -0500 (0:00:00.105) 0:02:31.007 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Friday 10 January 2025 20:38:58 -0500 (0:00:00.107) 0:02:31.114 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 10 January 2025 20:38:58 -0500 (0:00:00.113) 0:02:31.228 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Friday 10 January 2025 20:38:58 -0500 (0:00:00.111) 0:02:31.339 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 10 January 2025 20:38:59 -0500 (0:00:00.120) 0:02:31.460 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure proper configuration on user] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Friday 10 January 2025 20:38:59 -0500 (0:00:00.111) 0:02:31.571 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Friday 10 January 2025 20:38:59 -0500 (0:00:00.112) 0:02:31.684 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Friday 10 January 2025 20:38:59 -0500 (0:00:00.108) 0:02:31.793 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Friday 10 January 2025 20:38:59 -0500 (0:00:00.107) 0:02:31.901 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Friday 10 January 2025 20:38:59 -0500 (0:00:00.104) 0:02:32.005 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Friday 10 January 2025 20:38:59 -0500 (0:00:00.106) 0:02:32.112 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Friday 10 January 2025 20:38:59 -0500 (0:00:00.113) 0:02:32.226 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 10 January 2025 20:38:59 -0500 (0:00:00.112) 0:02:32.339 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 10 January 2025 20:39:00 -0500 (0:00:00.109) 0:02:32.449 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 10 January 2025 20:39:00 -0500 (0:00:00.108) 0:02:32.557 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Friday 10 January 2025 20:39:00 -0500 (0:00:00.197) 0:02:32.755 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 10 January 2025 20:39:00 -0500 (0:00:00.105) 0:02:32.861 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Friday 10 January 2025 20:39:00 -0500 (0:00:00.107) 0:02:32.968 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Friday 10 January 2025 20:39:00 -0500 (0:00:00.105) 0:02:33.074 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Friday 10 January 2025 20:39:00 -0500 (0:00:00.109) 0:02:33.184 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Friday 10 January 2025 20:39:00 -0500 (0:00:00.108) 0:02:33.293 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Friday 10 January 2025 20:39:01 -0500 (0:00:00.111) 0:02:33.405 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Friday 10 January 2025 20:39:01 -0500 (0:00:00.113) 0:02:33.519 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 10 January 2025 20:39:01 -0500 (0:00:00.107) 0:02:33.626 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 10 January 2025 20:39:01 -0500 (0:00:00.106) 0:02:33.732 ******** skipping: [managed-node1] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Friday 10 January 2025 20:39:01 -0500 (0:00:00.132) 0:02:33.865 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 10 January 2025 20:39:01 -0500 (0:00:00.107) 0:02:33.973 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Friday 10 January 2025 20:39:01 -0500 (0:00:00.103) 0:02:34.077 ******** skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 10 January 2025 20:39:01 -0500 (0:00:00.131) 0:02:34.209 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Friday 10 January 2025 20:39:01 -0500 (0:00:00.105) 0:02:34.314 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Friday 10 January 2025 20:39:02 -0500 (0:00:00.108) 0:02:34.422 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 10 January 2025 20:39:02 -0500 (0:00:00.105) 0:02:34.528 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 10 January 2025 20:39:02 -0500 (0:00:00.110) 0:02:34.639 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 10 January 2025 20:39:02 -0500 (0:00:00.107) 0:02:34.746 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Friday 10 January 2025 20:39:02 -0500 (0:00:00.109) 0:02:34.856 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Friday 10 January 2025 20:39:02 -0500 (0:00:00.107) 0:02:34.963 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 10 January 2025 20:39:02 -0500 (0:00:00.194) 0:02:35.158 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Friday 10 January 2025 20:39:02 -0500 (0:00:00.111) 0:02:35.269 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Friday 10 January 2025 20:39:02 -0500 (0:00:00.113) 0:02:35.383 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Friday 10 January 2025 20:39:03 -0500 (0:00:00.093) 0:02:35.476 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Friday 10 January 2025 20:39:03 -0500 (0:00:00.080) 0:02:35.557 ******** skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Friday 10 January 2025 20:39:03 -0500 (0:00:00.084) 0:02:35.641 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 10 January 2025 20:39:03 -0500 (0:00:00.091) 0:02:35.732 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Friday 10 January 2025 20:39:03 -0500 (0:00:00.105) 0:02:35.838 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Friday 10 January 2025 20:39:03 -0500 (0:00:00.109) 0:02:35.948 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 10 January 2025 20:39:03 -0500 (0:00:00.113) 0:02:36.061 ******** skipping: [managed-node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 10 January 2025 20:39:03 -0500 (0:00:00.126) 0:02:36.188 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Friday 10 January 2025 20:39:03 -0500 (0:00:00.111) 0:02:36.300 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Friday 10 January 2025 20:39:04 -0500 (0:00:00.108) 0:02:36.408 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Friday 10 January 2025 20:39:04 -0500 (0:00:00.107) 0:02:36.515 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 10 January 2025 20:39:04 -0500 (0:00:00.109) 0:02:36.625 ******** ok: [managed-node1] => { "changed": false } META: ran handlers TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Friday 10 January 2025 20:39:04 -0500 (0:00:00.632) 0:02:37.258 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Friday 10 January 2025 20:39:04 -0500 (0:00:00.116) 0:02:37.374 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify settings] ********************************************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:38 Friday 10 January 2025 20:39:05 -0500 (0:00:00.107) 0:02:37.482 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node1 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 10 January 2025 20:39:05 -0500 (0:00:00.691) 0:02:38.174 ******** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile' /var/opt/mssql/mssql.conf \\\n2>&1 | sed 's\\errorlogfile : \\\\')\" || :\nif [ -f \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -f /var/opt/mssql/log/errorlog ]; then\n echo \"/var/opt/mssql/log/errorlog\"\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005218", "end": "2025-01-10 20:39:06.016089", "rc": 0, "start": "2025-01-10 20:39:06.010871" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 10 January 2025 20:39:06 -0500 (0:00:00.373) 0:02:38.547 ******** ok: [managed-node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Evaluation edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n echo false\nelse\n echo true\nfi\n", "delta": "0:00:00.005159", "end": "2025-01-10 20:39:06.407200", "rc": 0, "start": "2025-01-10 20:39:06.402041" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 10 January 2025 20:39:06 -0500 (0:00:00.398) 0:02:38.946 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 10 January 2025 20:39:06 -0500 (0:00:00.122) 0:02:39.068 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting ipaddress] ********************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 10 January 2025 20:39:06 -0500 (0:00:00.274) 0:02:39.343 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003981", "end": "2025-01-10 20:39:07.208389", "rc": 0, "start": "2025-01-10 20:39:07.204408" } STDOUT: ipaddress = 0.0.0.0 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 10 January 2025 20:39:07 -0500 (0:00:00.380) 0:02:39.723 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 10 January 2025 20:39:07 -0500 (0:00:00.091) 0:02:39.815 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 0.0.0.0] ******************************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 10 January 2025 20:39:07 -0500 (0:00:00.072) 0:02:39.887 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultdatadir] ***************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 10 January 2025 20:39:07 -0500 (0:00:00.070) 0:02:39.957 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003962", "end": "2025-01-10 20:39:07.779723", "rc": 0, "start": "2025-01-10 20:39:07.775761" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 10 January 2025 20:39:07 -0500 (0:00:00.314) 0:02:40.272 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 10 January 2025 20:39:07 -0500 (0:00:00.082) 0:02:40.355 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_data] *********************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 10 January 2025 20:39:08 -0500 (0:00:00.139) 0:02:40.494 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 10 January 2025 20:39:08 -0500 (0:00:00.069) 0:02:40.563 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004631", "end": "2025-01-10 20:39:08.416045", "rc": 0, "start": "2025-01-10 20:39:08.411414" } STDOUT: enabled = True TASK [Verify the setting when it is type str enabled] ************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 10 January 2025 20:39:08 -0500 (0:00:00.386) 0:02:40.950 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool enabled] ************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 10 January 2025 20:39:08 -0500 (0:00:00.117) 0:02:41.068 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 10 January 2025 20:39:08 -0500 (0:00:00.131) 0:02:41.199 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 10 January 2025 20:39:08 -0500 (0:00:00.111) 0:02:41.311 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004361", "end": "2025-01-10 20:39:09.174089", "rc": 0, "start": "2025-01-10 20:39:09.169728" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 10 January 2025 20:39:09 -0500 (0:00:00.400) 0:02:41.711 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 10 January 2025 20:39:09 -0500 (0:00:00.109) 0:02:41.820 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_log] ************************************ task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 10 January 2025 20:39:09 -0500 (0:00:00.087) 0:02:41.908 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 10 January 2025 20:39:09 -0500 (0:00:00.073) 0:02:41.982 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.003886", "end": "2025-01-10 20:39:09.805174", "rc": 0, "start": "2025-01-10 20:39:09.801288" } TASK [Verify the setting when it is type str tcpport] ************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 10 January 2025 20:39:09 -0500 (0:00:00.353) 0:02:42.335 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool tcpport] ************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 10 January 2025 20:39:10 -0500 (0:00:00.123) 0:02:42.459 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1433] ********************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 10 January 2025 20:39:10 -0500 (0:00:00.113) 0:02:42.572 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 10 January 2025 20:39:10 -0500 (0:00:00.124) 0:02:42.697 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 10 January 2025 20:39:10 -0500 (0:00:00.108) 0:02:42.806 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 10 January 2025 20:39:10 -0500 (0:00:00.106) 0:02:42.913 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 10 January 2025 20:39:10 -0500 (0:00:00.108) 0:02:43.021 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 10 January 2025 20:39:10 -0500 (0:00:00.215) 0:02:43.236 ******** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 10 January 2025 20:39:11 -0500 (0:00:00.189) 0:02:43.426 ******** ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-01-10 20:38:25 EST", "ActiveEnterTimestampMonotonic": "1618416167", "ActiveExitTimestamp": "Fri 2025-01-10 20:38:24 EST", "ActiveExitTimestampMonotonic": "1617557271", "ActiveState": "active", "After": "auditd.service systemd-journald.socket network.target system.slice basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-01-10 20:38:25 EST", "AssertTimestampMonotonic": "1618415419", "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-01-10 20:38:25 EST", "ConditionTimestampMonotonic": "1618415417", "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": "20088", "ExecMainStartTimestamp": "Fri 2025-01-10 20:38:25 EST", "ExecMainStartTimestampMonotonic": "1618416102", "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-01-10 20:38:25 EST", "InactiveEnterTimestampMonotonic": "1618413190", "InactiveExitTimestamp": "Fri 2025-01-10 20:38:25 EST", "InactiveExitTimestampMonotonic": "1618416167", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "20088", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-01-10 20:38:25 EST", "WatchdogTimestampMonotonic": "1618416144", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 10 January 2025 20:39:11 -0500 (0:00:00.443) 0:02:43.870 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002824", "end": "2025-01-10 20:39:11.725695", "failed_when_result": false, "rc": 1, "start": "2025-01-10 20:39:11.722871" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 10 January 2025 20:39:11 -0500 (0:00:00.340) 0:02:44.211 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003038", "end": "2025-01-10 20:39:12.034418", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:39:12.031380" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 10 January 2025 20:39:12 -0500 (0:00:00.360) 0:02:44.572 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 10 January 2025 20:39:12 -0500 (0:00:00.109) 0:02:44.682 ******** ok: [managed-node1] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7454, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 10 January 2025 20:39:13 -0500 (0:00:01.374) 0:02:46.056 ******** ok: [managed-node1] => { "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.020474", "end": "2025-01-10 20:39:13.932426", "rc": 0, "start": "2025-01-10 20:39:13.911952" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 10 January 2025 20:39:14 -0500 (0:00:00.420) 0:02:46.477 ******** ok: [managed-node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 10 January 2025 20:39:14 -0500 (0:00:00.119) 0:02:46.596 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml for managed-node1 TASK [Gather package facts] **************************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 Friday 10 January 2025 20:39:14 -0500 (0:00:00.151) 0:02:46.748 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed mssql-server-fts] ********************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:12 Friday 10 January 2025 20:39:15 -0500 (0:00:01.332) 0:02:48.080 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:17 Friday 10 January 2025 20:39:15 -0500 (0:00:00.161) 0:02:48.242 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 10 January 2025 20:39:15 -0500 (0:00:00.114) 0:02:48.356 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml for managed-node1 TASK [Gather package facts] **************************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 Friday 10 January 2025 20:39:16 -0500 (0:00:00.192) 0:02:48.548 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed powershell] *************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:12 Friday 10 January 2025 20:39:17 -0500 (0:00:01.527) 0:02:50.076 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed powershell] *********************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:17 Friday 10 January 2025 20:39:17 -0500 (0:00:00.154) 0:02:50.230 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 10 January 2025 20:39:17 -0500 (0:00:00.104) 0:02:50.335 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004818", "end": "2025-01-10 20:39:18.173802", "rc": 0, "start": "2025-01-10 20:39:18.168984" } STDOUT: traceflag0 = 3979 TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 10 January 2025 20:39:18 -0500 (0:00:00.343) 0:02:50.679 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 10 January 2025 20:39:18 -0500 (0:00:00.120) 0:02:50.799 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 10 January 2025 20:39:18 -0500 (0:00:00.112) 0:02:50.912 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting alternatewritethrough] ********************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 10 January 2025 20:39:18 -0500 (0:00:00.209) 0:02:51.121 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004289", "end": "2025-01-10 20:39:18.989530", "rc": 0, "start": "2025-01-10 20:39:18.985241" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 10 January 2025 20:39:19 -0500 (0:00:00.384) 0:02:51.505 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool alternatewritethrough] *********** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 10 January 2025 20:39:19 -0500 (0:00:00.081) 0:02:51.587 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 10 January 2025 20:39:19 -0500 (0:00:00.084) 0:02:51.671 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 10 January 2025 20:39:19 -0500 (0:00:00.080) 0:02:51.751 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting writethrough] ******************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 10 January 2025 20:39:19 -0500 (0:00:00.198) 0:02:51.950 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004204", "end": "2025-01-10 20:39:19.789111", "rc": 0, "start": "2025-01-10 20:39:19.784907" } STDOUT: writethrough = 1 TASK [Verify the setting when it is type str writethrough] ********************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 10 January 2025 20:39:19 -0500 (0:00:00.367) 0:02:52.317 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool writethrough] ******************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 10 January 2025 20:39:20 -0500 (0:00:00.092) 0:02:52.410 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 10 January 2025 20:39:20 -0500 (0:00:00.189) 0:02:52.599 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 10 January 2025 20:39:20 -0500 (0:00:00.124) 0:02:52.724 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 10 January 2025 20:39:20 -0500 (0:00:00.115) 0:02:52.839 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 10 January 2025 20:39:20 -0500 (0:00:00.091) 0:02:52.930 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 10 January 2025 20:39:20 -0500 (0:00:00.092) 0:02:53.023 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 10 January 2025 20:39:20 -0500 (0:00:00.075) 0:02:53.098 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run to edit settings] **************************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:52 Friday 10 January 2025 20:39:20 -0500 (0:00:00.065) 0:02:53.164 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 10 January 2025 20:39:21 -0500 (0:00:00.843) 0:02:54.008 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 10 January 2025 20:39:21 -0500 (0:00:00.245) 0:02:54.253 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 10 January 2025 20:39:21 -0500 (0:00:00.132) 0:02:54.385 ******** ok: [managed-node1] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 10 January 2025 20:39:22 -0500 (0:00:00.123) 0:02:54.509 ******** ok: [managed-node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 10 January 2025 20:39:22 -0500 (0:00:00.073) 0:02:54.583 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 10 January 2025 20:39:22 -0500 (0:00:00.099) 0:02:54.683 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 10 January 2025 20:39:22 -0500 (0:00:00.124) 0:02:54.808 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 10 January 2025 20:39:22 -0500 (0:00:00.103) 0:02:54.912 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 10 January 2025 20:39:22 -0500 (0:00:00.090) 0:02:55.002 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 10 January 2025 20:39:22 -0500 (0:00:00.082) 0:02:55.084 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 10 January 2025 20:39:22 -0500 (0:00:00.068) 0:02:55.153 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 10 January 2025 20:39:22 -0500 (0:00:00.068) 0:02:55.222 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that variable is deprecated] ***** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 10 January 2025 20:39:22 -0500 (0:00:00.065) 0:02:55.288 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 10 January 2025 20:39:22 -0500 (0:00:00.070) 0:02:55.358 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 10 January 2025 20:39:23 -0500 (0:00:00.067) 0:02:55.426 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 10 January 2025 20:39:23 -0500 (0:00:00.072) 0:02:55.498 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 10 January 2025 20:39:23 -0500 (0:00:00.076) 0:02:55.574 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 10 January 2025 20:39:23 -0500 (0:00:00.069) 0:02:55.644 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 10 January 2025 20:39:23 -0500 (0:00:00.068) 0:02:55.713 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 10 January 2025 20:39:23 -0500 (0:00:00.065) 0:02:55.778 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 10 January 2025 20:39:23 -0500 (0:00:00.192) 0:02:55.971 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 10 January 2025 20:39:23 -0500 (0:00:00.113) 0:02:56.085 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 10 January 2025 20:39:23 -0500 (0:00:00.108) 0:02:56.193 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 10 January 2025 20:39:25 -0500 (0:00:01.338) 0:02:57.531 ******** ok: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 10 January 2025 20:39:25 -0500 (0:00:00.220) 0:02:57.752 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 10 January 2025 20:39:25 -0500 (0:00:00.113) 0:02:57.865 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 10 January 2025 20:39:25 -0500 (0:00:00.108) 0:02:57.974 ******** skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 10 January 2025 20:39:25 -0500 (0:00:00.155) 0:02:58.129 ******** ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 10 January 2025 20:39:26 -0500 (0:00:00.527) 0:02:58.656 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 10 January 2025 20:39:26 -0500 (0:00:00.115) 0:02:58.771 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 10 January 2025 20:39:26 -0500 (0:00:00.115) 0:02:58.887 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 10 January 2025 20:39:26 -0500 (0:00:00.220) 0:02:59.107 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 10 January 2025 20:39:26 -0500 (0:00:00.112) 0:02:59.219 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 10 January 2025 20:39:26 -0500 (0:00:00.115) 0:02:59.335 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 10 January 2025 20:39:27 -0500 (0:00:00.113) 0:02:59.449 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 10 January 2025 20:39:27 -0500 (0:00:00.150) 0:02:59.600 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 10 January 2025 20:39:27 -0500 (0:00:00.108) 0:02:59.708 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 10 January 2025 20:39:27 -0500 (0:00:00.666) 0:03:00.374 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 10 January 2025 20:39:28 -0500 (0:00:00.611) 0:03:00.985 ******** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005137", "end": "2025-01-10 20:39:28.856602", "rc": 0, "start": "2025-01-10 20:39:28.851465" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Friday 10 January 2025 20:39:28 -0500 (0:00:00.407) 0:03:01.392 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Friday 10 January 2025 20:39:29 -0500 (0:00:00.939) 0:03:02.332 ******** ok: [managed-node1] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Friday 10 January 2025 20:39:30 -0500 (0:00:00.147) 0:03:02.479 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Friday 10 January 2025 20:39:30 -0500 (0:00:00.106) 0:03:02.586 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Friday 10 January 2025 20:39:30 -0500 (0:00:00.109) 0:03:02.696 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node1 included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /var/opt/mssql/data] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 10 January 2025 20:39:30 -0500 (0:00:00.359) 0:03:03.056 ******** ok: [managed-node1] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/data", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 10 January 2025 20:39:31 -0500 (0:00:00.396) 0:03:03.452 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 10 January 2025 20:39:31 -0500 (0:00:00.113) 0:03:03.566 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 10 January 2025 20:39:31 -0500 (0:00:00.198) 0:03:03.764 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003103", "end": "2025-01-10 20:39:31.631738", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:39:31.628635" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 10 January 2025 20:39:31 -0500 (0:00:00.408) 0:03:04.173 ******** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed-node1 changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultdatadir", "/var/opt/mssql/data" ], "delta": "0:00:00.045208", "end": "2025-01-10 20:39:32.100488", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:39:32.055280" } 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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 10 January 2025 20:39:32 -0500 (0:00:00.484) 0:03:04.657 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /var/opt/mssql/log] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 10 January 2025 20:39:32 -0500 (0:00:00.115) 0:03:04.773 ******** ok: [managed-node1] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/log", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 10 January 2025 20:39:32 -0500 (0:00:00.478) 0:03:05.252 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 10 January 2025 20:39:32 -0500 (0:00:00.091) 0:03:05.343 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 10 January 2025 20:39:33 -0500 (0:00:00.132) 0:03:05.476 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003436", "end": "2025-01-10 20:39:33.338652", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:39:33.335216" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 10 January 2025 20:39:33 -0500 (0:00:00.408) 0:03:05.884 ******** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/var/opt/mssql/log" ], "delta": "0:00:00.045656", "end": "2025-01-10 20:39:33.793504", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:39:33.747848" } 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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 10 January 2025 20:39:33 -0500 (0:00:00.413) 0:03:06.298 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 10 January 2025 20:39:33 -0500 (0:00:00.104) 0:03:06.402 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Friday 10 January 2025 20:39:34 -0500 (0:00:00.204) 0:03:06.607 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Friday 10 January 2025 20:39:34 -0500 (0:00:00.075) 0:03:06.683 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 10 January 2025 20:39:34 -0500 (0:00:00.515) 0:03:07.198 ******** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-01-10 20:11:34 EST", "ActiveEnterTimestampMonotonic": "7955643", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target system.slice systemd-sysctl.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-01-10 20:11:33 EST", "AssertTimestampMonotonic": "7220364", "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-01-10 20:11:33 EST", "ConditionTimestampMonotonic": "7220363", "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": "849", "ExecMainStartTimestamp": "Fri 2025-01-10 20:11:33 EST", "ExecMainStartTimestampMonotonic": "7220949", "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-01-10 20:11:33 EST", "InactiveExitTimestampMonotonic": "7220978", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "849", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service 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-01-10 20:11:34 EST", "WatchdogTimestampMonotonic": "7955594", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Friday 10 January 2025 20:39:35 -0500 (0:00:00.408) 0:03:07.607 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.082861", "end": "2025-01-10 20:39:35.511500", "rc": 0, "start": "2025-01-10 20:39:35.428639" } 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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Friday 10 January 2025 20:39:35 -0500 (0:00:00.438) 0:03:08.046 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Friday 10 January 2025 20:39:35 -0500 (0:00:00.108) 0:03:08.154 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 10 January 2025 20:39:35 -0500 (0:00:00.088) 0:03:08.242 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Friday 10 January 2025 20:39:35 -0500 (0:00:00.079) 0:03:08.322 ******** ok: [managed-node1] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Friday 10 January 2025 20:39:36 -0500 (0:00:00.349) 0:03:08.671 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 10 January 2025 20:39:36 -0500 (0:00:00.068) 0:03:08.740 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools18-18.4.1.1-1.x86_64 providing mssql-tools18 is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools18 unixODBC-devel TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Friday 10 January 2025 20:39:36 -0500 (0:00:00.585) 0:03:09.325 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Friday 10 January 2025 20:39:37 -0500 (0:00:00.093) 0:03:09.419 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 10 January 2025 20:39:37 -0500 (0:00:00.083) 0:03:09.502 ******** skipping: [managed-node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 10 January 2025 20:39:37 -0500 (0:00:00.192) 0:03:09.695 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 10 January 2025 20:39:37 -0500 (0:00:00.112) 0:03:09.808 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 10 January 2025 20:39:37 -0500 (0:00:00.114) 0:03:09.922 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 10 January 2025 20:39:37 -0500 (0:00:00.113) 0:03:10.036 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the setting forceencryption] ******* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 10 January 2025 20:39:37 -0500 (0:00:00.113) 0:03:10.150 ******** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.004409", "end": "2025-01-10 20:39:38.028284", "failed_when_result": false, "rc": 1, "start": "2025-01-10 20:39:38.023875" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 10 January 2025 20:39:38 -0500 (0:00:00.410) 0:03:10.560 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 10 January 2025 20:39:38 -0500 (0:00:00.095) 0:03:10.655 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Friday 10 January 2025 20:39:38 -0500 (0:00:00.086) 0:03:10.742 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 10 January 2025 20:39:38 -0500 (0:00:00.125) 0:03:10.867 ******** ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-01-10 20:38:25 EST", "ActiveEnterTimestampMonotonic": "1618416167", "ActiveExitTimestamp": "Fri 2025-01-10 20:38:24 EST", "ActiveExitTimestampMonotonic": "1617557271", "ActiveState": "active", "After": "auditd.service systemd-journald.socket network.target system.slice basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-01-10 20:38:25 EST", "AssertTimestampMonotonic": "1618415419", "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-01-10 20:38:25 EST", "ConditionTimestampMonotonic": "1618415417", "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": "20088", "ExecMainStartTimestamp": "Fri 2025-01-10 20:38:25 EST", "ExecMainStartTimestampMonotonic": "1618416102", "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-01-10 20:38:25 EST", "InactiveEnterTimestampMonotonic": "1618413190", "InactiveExitTimestamp": "Fri 2025-01-10 20:38:25 EST", "InactiveExitTimestampMonotonic": "1618416167", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "20088", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-01-10 20:38:25 EST", "WatchdogTimestampMonotonic": "1618416144", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 10 January 2025 20:39:38 -0500 (0:00:00.412) 0:03:11.280 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002969", "end": "2025-01-10 20:39:39.101863", "failed_when_result": false, "rc": 1, "start": "2025-01-10 20:39:39.098894" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 10 January 2025 20:39:39 -0500 (0:00:00.344) 0:03:11.624 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003044", "end": "2025-01-10 20:39:39.490113", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:39:39.487069" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 10 January 2025 20:39:39 -0500 (0:00:00.397) 0:03:12.022 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Friday 10 January 2025 20:39:39 -0500 (0:00:00.133) 0:03:12.156 ******** ok: [managed-node1] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7454, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Friday 10 January 2025 20:39:41 -0500 (0:00:01.406) 0:03:13.562 ******** fatal: [managed-node1]: FAILED! => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } ...ignoring TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Friday 10 January 2025 20:39:41 -0500 (0:00:00.364) 0:03:13.927 ******** changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Fri 2025-01-10 20:38:25 EST", "ActiveEnterTimestampMonotonic": "1618416167", "ActiveExitTimestamp": "Fri 2025-01-10 20:38:24 EST", "ActiveExitTimestampMonotonic": "1617557271", "ActiveState": "active", "After": "auditd.service systemd-journald.socket network.target system.slice basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-01-10 20:38:25 EST", "AssertTimestampMonotonic": "1618415419", "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-01-10 20:38:25 EST", "ConditionTimestampMonotonic": "1618415417", "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": "20088", "ExecMainStartTimestamp": "Fri 2025-01-10 20:38:25 EST", "ExecMainStartTimestampMonotonic": "1618416102", "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-01-10 20:38:25 EST", "InactiveEnterTimestampMonotonic": "1618413190", "InactiveExitTimestamp": "Fri 2025-01-10 20:38:25 EST", "InactiveExitTimestampMonotonic": "1618416167", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "20088", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-01-10 20:38:25 EST", "WatchdogTimestampMonotonic": "1618416144", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 10 January 2025 20:39:43 -0500 (0:00:01.711) 0:03:15.639 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Friday 10 January 2025 20:39:44 -0500 (0:00:01.324) 0:03:16.963 ******** changed: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 10 January 2025 20:39:50 -0500 (0:00:06.278) 0:03:23.241 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Friday 10 January 2025 20:39:50 -0500 (0:00:00.065) 0:03:23.307 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 10 January 2025 20:39:50 -0500 (0:00:00.070) 0:03:23.378 ******** ok: [managed-node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005013", "end": "2025-01-10 20:39:51.212264", "rc": 0, "start": "2025-01-10 20:39:51.207251" } STDOUT: false TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Friday 10 January 2025 20:39:51 -0500 (0:00:00.402) 0:03:23.780 ******** ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Fri 2025-01-10 20:38:25 EST", "ActiveEnterTimestampMonotonic": "1618416167", "ActiveExitTimestamp": "Fri 2025-01-10 20:39:41 EST", "ActiveExitTimestampMonotonic": "1695183137", "ActiveState": "inactive", "After": "auditd.service systemd-journald.socket network.target system.slice basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-01-10 20:38:25 EST", "AssertTimestampMonotonic": "1618415419", "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-01-10 20:38:25 EST", "ConditionTimestampMonotonic": "1618415417", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "1", "ExecMainExitTimestamp": "Fri 2025-01-10 20:39:43 EST", "ExecMainExitTimestampMonotonic": "1696393395", "ExecMainPID": "20088", "ExecMainStartTimestamp": "Fri 2025-01-10 20:38:25 EST", "ExecMainStartTimestampMonotonic": "1618416102", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2025-01-10 20:38:25 EST] ; stop_time=[Fri 2025-01-10 20:39:43 EST] ; pid=20088 ; 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-01-10 20:39:43 EST", "InactiveEnterTimestampMonotonic": "1696393479", "InactiveExitTimestamp": "Fri 2025-01-10 20:38:25 EST", "InactiveExitTimestampMonotonic": "1618416167", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Friday 10 January 2025 20:39:51 -0500 (0:00:00.424) 0:03:24.205 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 10 January 2025 20:39:53 -0500 (0:00:01.293) 0:03:25.498 ******** changed: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": true } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Friday 10 January 2025 20:39:59 -0500 (0:00:06.203) 0:03:31.702 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network ipaddress] ***** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 10 January 2025 20:39:59 -0500 (0:00:00.126) 0:03:31.828 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003417", "end": "2025-01-10 20:39:59.680326", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:39:59.676909" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 10 January 2025 20:39:59 -0500 (0:00:00.436) 0:03:32.265 ******** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "127.0.0.1" ], "delta": "0:00:00.047491", "end": "2025-01-10 20:40:00.146249", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:40:00.098758" } 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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 10 January 2025 20:40:00 -0500 (0:00:00.380) 0:03:32.645 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Friday 10 January 2025 20:40:00 -0500 (0:00:00.066) 0:03:32.711 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 10 January 2025 20:40:00 -0500 (0:00:00.069) 0:03:32.780 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Friday 10 January 2025 20:40:00 -0500 (0:00:00.066) 0:03:32.847 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 10 January 2025 20:40:00 -0500 (0:00:00.140) 0:03:32.987 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003790", "end": "2025-01-10 20:40:00.816647", "failed_when_result": false, "rc": 1, "start": "2025-01-10 20:40:00.812857" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 10 January 2025 20:40:00 -0500 (0:00:00.324) 0:03:33.311 ******** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1435" ], "delta": "0:00:00.048151", "end": "2025-01-10 20:40:01.198635", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:40:01.150484" } 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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 10 January 2025 20:40:01 -0500 (0:00:00.385) 0:03:33.697 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Friday 10 January 2025 20:40:01 -0500 (0:00:00.062) 0:03:33.759 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Friday 10 January 2025 20:40:01 -0500 (0:00:00.065) 0:03:33.825 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting sqlagent enabled] ****** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 10 January 2025 20:40:01 -0500 (0:00:00.119) 0:03:33.944 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003380", "end": "2025-01-10 20:40:01.767132", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:40:01.763752" } STDOUT: enabled = True TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 10 January 2025 20:40:01 -0500 (0:00:00.312) 0:03:34.256 ******** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "False" ], "delta": "0:00:00.047914", "end": "2025-01-10 20:40:02.140953", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:40:02.093039" } 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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 10 January 2025 20:40:02 -0500 (0:00:00.391) 0:03:34.647 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Friday 10 January 2025 20:40:02 -0500 (0:00:00.067) 0:03:34.715 ******** changed: [managed-node1] => { "changed": true, "changes": { "removed": [ "mssql-server-fts" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server-fts.x86_64 0:14.0.3465.1-1 will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server-fts\n x86_64 14.0.3465.1-1 @packages-microsoft-com-mssql-server-2017 554 M\n\nTransaction Summary\n================================================================================\nRemove 1 Package\n\nInstalled size: 554 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-fts-14.0.3465.1-1.x86_64 1/1 \n Verifying : mssql-server-fts-14.0.3465.1-1.x86_64 1/1 \n\nRemoved:\n mssql-server-fts.x86_64 0:14.0.3465.1-1 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Friday 10 January 2025 20:40:03 -0500 (0:00:01.471) 0:03:36.186 ******** changed: [managed-node1] => { "changed": true, "changes": { "removed": [ "powershell" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package powershell.x86_64 0:7.3.12-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n powershell x86_64 7.3.12-1.rh @packages-microsoft-com-prod 168 M\n\nTransaction Summary\n================================================================================\nRemove 1 Package\n\nInstalled size: 168 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : powershell-7.3.12-1.rh.x86_64 1/1 \n Verifying : powershell-7.3.12-1.rh.x86_64 1/1 \n\nRemoved:\n powershell.x86_64 0:7.3.12-1.rh \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 10 January 2025 20:40:05 -0500 (0:00:01.377) 0:03:37.563 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004209", "end": "2025-01-10 20:40:05.392241", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:40:05.388032" } STDOUT: traceflag0 = 3979 TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Friday 10 January 2025 20:40:05 -0500 (0:00:00.317) 0:03:37.881 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 10 January 2025 20:40:05 -0500 (0:00:00.066) 0:03:37.947 ******** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "off" ], "delta": "0:00:00.047165", "end": "2025-01-10 20:40:05.821972", "rc": 0, "start": "2025-01-10 20:40:05.774807" } 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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Friday 10 January 2025 20:40:05 -0500 (0:00:00.361) 0:03:38.309 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting control alternatewritethrough] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 10 January 2025 20:40:06 -0500 (0:00:00.115) 0:03:38.424 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003298", "end": "2025-01-10 20:40:06.257724", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:40:06.254426" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 10 January 2025 20:40:06 -0500 (0:00:00.322) 0:03:38.747 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control alternatewritethrough] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 10 January 2025 20:40:06 -0500 (0:00:00.072) 0:03:38.819 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 10 January 2025 20:40:06 -0500 (0:00:00.140) 0:03:38.960 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting control writethrough] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 10 January 2025 20:40:06 -0500 (0:00:00.121) 0:03:39.082 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003358", "end": "2025-01-10 20:40:06.910423", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:40:06.907065" } STDOUT: writethrough = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 10 January 2025 20:40:06 -0500 (0:00:00.318) 0:03:39.401 ******** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "0" ], "delta": "0:00:00.046534", "end": "2025-01-10 20:40:07.284102", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:40:07.237568" } 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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 10 January 2025 20:40:07 -0500 (0:00:00.383) 0:03:39.784 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Friday 10 January 2025 20:40:07 -0500 (0:00:00.068) 0:03:39.853 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Friday 10 January 2025 20:40:07 -0500 (0:00:00.068) 0:03:39.922 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Friday 10 January 2025 20:40:07 -0500 (0:00:00.062) 0:03:39.985 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Friday 10 January 2025 20:40:07 -0500 (0:00:00.067) 0:03:40.052 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Friday 10 January 2025 20:40:07 -0500 (0:00:00.067) 0:03:40.120 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 10 January 2025 20:40:07 -0500 (0:00:00.069) 0:03:40.190 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Friday 10 January 2025 20:40:07 -0500 (0:00:00.067) 0:03:40.258 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 10 January 2025 20:40:07 -0500 (0:00:00.064) 0:03:40.322 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure proper configuration on user] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Friday 10 January 2025 20:40:07 -0500 (0:00:00.065) 0:03:40.388 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Friday 10 January 2025 20:40:08 -0500 (0:00:00.063) 0:03:40.452 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Friday 10 January 2025 20:40:08 -0500 (0:00:00.071) 0:03:40.523 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Friday 10 January 2025 20:40:08 -0500 (0:00:00.061) 0:03:40.584 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Friday 10 January 2025 20:40:08 -0500 (0:00:00.148) 0:03:40.733 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Friday 10 January 2025 20:40:08 -0500 (0:00:00.066) 0:03:40.799 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Friday 10 January 2025 20:40:08 -0500 (0:00:00.064) 0:03:40.864 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 10 January 2025 20:40:08 -0500 (0:00:00.067) 0:03:40.932 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 10 January 2025 20:40:08 -0500 (0:00:00.065) 0:03:40.997 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 10 January 2025 20:40:08 -0500 (0:00:00.066) 0:03:41.064 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Friday 10 January 2025 20:40:08 -0500 (0:00:00.063) 0:03:41.128 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 10 January 2025 20:40:08 -0500 (0:00:00.065) 0:03:41.193 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Friday 10 January 2025 20:40:08 -0500 (0:00:00.065) 0:03:41.259 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Friday 10 January 2025 20:40:08 -0500 (0:00:00.062) 0:03:41.322 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Friday 10 January 2025 20:40:08 -0500 (0:00:00.065) 0:03:41.387 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Friday 10 January 2025 20:40:09 -0500 (0:00:00.064) 0:03:41.452 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Friday 10 January 2025 20:40:09 -0500 (0:00:00.069) 0:03:41.521 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Friday 10 January 2025 20:40:09 -0500 (0:00:00.062) 0:03:41.584 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 10 January 2025 20:40:09 -0500 (0:00:00.064) 0:03:41.649 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 10 January 2025 20:40:09 -0500 (0:00:00.065) 0:03:41.714 ******** skipping: [managed-node1] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Friday 10 January 2025 20:40:09 -0500 (0:00:00.076) 0:03:41.791 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 10 January 2025 20:40:09 -0500 (0:00:00.063) 0:03:41.854 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Friday 10 January 2025 20:40:09 -0500 (0:00:00.062) 0:03:41.916 ******** skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 10 January 2025 20:40:09 -0500 (0:00:00.167) 0:03:42.084 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Friday 10 January 2025 20:40:09 -0500 (0:00:00.065) 0:03:42.149 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Friday 10 January 2025 20:40:09 -0500 (0:00:00.067) 0:03:42.217 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 10 January 2025 20:40:09 -0500 (0:00:00.066) 0:03:42.283 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 10 January 2025 20:40:09 -0500 (0:00:00.064) 0:03:42.348 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 10 January 2025 20:40:10 -0500 (0:00:00.065) 0:03:42.413 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Friday 10 January 2025 20:40:10 -0500 (0:00:00.061) 0:03:42.474 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Friday 10 January 2025 20:40:10 -0500 (0:00:00.070) 0:03:42.545 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 10 January 2025 20:40:10 -0500 (0:00:00.066) 0:03:42.612 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Friday 10 January 2025 20:40:10 -0500 (0:00:00.064) 0:03:42.676 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Friday 10 January 2025 20:40:10 -0500 (0:00:00.064) 0:03:42.740 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Friday 10 January 2025 20:40:10 -0500 (0:00:00.061) 0:03:42.802 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Friday 10 January 2025 20:40:10 -0500 (0:00:00.063) 0:03:42.866 ******** skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Friday 10 January 2025 20:40:10 -0500 (0:00:00.081) 0:03:42.947 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 10 January 2025 20:40:10 -0500 (0:00:00.065) 0:03:43.013 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Friday 10 January 2025 20:40:10 -0500 (0:00:00.063) 0:03:43.077 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Friday 10 January 2025 20:40:10 -0500 (0:00:00.065) 0:03:43.143 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 10 January 2025 20:40:10 -0500 (0:00:00.067) 0:03:43.210 ******** skipping: [managed-node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 10 January 2025 20:40:10 -0500 (0:00:00.073) 0:03:43.284 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Friday 10 January 2025 20:40:11 -0500 (0:00:00.151) 0:03:43.435 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Friday 10 January 2025 20:40:11 -0500 (0:00:00.065) 0:03:43.501 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Friday 10 January 2025 20:40:11 -0500 (0:00:00.071) 0:03:43.572 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 10 January 2025 20:40:11 -0500 (0:00:00.067) 0:03:43.640 ******** changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 10 January 2025 20:40:11 -0500 (0:00:00.401) 0:03:44.042 ******** changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-01-10 20:38:25 EST", "ActiveEnterTimestampMonotonic": "1618416167", "ActiveExitTimestamp": "Fri 2025-01-10 20:39:41 EST", "ActiveExitTimestampMonotonic": "1695183137", "ActiveState": "inactive", "After": "auditd.service systemd-journald.socket network.target system.slice basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-01-10 20:38:25 EST", "AssertTimestampMonotonic": "1618415419", "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-01-10 20:38:25 EST", "ConditionTimestampMonotonic": "1618415417", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "1", "ExecMainExitTimestamp": "Fri 2025-01-10 20:39:43 EST", "ExecMainExitTimestampMonotonic": "1696393395", "ExecMainPID": "20088", "ExecMainStartTimestamp": "Fri 2025-01-10 20:38:25 EST", "ExecMainStartTimestampMonotonic": "1618416102", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2025-01-10 20:38:25 EST] ; stop_time=[Fri 2025-01-10 20:39:43 EST] ; pid=20088 ; 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-01-10 20:39:43 EST", "InactiveEnterTimestampMonotonic": "1696393479", "InactiveExitTimestamp": "Fri 2025-01-10 20:38:25 EST", "InactiveExitTimestampMonotonic": "1618416167", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "dead", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestampMonotonic": "0", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } META: ran handlers TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Friday 10 January 2025 20:40:12 -0500 (0:00:00.496) 0:03:44.538 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Friday 10 January 2025 20:40:12 -0500 (0:00:00.067) 0:03:44.606 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run with the edited settings again - should report not changed] ********** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:69 Friday 10 January 2025 20:40:12 -0500 (0:00:00.064) 0:03:44.671 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 10 January 2025 20:40:13 -0500 (0:00:01.027) 0:03:45.699 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts used by role] ***** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 10 January 2025 20:40:13 -0500 (0:00:00.107) 0:03:45.806 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set platform/version specific variables] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 10 January 2025 20:40:13 -0500 (0:00:00.086) 0:03:45.893 ******** ok: [managed-node1] => (item=RedHat.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/9/prod/", "__mssql_confined_supported": true, "__mssql_server_repository": "https://packages.microsoft.com/rhel/9/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2022 ], "__mssql_tuned_supported": true }, "ansible_included_var_files": [ "/tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/RedHat.yml" ], "ansible_loop_var": "item", "changed": false, "item": "RedHat.yml" } skipping: [managed-node1] => (item=CentOS.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS.yml", "skip_reason": "Conditional result was False" } ok: [managed-node1] => (item=CentOS_7.yml) => { "ansible_facts": { "__mssql_client_repository": "https://packages.microsoft.com/rhel/7/prod/", "__mssql_confined_supported": false, "__mssql_server_repository": "https://packages.microsoft.com/rhel/7/mssql-server-{{ mssql_version | int }}/", "__mssql_supported_versions": [ 2017, 2019 ] }, "ansible_included_var_files": [ "/tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/vars/CentOS_7.yml" ], "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.yml" } skipping: [managed-node1] => (item=CentOS_7.9.yml) => { "ansible_loop_var": "item", "changed": false, "item": "CentOS_7.9.yml", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_login_cmd fact] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 10 January 2025 20:40:13 -0500 (0:00:00.106) 0:03:45.999 ******** ok: [managed-node1] => { "ansible_facts": { "__mssql_sqlcmd_login_cmd": null }, "changed": false } TASK [fedora.linux_system_roles.mssql : Print that the mssql_input_sql_file variable is deprecated] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 10 January 2025 20:40:13 -0500 (0:00:00.067) 0:03:46.066 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 10 January 2025 20:40:13 -0500 (0:00:00.064) 0:03:46.131 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the variable is deprecated] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 10 January 2025 20:40:13 -0500 (0:00:00.066) 0:03:46.197 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 10 January 2025 20:40:13 -0500 (0:00:00.064) 0:03:46.261 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ad_sql_user_name variable is deprecated] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 10 January 2025 20:40:13 -0500 (0:00:00.065) 0:03:46.327 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 10 January 2025 20:40:13 -0500 (0:00:00.064) 0:03:46.391 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that the mssql_ha_cluster_run_role variable is deprecated] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 10 January 2025 20:40:14 -0500 (0:00:00.064) 0:03:46.456 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 10 January 2025 20:40:14 -0500 (0:00:00.065) 0:03:46.522 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print that variable is deprecated] ***** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:74 Friday 10 January 2025 20:40:14 -0500 (0:00:00.069) 0:03:46.591 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated fact] ************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:83 Friday 10 January 2025 20:40:14 -0500 (0:00:00.171) 0:03:46.763 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:87 Friday 10 January 2025 20:40:14 -0500 (0:00:00.066) 0:03:46.829 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:94 Friday 10 January 2025 20:40:14 -0500 (0:00:00.070) 0:03:46.899 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify that EL < 8 is not used with mssql_ha_configure=true] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:106 Friday 10 January 2025 20:40:14 -0500 (0:00:00.072) 0:03:46.971 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_ha_replica_type variable is provided correctly] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 10 January 2025 20:40:14 -0500 (0:00:00.067) 0:03:47.039 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that 'mssql_ha_replica_type = primary' is provided once] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:123 Friday 10 January 2025 20:40:14 -0500 (0:00:00.065) 0:03:47.105 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:132 Friday 10 January 2025 20:40:14 -0500 (0:00:00.068) 0:03:47.173 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that selinux variables are used on supported platforms] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:142 Friday 10 January 2025 20:40:14 -0500 (0:00:00.067) 0:03:47.241 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_manage_selinux is set properly] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:151 Friday 10 January 2025 20:40:14 -0500 (0:00:00.066) 0:03:47.307 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Friday 10 January 2025 20:40:14 -0500 (0:00:00.067) 0:03:47.374 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:166 Friday 10 January 2025 20:40:16 -0500 (0:00:01.455) 0:03:48.830 ******** ok: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:174 Friday 10 January 2025 20:40:16 -0500 (0:00:00.339) 0:03:49.170 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify if the mssql_version variable is provided correctly] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:181 Friday 10 January 2025 20:40:16 -0500 (0:00:00.066) 0:03:49.236 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Verify if mssql_version is not smaller then the existing SQL Server version] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:188 Friday 10 January 2025 20:40:16 -0500 (0:00:00.070) 0:03:49.307 ******** skipping: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:202 Friday 10 January 2025 20:40:17 -0500 (0:00:00.126) 0:03:49.433 ******** ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:216 Friday 10 January 2025 20:40:17 -0500 (0:00:00.487) 0:03:49.920 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:226 Friday 10 January 2025 20:40:17 -0500 (0:00:00.067) 0:03:49.988 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:237 Friday 10 January 2025 20:40:17 -0500 (0:00:00.068) 0:03:50.056 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:251 Friday 10 January 2025 20:40:17 -0500 (0:00:00.065) 0:03:50.122 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:260 Friday 10 January 2025 20:40:17 -0500 (0:00:00.066) 0:03:50.189 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:272 Friday 10 January 2025 20:40:17 -0500 (0:00:00.067) 0:03:50.257 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:279 Friday 10 January 2025 20:40:17 -0500 (0:00:00.069) 0:03:50.326 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 10 January 2025 20:40:18 -0500 (0:00:00.085) 0:03:50.411 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure to run as a confined application with SELinux] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:304 Friday 10 January 2025 20:40:18 -0500 (0:00:00.061) 0:03:50.473 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-selinux is not installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server] ******* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:309 Friday 10 January 2025 20:40:18 -0500 (0:00:00.567) 0:03:51.040 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:314 Friday 10 January 2025 20:40:19 -0500 (0:00:00.556) 0:03:51.596 ******** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile = ' /var/opt/mssql/mssql.conf \\\n| sed 's/errorlogfile : //')\" || :\nif [ -s \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -s /var/opt/mssql/log/errorlog ]; then\n echo /var/opt/mssql/log/errorlog\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.006336", "end": "2025-01-10 20:40:19.424363", "rc": 0, "start": "2025-01-10 20:40:19.418027" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:330 Friday 10 January 2025 20:40:19 -0500 (0:00:00.317) 0:03:51.913 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set the __mssql_is_setup variable] ***** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:334 Friday 10 January 2025 20:40:20 -0500 (0:00:00.889) 0:03:52.803 ******** ok: [managed-node1] => { "ansible_facts": { "__mssql_is_setup": true }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the variables required for setting up MSSQL are defined] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:343 Friday 10 January 2025 20:40:20 -0500 (0:00:00.090) 0:03:52.894 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:359 Friday 10 January 2025 20:40:20 -0500 (0:00:00.062) 0:03:52.957 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:384 Friday 10 January 2025 20:40:20 -0500 (0:00:00.066) 0:03:53.023 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node1 included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /var/opt/mssql/data] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 10 January 2025 20:40:20 -0500 (0:00:00.135) 0:03:53.159 ******** ok: [managed-node1] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/data", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 10 January 2025 20:40:21 -0500 (0:00:00.319) 0:03:53.479 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 10 January 2025 20:40:21 -0500 (0:00:00.064) 0:03:53.543 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultdatadir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 10 January 2025 20:40:21 -0500 (0:00:00.114) 0:03:53.658 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003575", "end": "2025-01-10 20:40:21.486131", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:40:21.482556" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 10 January 2025 20:40:21 -0500 (0:00:00.317) 0:03:53.975 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting filelocation defaultdatadir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 10 January 2025 20:40:21 -0500 (0:00:00.072) 0:03:54.047 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions /var/opt/mssql/log] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 10 January 2025 20:40:21 -0500 (0:00:00.170) 0:03:54.218 ******** ok: [managed-node1] => { "changed": false, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/var/opt/mssql/log", "secontext": "unconfined_u:object_r:var_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 10 January 2025 20:40:22 -0500 (0:00:00.330) 0:03:54.549 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 10 January 2025 20:40:22 -0500 (0:00:00.072) 0:03:54.622 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting filelocation defaultlogdir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 10 January 2025 20:40:22 -0500 (0:00:00.114) 0:03:54.736 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003308", "end": "2025-01-10 20:40:22.566989", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:40:22.563681" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 10 January 2025 20:40:22 -0500 (0:00:00.321) 0:03:55.057 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting filelocation defaultlogdir] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 10 January 2025 20:40:22 -0500 (0:00:00.073) 0:03:55.131 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:399 Friday 10 January 2025 20:40:22 -0500 (0:00:00.062) 0:03:55.193 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:413 Friday 10 January 2025 20:40:22 -0500 (0:00:00.061) 0:03:55.255 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:424 Friday 10 January 2025 20:40:22 -0500 (0:00:00.060) 0:03:55.316 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "tuned-profiles-mssql-2.11.0-12.el7_9.noarch providing tuned-profiles-mssql is already installed" ] } lsrpackages: tuned-profiles-mssql TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Friday 10 January 2025 20:40:23 -0500 (0:00:00.521) 0:03:55.837 ******** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-01-10 20:11:34 EST", "ActiveEnterTimestampMonotonic": "7955643", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket network.target system.slice systemd-sysctl.service dbus.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-01-10 20:11:33 EST", "AssertTimestampMonotonic": "7220364", "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-01-10 20:11:33 EST", "ConditionTimestampMonotonic": "7220363", "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": "849", "ExecMainStartTimestamp": "Fri 2025-01-10 20:11:33 EST", "ExecMainStartTimestampMonotonic": "7220949", "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-01-10 20:11:33 EST", "InactiveExitTimestampMonotonic": "7220978", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "control-group", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "849", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "dbus.service polkit.service 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-01-10 20:11:34 EST", "WatchdogTimestampMonotonic": "7955594", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:437 Friday 10 January 2025 20:40:23 -0500 (0:00:00.416) 0:03:56.253 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.088031", "end": "2025-01-10 20:40:24.158227", "rc": 0, "start": "2025-01-10 20:40:24.070196" } 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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:450 Friday 10 January 2025 20:40:24 -0500 (0:00:00.399) 0:03:56.653 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:463 Friday 10 January 2025 20:40:24 -0500 (0:00:00.162) 0:03:56.815 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 10 January 2025 20:40:24 -0500 (0:00:00.069) 0:03:56.884 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:482 Friday 10 January 2025 20:40:24 -0500 (0:00:00.064) 0:03:56.949 ******** ok: [managed-node1] => { "changed": false, "repo": "packages-microsoft-com-prod", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:490 Friday 10 January 2025 20:40:24 -0500 (0:00:00.316) 0:03:57.266 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:499 Friday 10 January 2025 20:40:24 -0500 (0:00:00.062) 0:03:57.328 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools18-18.4.1.1-1.x86_64 providing mssql-tools18 is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools18 unixODBC-devel TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:516 Friday 10 January 2025 20:40:25 -0500 (0:00:00.522) 0:03:57.850 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_tls_cert and _private_key based on the cert name] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:530 Friday 10 January 2025 20:40:25 -0500 (0:00:00.065) 0:03:57.916 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Copy certificate and private_key files to the host] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 10 January 2025 20:40:25 -0500 (0:00:00.063) 0:03:57.980 ******** skipping: [managed-node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=None) => { "ansible_loop_var": "item", "changed": false, "item": null, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlscert setting] ********* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 10 January 2025 20:40:25 -0500 (0:00:00.071) 0:03:58.051 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:562 Friday 10 January 2025 20:40:25 -0500 (0:00:00.065) 0:03:58.117 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:571 Friday 10 January 2025 20:40:25 -0500 (0:00:00.063) 0:03:58.180 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 10 January 2025 20:40:25 -0500 (0:00:00.065) 0:03:58.246 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the setting forceencryption] ******* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:587 Friday 10 January 2025 20:40:25 -0500 (0:00:00.062) 0:03:58.309 ******** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.005206", "end": "2025-01-10 20:40:26.137472", "failed_when_result": false, "rc": 1, "start": "2025-01-10 20:40:26.132266" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:596 Friday 10 January 2025 20:40:26 -0500 (0:00:00.312) 0:03:58.621 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:603 Friday 10 January 2025 20:40:26 -0500 (0:00:00.073) 0:03:58.695 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:616 Friday 10 January 2025 20:40:26 -0500 (0:00:00.068) 0:03:58.764 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 10 January 2025 20:40:26 -0500 (0:00:00.222) 0:03:58.986 ******** ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-01-10 20:40:12 EST", "ActiveEnterTimestampMonotonic": "1725313392", "ActiveExitTimestamp": "Fri 2025-01-10 20:39:41 EST", "ActiveExitTimestampMonotonic": "1695183137", "ActiveState": "active", "After": "auditd.service systemd-journald.socket network.target system.slice basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-01-10 20:40:12 EST", "AssertTimestampMonotonic": "1725311945", "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-01-10 20:40:12 EST", "ConditionTimestampMonotonic": "1725311943", "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": "25996", "ExecMainStartTimestamp": "Fri 2025-01-10 20:40:12 EST", "ExecMainStartTimestampMonotonic": "1725312830", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2025-01-10 20:40:12 EST] ; stop_time=[n/a] ; pid=25996 ; 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-01-10 20:39:43 EST", "InactiveEnterTimestampMonotonic": "1696393479", "InactiveExitTimestamp": "Fri 2025-01-10 20:40:12 EST", "InactiveExitTimestampMonotonic": "1725313392", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "25996", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-01-10 20:40:12 EST", "WatchdogTimestampMonotonic": "1725313367", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 10 January 2025 20:40:27 -0500 (0:00:00.420) 0:03:59.407 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003275", "end": "2025-01-10 20:40:27.238536", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:40:27.235261" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 10 January 2025 20:40:27 -0500 (0:00:00.323) 0:03:59.730 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003893", "end": "2025-01-10 20:40:27.563425", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:40:27.559532" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 10 January 2025 20:40:27 -0500 (0:00:00.321) 0:04:00.051 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 Friday 10 January 2025 20:40:27 -0500 (0:00:00.082) 0:04:00.134 ******** ok: [managed-node1] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 6573, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:626 Friday 10 January 2025 20:40:29 -0500 (0:00:01.317) 0:04:01.452 ******** ok: [managed-node1] => { "attempts": 1, "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 Friday 10 January 2025 20:40:29 -0500 (0:00:00.350) 0:04:01.803 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 Friday 10 January 2025 20:40:29 -0500 (0:00:00.068) 0:04:01.871 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the password of sa user] ******** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 Friday 10 January 2025 20:40:30 -0500 (0:00:01.303) 0:04:03.175 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 10 January 2025 20:40:30 -0500 (0:00:00.177) 0:04:03.352 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:684 Friday 10 January 2025 20:40:31 -0500 (0:00:00.068) 0:04:03.420 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Friday 10 January 2025 20:40:31 -0500 (0:00:00.069) 0:04:03.490 ******** ok: [managed-node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n edition_matches=false\nelse\n edition_matches=true\nfi\necho \"${edition_matches}\"\n", "delta": "0:00:00.005498", "end": "2025-01-10 20:40:31.328621", "rc": 0, "start": "2025-01-10 20:40:31.323123" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:709 Friday 10 January 2025 20:40:31 -0500 (0:00:00.328) 0:04:03.818 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 Friday 10 January 2025 20:40:31 -0500 (0:00:00.071) 0:04:03.890 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Friday 10 January 2025 20:40:32 -0500 (0:00:01.177) 0:04:05.068 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:741 Friday 10 January 2025 20:40:32 -0500 (0:00:00.071) 0:04:05.139 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network ipaddress] ***** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 10 January 2025 20:40:32 -0500 (0:00:00.120) 0:04:05.259 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003960", "end": "2025-01-10 20:40:33.089724", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:40:33.085764" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 10 January 2025 20:40:33 -0500 (0:00:00.321) 0:04:05.581 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network ipaddress] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 10 January 2025 20:40:33 -0500 (0:00:00.071) 0:04:05.652 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register the previous tcpport setting] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:748 Friday 10 January 2025 20:40:33 -0500 (0:00:00.165) 0:04:05.818 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 10 January 2025 20:40:33 -0500 (0:00:00.068) 0:04:05.886 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:767 Friday 10 January 2025 20:40:33 -0500 (0:00:00.070) 0:04:05.956 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting network tcpport] ******* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 10 January 2025 20:40:33 -0500 (0:00:00.119) 0:04:06.075 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003325", "end": "2025-01-10 20:40:33.904354", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:40:33.901029" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 10 January 2025 20:40:33 -0500 (0:00:00.319) 0:04:06.395 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting network tcpport] ***** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 10 January 2025 20:40:34 -0500 (0:00:00.073) 0:04:06.469 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:773 Friday 10 January 2025 20:40:34 -0500 (0:00:00.065) 0:04:06.534 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:793 Friday 10 January 2025 20:40:34 -0500 (0:00:00.066) 0:04:06.601 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting sqlagent enabled] ****** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 10 January 2025 20:40:34 -0500 (0:00:00.128) 0:04:06.729 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003324", "end": "2025-01-10 20:40:34.555508", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:40:34.552184" } STDOUT: enabled = False TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 10 January 2025 20:40:34 -0500 (0:00:00.316) 0:04:07.046 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting sqlagent enabled] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 10 January 2025 20:40:34 -0500 (0:00:00.073) 0:04:07.119 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 Friday 10 January 2025 20:40:34 -0500 (0:00:00.068) 0:04:07.187 ******** ok: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Friday 10 January 2025 20:40:35 -0500 (0:00:00.581) 0:04:07.769 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "powershell is not installed" ] } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:816 Friday 10 January 2025 20:40:35 -0500 (0:00:00.474) 0:04:08.244 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003477", "end": "2025-01-10 20:40:36.080341", "failed_when_result": false, "rc": 1, "start": "2025-01-10 20:40:36.076864" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:822 Friday 10 January 2025 20:40:36 -0500 (0:00:00.325) 0:04:08.569 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:829 Friday 10 January 2025 20:40:36 -0500 (0:00:00.068) 0:04:08.638 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:837 Friday 10 January 2025 20:40:36 -0500 (0:00:00.070) 0:04:08.708 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting control alternatewritethrough] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 10 January 2025 20:40:36 -0500 (0:00:00.118) 0:04:08.826 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003299", "end": "2025-01-10 20:40:36.659351", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:40:36.656052" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 10 January 2025 20:40:36 -0500 (0:00:00.324) 0:04:09.151 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control alternatewritethrough] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 10 January 2025 20:40:36 -0500 (0:00:00.076) 0:04:09.227 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 10 January 2025 20:40:36 -0500 (0:00:00.066) 0:04:09.293 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml for managed-node1 TASK [fedora.linux_system_roles.mssql : Get the setting control writethrough] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 10 January 2025 20:40:37 -0500 (0:00:00.120) 0:04:09.414 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003303", "end": "2025-01-10 20:40:37.245662", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:40:37.242359" } STDOUT: writethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 10 January 2025 20:40:37 -0500 (0:00:00.321) 0:04:09.736 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the setting control writethrough] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 10 January 2025 20:40:37 -0500 (0:00:00.078) 0:04:09.815 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that ad_integration_realm variable is provided] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:853 Friday 10 January 2025 20:40:37 -0500 (0:00:00.067) 0:04:09.882 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:861 Friday 10 January 2025 20:40:37 -0500 (0:00:00.066) 0:04:09.949 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:869 Friday 10 January 2025 20:40:37 -0500 (0:00:00.160) 0:04:10.110 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:876 Friday 10 January 2025 20:40:37 -0500 (0:00:00.065) 0:04:10.175 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print status of credential cache for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:883 Friday 10 January 2025 20:40:37 -0500 (0:00:00.067) 0:04:10.243 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:892 Friday 10 January 2025 20:40:37 -0500 (0:00:00.066) 0:04:10.309 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Friday 10 January 2025 20:40:37 -0500 (0:00:00.067) 0:04:10.377 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : In AD server create user] ************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:914 Friday 10 January 2025 20:40:38 -0500 (0:00:00.065) 0:04:10.443 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure proper configuration on user] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:928 Friday 10 January 2025 20:40:38 -0500 (0:00:00.065) 0:04:10.508 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get SPNs for the principal] ************ task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:938 Friday 10 January 2025 20:40:38 -0500 (0:00:00.067) 0:04:10.575 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Register SPNs to the principal] ******** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Friday 10 January 2025 20:40:38 -0500 (0:00:00.064) 0:04:10.640 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get kvno of the SPN host] ************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:960 Friday 10 January 2025 20:40:38 -0500 (0:00:00.066) 0:04:10.707 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get stats of the keytab file] ********** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:965 Friday 10 January 2025 20:40:38 -0500 (0:00:00.069) 0:04:10.777 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:970 Friday 10 January 2025 20:40:38 -0500 (0:00:00.067) 0:04:10.844 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:976 Friday 10 January 2025 20:40:38 -0500 (0:00:00.063) 0:04:10.908 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Add an entry in the keytab for the principal name and password] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Friday 10 January 2025 20:40:38 -0500 (0:00:00.066) 0:04:10.974 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 10 January 2025 20:40:38 -0500 (0:00:00.065) 0:04:11.040 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch keytab file to host] ************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Friday 10 January 2025 20:40:38 -0500 (0:00:00.064) 0:04:11.104 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1041 Friday 10 January 2025 20:40:38 -0500 (0:00:00.066) 0:04:11.170 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the network.kerberoskeytabfile setting] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 10 January 2025 20:40:38 -0500 (0:00:00.063) 0:04:11.234 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with mssql_ha_replica_type=primary is available] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1065 Friday 10 January 2025 20:40:38 -0500 (0:00:00.065) 0:04:11.299 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the port and enable the high-availability service in firewall tcp port 5022] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1076 Friday 10 January 2025 20:40:38 -0500 (0:00:00.065) 0:04:11.364 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1096 Friday 10 January 2025 20:40:39 -0500 (0:00:00.166) 0:04:11.531 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1149 Friday 10 January 2025 20:40:39 -0500 (0:00:00.067) 0:04:11.598 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1156 Friday 10 January 2025 20:40:39 -0500 (0:00:00.066) 0:04:11.665 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Friday 10 January 2025 20:40:39 -0500 (0:00:00.068) 0:04:11.734 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Friday 10 January 2025 20:40:39 -0500 (0:00:00.068) 0:04:11.803 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key files] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1179 Friday 10 January 2025 20:40:39 -0500 (0:00:00.066) 0:04:11.869 ******** skipping: [managed-node1] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1187 Friday 10 January 2025 20:40:39 -0500 (0:00:00.076) 0:04:11.945 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create login for HA on in SQL Server] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1196 Friday 10 January 2025 20:40:39 -0500 (0:00:00.065) 0:04:12.010 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Fetch certificate files from the primary to the control node] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1204 Friday 10 January 2025 20:40:39 -0500 (0:00:00.062) 0:04:12.073 ******** skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the current primary replica in SQL] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1218 Friday 10 January 2025 20:40:39 -0500 (0:00:00.083) 0:04:12.156 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1224 Friday 10 January 2025 20:40:39 -0500 (0:00:00.063) 0:04:12.220 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1246 Friday 10 January 2025 20:40:39 -0500 (0:00:00.067) 0:04:12.288 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 10 January 2025 20:40:39 -0500 (0:00:00.065) 0:04:12.353 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Friday 10 January 2025 20:40:40 -0500 (0:00:00.063) 0:04:12.417 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Friday 10 January 2025 20:40:40 -0500 (0:00:00.064) 0:04:12.482 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Friday 10 January 2025 20:40:40 -0500 (0:00:00.062) 0:04:12.544 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that hosts with replica_type=primary is available] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1298 Friday 10 January 2025 20:40:40 -0500 (0:00:00.066) 0:04:12.611 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package mssql-server-ha] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1307 Friday 10 January 2025 20:40:40 -0500 (0:00:00.065) 0:04:12.676 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1314 Friday 10 January 2025 20:40:40 -0500 (0:00:00.064) 0:04:12.741 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1321 Friday 10 January 2025 20:40:40 -0500 (0:00:00.069) 0:04:12.811 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate from SQL Server] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1329 Friday 10 January 2025 20:40:40 -0500 (0:00:00.161) 0:04:12.972 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Distribute certificate and private key to managed nodes] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1336 Friday 10 January 2025 20:40:40 -0500 (0:00:00.069) 0:04:13.041 ******** skipping: [managed-node1] => (item={u'key': u'cert', u'value': u'/var/opt/mssql/data/.cer'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "cert", "value": "/var/opt/mssql/data/.cer" }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'key': u'key', u'value': u'/var/opt/mssql/data/.pvk'}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": "key", "value": "/var/opt/mssql/data/.pvk" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on not primary replicas] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1348 Friday 10 January 2025 20:40:40 -0500 (0:00:00.082) 0:04:13.124 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Friday 10 January 2025 20:40:40 -0500 (0:00:00.070) 0:04:13.195 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1364 Friday 10 January 2025 20:40:40 -0500 (0:00:00.066) 0:04:13.261 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Friday 10 January 2025 20:40:40 -0500 (0:00:00.066) 0:04:13.327 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove certificate and private key from the control node] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1378 Friday 10 January 2025 20:40:40 -0500 (0:00:00.063) 0:04:13.391 ******** skipping: [managed-node1] => (item=cert) => { "ansible_loop_var": "item", "changed": false, "item": "cert", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=key) => { "ansible_loop_var": "item", "changed": false, "item": "key", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Save credentials for the SQL Server login] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1391 Friday 10 January 2025 20:40:41 -0500 (0:00:00.077) 0:04:13.469 ******** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1403 Friday 10 January 2025 20:40:41 -0500 (0:00:00.065) 0:04:13.535 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1408 Friday 10 January 2025 20:40:41 -0500 (0:00:00.063) 0:04:13.598 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure listener for the availability group] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1416 Friday 10 January 2025 20:40:41 -0500 (0:00:00.067) 0:04:13.666 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the ansible_managed header in /var/opt/mssql/mssql.conf] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1425 Friday 10 January 2025 20:40:41 -0500 (0:00:00.065) 0:04:13.731 ******** ok: [managed-node1] => { "changed": false } META: ran handlers TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1438 Friday 10 January 2025 20:40:41 -0500 (0:00:00.459) 0:04:14.191 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1445 Friday 10 January 2025 20:40:41 -0500 (0:00:00.064) 0:04:14.255 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify disabled settings] ************************************************ task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:84 Friday 10 January 2025 20:40:41 -0500 (0:00:00.066) 0:04:14.321 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml for managed-node1 TASK [Check if the errorlog file exists and its location] ********************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 10 January 2025 20:40:42 -0500 (0:00:00.668) 0:04:14.990 ******** ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail\nerrorlog=\"$(grep '^errorlogfile' /var/opt/mssql/mssql.conf \\\n2>&1 | sed 's\\errorlogfile : \\\\')\" || :\nif [ -f \"${errorlog}\" ]; then\n echo \"${errorlog}\"\nelif [ -f /var/opt/mssql/log/errorlog ]; then\n echo \"/var/opt/mssql/log/errorlog\"\nelse\n echo \"\"\nfi\n", "delta": "0:00:00.005532", "end": "2025-01-10 20:40:42.820814", "rc": 0, "start": "2025-01-10 20:40:42.815282" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 10 January 2025 20:40:42 -0500 (0:00:00.321) 0:04:15.311 ******** ok: [managed-node1] => { "changed": false, "cmd": "errorlog_edition=\"$(grep -oi 'Standard edition' \\\n/var/opt/mssql/log/errorlog)\"\nif [ -z \"${errorlog_edition}\" ]; then\n echo false\nelse\n echo true\nfi\n", "delta": "0:00:00.005115", "end": "2025-01-10 20:40:43.144251", "rc": 0, "start": "2025-01-10 20:40:43.139136" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 10 January 2025 20:40:43 -0500 (0:00:00.322) 0:04:15.634 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 10 January 2025 20:40:43 -0500 (0:00:00.070) 0:04:15.705 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting ipaddress] ********************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 10 January 2025 20:40:43 -0500 (0:00:00.173) 0:04:15.878 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004825", "end": "2025-01-10 20:40:43.702760", "rc": 0, "start": "2025-01-10 20:40:43.697935" } STDOUT: ipaddress = 127.0.0.1 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 10 January 2025 20:40:43 -0500 (0:00:00.314) 0:04:16.193 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 10 January 2025 20:40:43 -0500 (0:00:00.079) 0:04:16.273 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 127.0.0.1] ***************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 10 January 2025 20:40:43 -0500 (0:00:00.067) 0:04:16.341 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultdatadir] ***************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 10 January 2025 20:40:44 -0500 (0:00:00.067) 0:04:16.408 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004350", "end": "2025-01-10 20:40:44.238946", "rc": 0, "start": "2025-01-10 20:40:44.234596" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 10 January 2025 20:40:44 -0500 (0:00:00.436) 0:04:16.844 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 10 January 2025 20:40:44 -0500 (0:00:00.083) 0:04:16.928 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/data] ******************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 10 January 2025 20:40:44 -0500 (0:00:00.069) 0:04:16.997 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 10 January 2025 20:40:44 -0500 (0:00:00.068) 0:04:17.065 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004353", "end": "2025-01-10 20:40:44.898136", "rc": 0, "start": "2025-01-10 20:40:44.893783" } STDOUT: enabled = False TASK [Verify the setting when it is type str enabled] ************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 10 January 2025 20:40:44 -0500 (0:00:00.323) 0:04:17.389 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool enabled] ************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 10 January 2025 20:40:45 -0500 (0:00:00.065) 0:04:17.455 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 10 January 2025 20:40:45 -0500 (0:00:00.084) 0:04:17.539 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 10 January 2025 20:40:45 -0500 (0:00:00.065) 0:04:17.605 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004341", "end": "2025-01-10 20:40:45.431259", "rc": 0, "start": "2025-01-10 20:40:45.426918" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 10 January 2025 20:40:45 -0500 (0:00:00.316) 0:04:17.921 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 10 January 2025 20:40:45 -0500 (0:00:00.080) 0:04:18.002 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/log] ******************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 10 January 2025 20:40:45 -0500 (0:00:00.067) 0:04:18.069 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 10 January 2025 20:40:45 -0500 (0:00:00.065) 0:04:18.134 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004702", "end": "2025-01-10 20:40:45.961245", "rc": 0, "start": "2025-01-10 20:40:45.956543" } STDOUT: tcpport = 1435 TASK [Verify the setting when it is type str tcpport] ************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 10 January 2025 20:40:46 -0500 (0:00:00.317) 0:04:18.451 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool tcpport] ************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 10 January 2025 20:40:46 -0500 (0:00:00.070) 0:04:18.522 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1435] ********************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 10 January 2025 20:40:46 -0500 (0:00:00.067) 0:04:18.590 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 10 January 2025 20:40:46 -0500 (0:00:00.076) 0:04:18.666 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736559438.7243805, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1736559438.6703804, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 393381, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1736559438.6703804, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "348772683", "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-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 10 January 2025 20:40:46 -0500 (0:00:00.577) 0:04:19.244 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 10 January 2025 20:40:46 -0500 (0:00:00.080) 0:04:19.325 ******** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1736559614.6307666, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1736559614.6397665, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 393382, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1736559614.6397665, "nlink": 2, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "348772684", "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-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 10 January 2025 20:40:47 -0500 (0:00:00.329) 0:04:19.655 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 10 January 2025 20:40:47 -0500 (0:00:00.075) 0:04:19.730 ******** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 10 January 2025 20:40:47 -0500 (0:00:00.112) 0:04:19.842 ******** ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-01-10 20:40:12 EST", "ActiveEnterTimestampMonotonic": "1725313392", "ActiveExitTimestamp": "Fri 2025-01-10 20:39:41 EST", "ActiveExitTimestampMonotonic": "1695183137", "ActiveState": "active", "After": "auditd.service systemd-journald.socket network.target system.slice basic.target -.mount", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-01-10 20:40:12 EST", "AssertTimestampMonotonic": "1725311945", "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-01-10 20:40:12 EST", "ConditionTimestampMonotonic": "1725311943", "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": "25996", "ExecMainStartTimestamp": "Fri 2025-01-10 20:40:12 EST", "ExecMainStartTimestampMonotonic": "1725312830", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2025-01-10 20:40:12 EST] ; stop_time=[n/a] ; pid=25996 ; 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-01-10 20:39:43 EST", "InactiveEnterTimestampMonotonic": "1696393479", "InactiveExitTimestamp": "Fri 2025-01-10 20:40:12 EST", "InactiveExitTimestampMonotonic": "1725313392", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "25996", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice -.mount", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2025-01-10 20:40:12 EST", "WatchdogTimestampMonotonic": "1725313367", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 10 January 2025 20:40:47 -0500 (0:00:00.413) 0:04:20.255 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003817", "end": "2025-01-10 20:40:48.081518", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:40:48.077701" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 10 January 2025 20:40:48 -0500 (0:00:00.314) 0:04:20.569 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003307", "end": "2025-01-10 20:40:48.402199", "failed_when_result": false, "rc": 0, "start": "2025-01-10 20:40:48.398892" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 10 January 2025 20:40:48 -0500 (0:00:00.326) 0:04:20.896 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 10 January 2025 20:40:48 -0500 (0:00:00.080) 0:04:20.977 ******** ok: [managed-node1] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 6573, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 10 January 2025 20:40:49 -0500 (0:00:01.324) 0:04:22.301 ******** ok: [managed-node1] => { "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.022914", "end": "2025-01-10 20:40:50.143811", "rc": 0, "start": "2025-01-10 20:40:50.120897" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Standard Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 10 January 2025 20:40:50 -0500 (0:00:00.338) 0:04:22.640 ******** ok: [managed-node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 10 January 2025 20:40:50 -0500 (0:00:00.069) 0:04:22.709 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml for managed-node1 TASK [Gather package facts] **************************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 Friday 10 January 2025 20:40:50 -0500 (0:00:00.110) 0:04:22.820 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed mssql-server-fts] ********************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:12 Friday 10 January 2025 20:40:51 -0500 (0:00:01.310) 0:04:24.130 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:17 Friday 10 January 2025 20:40:51 -0500 (0:00:00.068) 0:04:24.199 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 10 January 2025 20:40:51 -0500 (0:00:00.090) 0:04:24.290 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml for managed-node1 TASK [Gather package facts] **************************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 Friday 10 January 2025 20:40:52 -0500 (0:00:00.113) 0:04:24.403 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Verify if the package is installed powershell] *************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:12 Friday 10 January 2025 20:40:53 -0500 (0:00:01.310) 0:04:25.714 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed powershell] *********************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:17 Friday 10 January 2025 20:40:53 -0500 (0:00:00.065) 0:04:25.780 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 10 January 2025 20:40:53 -0500 (0:00:00.091) 0:04:25.871 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004344", "end": "2025-01-10 20:40:53.697489", "rc": 0, "start": "2025-01-10 20:40:53.693145" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 10 January 2025 20:40:53 -0500 (0:00:00.313) 0:04:26.185 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 10 January 2025 20:40:53 -0500 (0:00:00.177) 0:04:26.363 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 10 January 2025 20:40:54 -0500 (0:00:00.074) 0:04:26.437 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting alternatewritethrough] ********************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 10 January 2025 20:40:54 -0500 (0:00:00.115) 0:04:26.553 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004998", "end": "2025-01-10 20:40:54.381359", "rc": 0, "start": "2025-01-10 20:40:54.376361" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 10 January 2025 20:40:54 -0500 (0:00:00.315) 0:04:26.869 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool alternatewritethrough] *********** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 10 January 2025 20:40:54 -0500 (0:00:00.071) 0:04:26.941 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 10 January 2025 20:40:54 -0500 (0:00:00.079) 0:04:27.020 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 10 January 2025 20:40:54 -0500 (0:00:00.066) 0:04:27.087 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 TASK [Get the value of the setting writethrough] ******************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 10 January 2025 20:40:54 -0500 (0:00:00.120) 0:04:27.208 ******** ok: [managed-node1] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004692", "end": "2025-01-10 20:40:55.035894", "rc": 0, "start": "2025-01-10 20:40:55.031202" } STDOUT: writethrough = 0 TASK [Verify the setting when it is type str writethrough] ********************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 10 January 2025 20:40:55 -0500 (0:00:00.319) 0:04:27.527 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting when it is type bool writethrough] ******************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 10 January 2025 20:40:55 -0500 (0:00:00.068) 0:04:27.596 ******** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 10 January 2025 20:40:55 -0500 (0:00:00.080) 0:04:27.677 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 10 January 2025 20:40:55 -0500 (0:00:00.064) 0:04:27.741 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 10 January 2025 20:40:55 -0500 (0:00:00.061) 0:04:27.803 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 10 January 2025 20:40:55 -0500 (0:00:00.060) 0:04:27.863 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 10 January 2025 20:40:55 -0500 (0:00:00.068) 0:04:27.932 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 10 January 2025 20:40:55 -0500 (0:00:00.062) 0:04:27.994 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check the ansible_managed header in the configuration file] ************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:101 Friday 10 January 2025 20:40:55 -0500 (0:00:00.176) 0:04:28.171 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/check_header.yml for managed-node1 TASK [Grep the ansible_managed header in /var/opt/mssql/mssql.conf] ************ task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/check_header.yml:4 Friday 10 January 2025 20:40:56 -0500 (0:00:00.590) 0:04:28.761 ******** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003554", "end": "2025-01-10 20:40:56.715692", "rc": 0, "start": "2025-01-10 20:40:56.712138" } 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-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_idempotency_2017.yml:18 Friday 10 January 2025 20:40:56 -0500 (0:00:00.442) 0:04:29.203 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml for managed-node1 TASK [Gather package facts] **************************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Friday 10 January 2025 20:40:56 -0500 (0:00:00.111) 0:04:29.315 ******** ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Purge cluster configuration] ********************************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:6 Friday 10 January 2025 20:40:58 -0500 (0:00:01.313) 0:04:30.628 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:14 Friday 10 January 2025 20:40:58 -0500 (0:00:00.203) 0:04:30.832 ******** ok: [managed-node1] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:18 Friday 10 January 2025 20:40:58 -0500 (0:00:00.071) 0:04:30.903 ******** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 10 January 2025 20:40:58 -0500 (0:00:00.170) 0:04:31.074 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml for managed-node1 TASK [fedora.linux_system_roles.firewall : Ensure ansible_facts used by role] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 10 January 2025 20:40:58 -0500 (0:00:00.122) 0:04:31.197 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Check if system is ostree] ********** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 10 January 2025 20:40:58 -0500 (0:00:00.084) 0:04:31.281 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 10 January 2025 20:40:59 -0500 (0:00:00.307) 0:04:31.588 ******** ok: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 10 January 2025 20:40:59 -0500 (0:00:00.072) 0:04:31.660 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 10 January 2025 20:40:59 -0500 (0:00:00.322) 0:04:31.982 ******** ok: [managed-node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 10 January 2025 20:40:59 -0500 (0:00:00.071) 0:04:32.053 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } lsrpackages: firewalld TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 10 January 2025 20:41:00 -0500 (0:00:00.540) 0:04:32.594 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 10 January 2025 20:41:00 -0500 (0:00:00.066) 0:04:32.661 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Fail if reboot is needed and not set] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 10 January 2025 20:41:00 -0500 (0:00:00.062) 0:04:32.723 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 10 January 2025 20:41:00 -0500 (0:00:00.151) 0:04:32.874 ******** skipping: [managed-node1] => { "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-Z3B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 10 January 2025 20:41:00 -0500 (0:00:00.065) 0:04:32.940 ******** skipping: [managed-node1] => (item=nftables) => { "ansible_loop_var": "item", "changed": false, "item": "nftables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=iptables) => { "ansible_loop_var": "item", "changed": false, "item": "iptables", "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item=ufw) => { "ansible_loop_var": "item", "changed": false, "item": "ufw", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Unmask firewalld service] *********** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 10 January 2025 20:41:00 -0500 (0:00:00.087) 0:04:33.027 ******** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2025-01-10 20:16:33 EST", "ActiveEnterTimestampMonotonic": "306683669", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service polkit.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-01-10 20:16:33 EST", "AssertTimestampMonotonic": "306441234", "Before": "multi-user.target network-pre.target shutdown.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-01-10 20:16:33 EST", "ConditionTimestampMonotonic": "306441233", "Conflicts": "iptables.service ebtables.service shutdown.target ip6tables.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": "9694", "ExecMainStartTimestamp": "Fri 2025-01-10 20:16:33 EST", "ExecMainStartTimestampMonotonic": "306442647", "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-01-10 20:16:33 EST", "InactiveExitTimestampMonotonic": "306442676", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9694", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2025-01-10 20:16:33 EST", "WatchdogTimestampMonotonic": "306683616", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 10 January 2025 20:41:01 -0500 (0:00:00.419) 0:04:33.447 ******** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2025-01-10 20:16:33 EST", "ActiveEnterTimestampMonotonic": "306683669", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service polkit.service basic.target system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2025-01-10 20:16:33 EST", "AssertTimestampMonotonic": "306441234", "Before": "multi-user.target network-pre.target shutdown.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-01-10 20:16:33 EST", "ConditionTimestampMonotonic": "306441233", "Conflicts": "iptables.service ebtables.service shutdown.target ip6tables.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": "9694", "ExecMainStartTimestamp": "Fri 2025-01-10 20:16:33 EST", "ExecMainStartTimestampMonotonic": "306442647", "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-01-10 20:16:33 EST", "InactiveExitTimestampMonotonic": "306442676", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "mixed", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "4096", "LimitNPROC": "14311", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "9694", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Fri 2025-01-10 20:16:33 EST", "WatchdogTimestampMonotonic": "306683616", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 10 January 2025 20:41:01 -0500 (0:00:00.419) 0:04:33.866 ******** ok: [managed-node1] => { "ansible_facts": { "__firewall_previous_replaced": true, "__firewall_python_cmd": "/usr/bin/python", "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Get config files, checksums before and remove] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 10 January 2025 20:41:01 -0500 (0:00:00.071) 0:04:33.938 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.47.249 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 10 January 2025 20:41:01 -0500 (0:00:00.312) 0:04:34.250 ******** ok: [managed-node1] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 10 January 2025 20:41:01 -0500 (0:00:00.073) 0:04:34.323 ******** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Friday 10 January 2025 20:41:01 -0500 (0:00:00.066) 0:04:34.390 ******** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Friday 10 January 2025 20:41:02 -0500 (0:00:00.068) 0:04:34.458 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Gather firewall config if no arguments] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Friday 10 January 2025 20:41:02 -0500 (0:00:00.074) 0:04:34.532 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Friday 10 January 2025 20:41:02 -0500 (0:00:00.063) 0:04:34.596 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Get config files, checksums after] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Friday 10 January 2025 20:41:02 -0500 (0:00:00.067) 0:04:34.664 ******** ok: [managed-node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.47.249 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Friday 10 January 2025 20:41:02 -0500 (0:00:00.315) 0:04:34.980 ******** ok: [managed-node1] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Friday 10 January 2025 20:41:02 -0500 (0:00:00.079) 0:04:35.059 ******** skipping: [managed-node1] => {} TASK [Purge selinux configuration] ********************************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:26 Friday 10 January 2025 20:41:02 -0500 (0:00:00.167) 0:04:35.227 ******** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 10 January 2025 20:41:02 -0500 (0:00:00.162) 0:04:35.389 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml for managed-node1 TASK [fedora.linux_system_roles.selinux : Ensure ansible_facts used by role] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 10 January 2025 20:41:03 -0500 (0:00:00.120) 0:04:35.510 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 10 January 2025 20:41:03 -0500 (0:00:00.086) 0:04:35.596 ******** included: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml for managed-node1 TASK [fedora.linux_system_roles.selinux : Check if system is ostree] *********** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Friday 10 January 2025 20:41:03 -0500 (0:00:00.122) 0:04:35.719 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Friday 10 January 2025 20:41:03 -0500 (0:00:00.317) 0:04:36.036 ******** ok: [managed-node1] => { "ansible_facts": { "__selinux_is_ostree": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Check if transactional-update exists in /sbin] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Friday 10 January 2025 20:41:03 -0500 (0:00:00.071) 0:04:36.108 ******** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Friday 10 January 2025 20:41:04 -0500 (0:00:00.312) 0:04:36.420 ******** ok: [managed-node1] => { "ansible_facts": { "__selinux_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Friday 10 January 2025 20:41:04 -0500 (0:00:00.071) 0:04:36.491 ******** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "libselinux-python-2.5-15.el7.x86_64 providing libselinux-python is already installed", "policycoreutils-python-2.5-34.el7.x86_64 providing policycoreutils-python is already installed" ] } lsrpackages: libselinux-python policycoreutils-python TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Friday 10 January 2025 20:41:04 -0500 (0:00:00.538) 0:04:37.029 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Friday 10 January 2025 20:41:04 -0500 (0:00:00.065) 0:04:37.094 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Friday 10 January 2025 20:41:04 -0500 (0:00:00.162) 0:04:37.257 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Notify user that reboot is needed to apply changes] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Friday 10 January 2025 20:41:04 -0500 (0:00:00.068) 0:04:37.326 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Friday 10 January 2025 20:41:04 -0500 (0:00:00.067) 0:04:37.394 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Fail if reboot is needed and not set] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Friday 10 January 2025 20:41:05 -0500 (0:00:00.066) 0:04:37.460 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Friday 10 January 2025 20:41:05 -0500 (0:00:00.066) 0:04:37.526 ******** ok: [managed-node1] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 10 January 2025 20:41:05 -0500 (0:00:00.544) 0:04:38.071 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if disabled] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Friday 10 January 2025 20:41:05 -0500 (0:00:00.067) 0:04:38.138 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Friday 10 January 2025 20:41:05 -0500 (0:00:00.066) 0:04:38.204 ******** ok: [managed-node1] => { "ansible_facts": { "selinux_reboot_required": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Fail if reboot is required] ********** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Friday 10 January 2025 20:41:05 -0500 (0:00:00.071) 0:04:38.275 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Warn if SELinux is disabled] ********* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Friday 10 January 2025 20:41:05 -0500 (0:00:00.061) 0:04:38.337 ******** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Friday 10 January 2025 20:41:05 -0500 (0:00:00.064) 0:04:38.401 ******** NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for managed-node1 changed: [managed-node1] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:00.361614", "end": "2025-01-10 20:41:06.589341", "rc": 0, "start": "2025-01-10 20:41:06.227727" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Friday 10 January 2025 20:41:06 -0500 (0:00:00.679) 0:04:39.081 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux file context local modifications] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 10 January 2025 20:41:06 -0500 (0:00:00.064) 0:04:39.146 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux port local modifications] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Friday 10 January 2025 20:41:06 -0500 (0:00:00.063) 0:04:39.209 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux login local modifications] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Friday 10 January 2025 20:41:06 -0500 (0:00:00.066) 0:04:39.276 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 10 January 2025 20:41:06 -0500 (0:00:00.063) 0:04:39.339 ******** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Friday 10 January 2025 20:41:07 -0500 (0:00:00.164) 0:04:39.504 ******** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Friday 10 January 2025 20:41:07 -0500 (0:00:00.065) 0:04:39.569 ******** TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Friday 10 January 2025 20:41:07 -0500 (0:00:00.068) 0:04:39.638 ******** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Friday 10 January 2025 20:41:07 -0500 (0:00:00.068) 0:04:39.706 ******** ok: [managed-node1] => { "ansible_facts": { "selinux_checksums": false, "selinux_installed_modules": { "abrt": { "100": { "checksum": "", "enabled": 1 } }, "accountsd": { "100": { "checksum": "", "enabled": 1 } }, "acct": { "100": { "checksum": "", "enabled": 1 } }, "afs": { "100": { "checksum": "", "enabled": 1 } }, "aiccu": { "100": { "checksum": "", "enabled": 1 } }, "aide": { "100": { "checksum": "", "enabled": 1 } }, "ajaxterm": { "100": { "checksum": "", "enabled": 1 } }, "alsa": { "100": { "checksum": "", "enabled": 1 } }, "amanda": { "100": { "checksum": "", "enabled": 1 } }, "amtu": { "100": { "checksum": "", "enabled": 1 } }, "anaconda": { "100": { "checksum": "", "enabled": 1 } }, "antivirus": { "100": { "checksum": "", "enabled": 1 } }, "apache": { "100": { "checksum": "", "enabled": 1 } }, "apcupsd": { "100": { "checksum": "", "enabled": 1 } }, "apm": { "100": { "checksum": "", "enabled": 1 } }, "application": { "100": { "checksum": "", "enabled": 1 } }, "arpwatch": { "100": { "checksum": "", "enabled": 1 } }, "asterisk": { "100": { "checksum": "", "enabled": 1 } }, "auditadm": { "100": { "checksum": "", "enabled": 1 } }, "authconfig": { "100": { "checksum": "", "enabled": 1 } }, "authlogin": { "100": { "checksum": "", "enabled": 1 } }, "automount": { "100": { "checksum": "", "enabled": 1 } }, "avahi": { "100": { "checksum": "", "enabled": 1 } }, "awstats": { "100": { "checksum": "", "enabled": 1 } }, "bacula": { "100": { "checksum": "", "enabled": 1 } }, "base": { "100": { "checksum": "", "enabled": 1 } }, "bcfg2": { "100": { "checksum": "", "enabled": 1 } }, "bind": { "100": { "checksum": "", "enabled": 1 } }, "bitlbee": { "100": { "checksum": "", "enabled": 1 } }, "blkmapd": { "100": { "checksum": "", "enabled": 1 } }, "blueman": { "100": { "checksum": "", "enabled": 1 } }, "bluetooth": { "100": { "checksum": "", "enabled": 1 } }, "boinc": { "100": { "checksum": "", "enabled": 1 } }, "boltd": { "100": { "checksum": "", "enabled": 1 } }, "bootloader": { "100": { "checksum": "", "enabled": 1 } }, "brctl": { "100": { "checksum": "", "enabled": 1 } }, "brltty": { "100": { "checksum": "", "enabled": 1 } }, "bugzilla": { "100": { "checksum": "", "enabled": 1 } }, "bumblebee": { "100": { "checksum": "", "enabled": 1 } }, "cachefilesd": { "100": { "checksum": "", "enabled": 1 } }, "calamaris": { "100": { "checksum": "", "enabled": 1 } }, "callweaver": { "100": { "checksum": "", "enabled": 1 } }, "canna": { "100": { "checksum": "", "enabled": 1 } }, "ccs": { "100": { "checksum": "", "enabled": 1 } }, "cdrecord": { "100": { "checksum": "", "enabled": 1 } }, "certmaster": { "100": { "checksum": "", "enabled": 1 } }, "certmonger": { "100": { "checksum": "", "enabled": 1 } }, "certwatch": { "100": { "checksum": "", "enabled": 1 } }, "cfengine": { "100": { "checksum": "", "enabled": 1 } }, "cgdcbxd": { "100": { "checksum": "", "enabled": 1 } }, "cgroup": { "100": { "checksum": "", "enabled": 1 } }, "chrome": { "100": { "checksum": "", "enabled": 1 } }, "chronyd": { "100": { "checksum": "", "enabled": 1 } }, "cinder": { "100": { "checksum": "", "enabled": 1 } }, "cipe": { "100": { "checksum": "", "enabled": 1 } }, "clock": { "100": { "checksum": "", "enabled": 1 } }, "clogd": { "100": { "checksum": "", "enabled": 1 } }, "cloudform": { "100": { "checksum": "", "enabled": 1 } }, "cmirrord": { "100": { "checksum": "", "enabled": 1 } }, "cobbler": { "100": { "checksum": "", "enabled": 1 } }, "cockpit": { "100": { "checksum": "", "enabled": 1 } }, "collectd": { "100": { "checksum": "", "enabled": 1 } }, "colord": { "100": { "checksum": "", "enabled": 1 } }, "comsat": { "100": { "checksum": "", "enabled": 1 } }, "condor": { "100": { "checksum": "", "enabled": 1 } }, "conman": { "100": { "checksum": "", "enabled": 1 } }, "consolekit": { "100": { "checksum": "", "enabled": 1 } }, "container": { "100": { "checksum": "", "enabled": 1 } }, "couchdb": { "100": { "checksum": "", "enabled": 1 } }, "courier": { "100": { "checksum": "", "enabled": 1 } }, "cpucontrol": { "100": { "checksum": "", "enabled": 1 } }, "cpufreqselector": { "100": { "checksum": "", "enabled": 1 } }, "cpuplug": { "100": { "checksum": "", "enabled": 1 } }, "cron": { "100": { "checksum": "", "enabled": 1 } }, "ctdb": { "100": { "checksum": "", "enabled": 1 } }, "cups": { "100": { "checksum": "", "enabled": 1 } }, "cvs": { "100": { "checksum": "", "enabled": 1 } }, "cyphesis": { "100": { "checksum": "", "enabled": 1 } }, "cyrus": { "100": { "checksum": "", "enabled": 1 } }, "daemontools": { "100": { "checksum": "", "enabled": 1 } }, "dbadm": { "100": { "checksum": "", "enabled": 1 } }, "dbskk": { "100": { "checksum": "", "enabled": 1 } }, "dbus": { "100": { "checksum": "", "enabled": 1 } }, "dcc": { "100": { "checksum": "", "enabled": 1 } }, "ddclient": { "100": { "checksum": "", "enabled": 1 } }, "denyhosts": { "100": { "checksum": "", "enabled": 1 } }, "devicekit": { "100": { "checksum": "", "enabled": 1 } }, "dhcp": { "100": { "checksum": "", "enabled": 1 } }, "dictd": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv": { "100": { "checksum": "", "enabled": 1 } }, "dirsrv-admin": { "100": { "checksum": "", "enabled": 1 } }, "dmesg": { "100": { "checksum": "", "enabled": 1 } }, "dmidecode": { "100": { "checksum": "", "enabled": 1 } }, "dnsmasq": { "100": { "checksum": "", "enabled": 1 } }, "dnssec": { "100": { "checksum": "", "enabled": 1 } }, "dovecot": { "100": { "checksum": "", "enabled": 1 } }, "drbd": { "100": { "checksum": "", "enabled": 1 } }, "dspam": { "100": { "checksum": "", "enabled": 1 } }, "entropyd": { "100": { "checksum": "", "enabled": 1 } }, "exim": { "100": { "checksum": "", "enabled": 1 } }, "fail2ban": { "100": { "checksum": "", "enabled": 1 } }, "fcoe": { "100": { "checksum": "", "enabled": 1 } }, "fetchmail": { "100": { "checksum": "", "enabled": 1 } }, "finger": { "100": { "checksum": "", "enabled": 1 } }, "firewalld": { "100": { "checksum": "", "enabled": 1 } }, "firewallgui": { "100": { "checksum": "", "enabled": 1 } }, "firstboot": { "100": { "checksum": "", "enabled": 1 } }, "fprintd": { "100": { "checksum": "", "enabled": 1 } }, "freeipmi": { "100": { "checksum": "", "enabled": 1 } }, "freqset": { "100": { "checksum": "", "enabled": 1 } }, "fstools": { "100": { "checksum": "", "enabled": 1 } }, "ftp": { "100": { "checksum": "", "enabled": 1 } }, "games": { "100": { "checksum": "", "enabled": 1 } }, "ganesha": { "100": { "checksum": "", "enabled": 1 } }, "gdomap": { "100": { "checksum": "", "enabled": 1 } }, "geoclue": { "100": { "checksum": "", "enabled": 1 } }, "getty": { "100": { "checksum": "", "enabled": 1 } }, "git": { "100": { "checksum": "", "enabled": 1 } }, "gitosis": { "100": { "checksum": "", "enabled": 1 } }, "glance": { "100": { "checksum": "", "enabled": 1 } }, "glusterd": { "100": { "checksum": "", "enabled": 1 } }, "gnome": { "100": { "checksum": "", "enabled": 1 } }, "gpg": { "100": { "checksum": "", "enabled": 1 } }, "gpm": { "100": { "checksum": "", "enabled": 1 } }, "gpsd": { "100": { "checksum": "", "enabled": 1 } }, "gssproxy": { "100": { "checksum": "", "enabled": 1 } }, "guest": { "100": { "checksum": "", "enabled": 1 } }, "hddtemp": { "100": { "checksum": "", "enabled": 1 } }, "hostname": { "100": { "checksum": "", "enabled": 1 } }, "hsqldb": { "100": { "checksum": "", "enabled": 1 } }, "hwloc": { "100": { "checksum": "", "enabled": 1 } }, "hypervkvp": { "100": { "checksum": "", "enabled": 1 } }, "icecast": { "100": { "checksum": "", "enabled": 1 } }, "inetd": { "100": { "checksum": "", "enabled": 1 } }, "init": { "100": { "checksum": "", "enabled": 1 } }, "inn": { "100": { "checksum": "", "enabled": 1 } }, "iodine": { "100": { "checksum": "", "enabled": 1 } }, "iotop": { "100": { "checksum": "", "enabled": 1 } }, "ipa": { "100": { "checksum": "", "enabled": 1 } }, "ipmievd": { "100": { "checksum": "", "enabled": 1 } }, "ipsec": { "100": { "checksum": "", "enabled": 1 } }, "iptables": { "100": { "checksum": "", "enabled": 1 } }, "irc": { "100": { "checksum": "", "enabled": 1 } }, "irqbalance": { "100": { "checksum": "", "enabled": 1 } }, "iscsi": { "100": { "checksum": "", "enabled": 1 } }, "isns": { "100": { "checksum": "", "enabled": 1 } }, "jabber": { "100": { "checksum": "", "enabled": 1 } }, "jetty": { "100": { "checksum": "", "enabled": 1 } }, "jockey": { "100": { "checksum": "", "enabled": 1 } }, "journalctl": { "100": { "checksum": "", "enabled": 1 } }, "kdump": { "100": { "checksum": "", "enabled": 1 } }, "kdumpgui": { "100": { "checksum": "", "enabled": 1 } }, "keepalived": { "100": { "checksum": "", "enabled": 1 } }, "kerberos": { "100": { "checksum": "", "enabled": 1 } }, "keyboardd": { "100": { "checksum": "", "enabled": 1 } }, "keystone": { "100": { "checksum": "", "enabled": 1 } }, "kismet": { "100": { "checksum": "", "enabled": 1 } }, "kmscon": { "100": { "checksum": "", "enabled": 1 } }, "kpatch": { "100": { "checksum": "", "enabled": 1 } }, "ksmtuned": { "100": { "checksum": "", "enabled": 1 } }, "ktalk": { "100": { "checksum": "", "enabled": 1 } }, "l2tp": { "100": { "checksum": "", "enabled": 1 } }, "ldap": { "100": { "checksum": "", "enabled": 1 } }, "libraries": { "100": { "checksum": "", "enabled": 1 } }, "likewise": { "100": { "checksum": "", "enabled": 1 } }, "linuxptp": { "100": { "checksum": "", "enabled": 1 } }, "lircd": { "100": { "checksum": "", "enabled": 1 } }, "livecd": { "100": { "checksum": "", "enabled": 1 } }, "lldpad": { "100": { "checksum": "", "enabled": 1 } }, "loadkeys": { "100": { "checksum": "", "enabled": 1 } }, "locallogin": { "100": { "checksum": "", "enabled": 1 } }, "lockdev": { "100": { "checksum": "", "enabled": 1 } }, "logadm": { "100": { "checksum": "", "enabled": 1 } }, "logging": { "100": { "checksum": "", "enabled": 1 } }, "logrotate": { "100": { "checksum": "", "enabled": 1 } }, "logwatch": { "100": { "checksum": "", "enabled": 1 } }, "lpd": { "100": { "checksum": "", "enabled": 1 } }, "lsm": { "100": { "checksum": "", "enabled": 1 } }, "lttng-tools": { "100": { "checksum": "", "enabled": 1 } }, "lvm": { "100": { "checksum": "", "enabled": 1 } }, "mailman": { "100": { "checksum": "", "enabled": 1 } }, "mailscanner": { "100": { "checksum": "", "enabled": 1 } }, "man2html": { "100": { "checksum": "", "enabled": 1 } }, "mandb": { "100": { "checksum": "", "enabled": 1 } }, "mcelog": { "100": { "checksum": "", "enabled": 1 } }, "mediawiki": { "100": { "checksum": "", "enabled": 1 } }, "memcached": { "100": { "checksum": "", "enabled": 1 } }, "milter": { "100": { "checksum": "", "enabled": 1 } }, "minidlna": { "100": { "checksum": "", "enabled": 1 } }, "minissdpd": { "100": { "checksum": "", "enabled": 1 } }, "mip6d": { "100": { "checksum": "", "enabled": 1 } }, "mirrormanager": { "100": { "checksum": "", "enabled": 1 } }, "miscfiles": { "100": { "checksum": "", "enabled": 1 } }, "mock": { "100": { "checksum": "", "enabled": 1 } }, "modemmanager": { "100": { "checksum": "", "enabled": 1 } }, "modutils": { "100": { "checksum": "", "enabled": 1 } }, "mojomojo": { "100": { "checksum": "", "enabled": 1 } }, "mon_statd": { "100": { "checksum": "", "enabled": 1 } }, "mongodb": { "100": { "checksum": "", "enabled": 1 } }, "motion": { "100": { "checksum": "", "enabled": 1 } }, "mount": { "100": { "checksum": "", "enabled": 1 } }, "mozilla": { "100": { "checksum": "", "enabled": 1 } }, "mpd": { "100": { "checksum": "", "enabled": 1 } }, "mplayer": { "100": { "checksum": "", "enabled": 1 } }, "mrtg": { "100": { "checksum": "", "enabled": 1 } }, "mta": { "100": { "checksum": "", "enabled": 1 } }, "munin": { "100": { "checksum": "", "enabled": 1 } }, "mysql": { "100": { "checksum": "", "enabled": 1 } }, "mythtv": { "100": { "checksum": "", "enabled": 1 } }, "nagios": { "100": { "checksum": "", "enabled": 1 } }, "namespace": { "100": { "checksum": "", "enabled": 1 } }, "ncftool": { "100": { "checksum": "", "enabled": 1 } }, "netlabel": { "100": { "checksum": "", "enabled": 1 } }, "netutils": { "100": { "checksum": "", "enabled": 1 } }, "networkmanager": { "100": { "checksum": "", "enabled": 1 } }, "ninfod": { "100": { "checksum": "", "enabled": 1 } }, "nis": { "100": { "checksum": "", "enabled": 1 } }, "nova": { "100": { "checksum": "", "enabled": 1 } }, "nscd": { "100": { "checksum": "", "enabled": 1 } }, "nsd": { "100": { "checksum": "", "enabled": 1 } }, "nslcd": { "100": { "checksum": "", "enabled": 1 } }, "ntop": { "100": { "checksum": "", "enabled": 1 } }, "ntp": { "100": { "checksum": "", "enabled": 1 } }, "numad": { "100": { "checksum": "", "enabled": 1 } }, "nut": { "100": { "checksum": "", "enabled": 1 } }, "nx": { "100": { "checksum": "", "enabled": 1 } }, "obex": { "100": { "checksum": "", "enabled": 1 } }, "oddjob": { "100": { "checksum": "", "enabled": 1 } }, "openct": { "100": { "checksum": "", "enabled": 1 } }, "opendnssec": { "100": { "checksum": "", "enabled": 1 } }, "openhpid": { "100": { "checksum": "", "enabled": 1 } }, "openshift": { "100": { "checksum": "", "enabled": 1 } }, "openshift-origin": { "100": { "checksum": "", "enabled": 1 } }, "opensm": { "100": { "checksum": "", "enabled": 1 } }, "openvpn": { "100": { "checksum": "", "enabled": 1 } }, "openvswitch": { "100": { "checksum": "", "enabled": 1 } }, "openwsman": { "100": { "checksum": "", "enabled": 1 } }, "oracleasm": { "100": { "checksum": "", "enabled": 1 } }, "osad": { "100": { "checksum": "", "enabled": 1 } }, "pads": { "100": { "checksum": "", "enabled": 1 } }, "passenger": { "100": { "checksum": "", "enabled": 1 } }, "pcmcia": { "100": { "checksum": "", "enabled": 1 } }, "pcp": { "100": { "checksum": "", "enabled": 1 } }, "pcscd": { "100": { "checksum": "", "enabled": 1 } }, "pegasus": { "100": { "checksum": "", "enabled": 1 } }, "permissivedomains": { "100": { "checksum": "", "enabled": 1 } }, "pesign": { "100": { "checksum": "", "enabled": 1 } }, "pingd": { "100": { "checksum": "", "enabled": 1 } }, "piranha": { "100": { "checksum": "", "enabled": 1 } }, "pkcs": { "100": { "checksum": "", "enabled": 1 } }, "pki": { "100": { "checksum": "", "enabled": 1 } }, "plymouthd": { "100": { "checksum": "", "enabled": 1 } }, "podsleuth": { "100": { "checksum": "", "enabled": 1 } }, "policykit": { "100": { "checksum": "", "enabled": 1 } }, "polipo": { "100": { "checksum": "", "enabled": 1 } }, "portmap": { "100": { "checksum": "", "enabled": 1 } }, "portreserve": { "100": { "checksum": "", "enabled": 1 } }, "postfix": { "100": { "checksum": "", "enabled": 1 } }, "postgresql": { "100": { "checksum": "", "enabled": 1 } }, "postgrey": { "100": { "checksum": "", "enabled": 1 } }, "ppp": { "100": { "checksum": "", "enabled": 1 } }, "prelink": { "100": { "checksum": "", "enabled": 1 } }, "prelude": { "100": { "checksum": "", "enabled": 1 } }, "privoxy": { "100": { "checksum": "", "enabled": 1 } }, "procmail": { "100": { "checksum": "", "enabled": 1 } }, "prosody": { "100": { "checksum": "", "enabled": 1 } }, "psad": { "100": { "checksum": "", "enabled": 1 } }, "ptchown": { "100": { "checksum": "", "enabled": 1 } }, "publicfile": { "100": { "checksum": "", "enabled": 1 } }, "pulseaudio": { "100": { "checksum": "", "enabled": 1 } }, "puppet": { "100": { "checksum": "", "enabled": 1 } }, "pwauth": { "100": { "checksum": "", "enabled": 1 } }, "qmail": { "100": { "checksum": "", "enabled": 1 } }, "qpid": { "100": { "checksum": "", "enabled": 1 } }, "quantum": { "100": { "checksum": "", "enabled": 1 } }, "quota": { "100": { "checksum": "", "enabled": 1 } }, "rabbitmq": { "100": { "checksum": "", "enabled": 1 } }, "radius": { "100": { "checksum": "", "enabled": 1 } }, "radvd": { "100": { "checksum": "", "enabled": 1 } }, "raid": { "100": { "checksum": "", "enabled": 1 } }, "rasdaemon": { "100": { "checksum": "", "enabled": 1 } }, "rdisc": { "100": { "checksum": "", "enabled": 1 } }, "readahead": { "100": { "checksum": "", "enabled": 1 } }, "realmd": { "100": { "checksum": "", "enabled": 1 } }, "redis": { "100": { "checksum": "", "enabled": 1 } }, "remotelogin": { "100": { "checksum": "", "enabled": 1 } }, "restraint": { "400": { "checksum": "", "enabled": 1 } }, "rhcs": { "100": { "checksum": "", "enabled": 1 } }, "rhev": { "100": { "checksum": "", "enabled": 1 } }, "rhgb": { "100": { "checksum": "", "enabled": 1 } }, "rhnsd": { "100": { "checksum": "", "enabled": 1 } }, "rhsmcertd": { "100": { "checksum": "", "enabled": 1 } }, "rhts": { "400": { "checksum": "", "enabled": 1 } }, "ricci": { "100": { "checksum": "", "enabled": 1 } }, "rkhunter": { "100": { "checksum": "", "enabled": 1 } }, "rlogin": { "100": { "checksum": "", "enabled": 1 } }, "rngd": { "100": { "checksum": "", "enabled": 1 } }, "roundup": { "100": { "checksum": "", "enabled": 1 } }, "rpc": { "100": { "checksum": "", "enabled": 1 } }, "rpcbind": { "100": { "checksum": "", "enabled": 1 } }, "rpm": { "100": { "checksum": "", "enabled": 1 } }, "rshd": { "100": { "checksum": "", "enabled": 1 } }, "rssh": { "100": { "checksum": "", "enabled": 1 } }, "rsync": { "100": { "checksum": "", "enabled": 1 } }, "rtas": { "100": { "checksum": "", "enabled": 1 } }, "rtkit": { "100": { "checksum": "", "enabled": 1 } }, "rwho": { "100": { "checksum": "", "enabled": 1 } }, "samba": { "100": { "checksum": "", "enabled": 1 } }, "sambagui": { "100": { "checksum": "", "enabled": 1 } }, "sandboxX": { "100": { "checksum": "", "enabled": 1 } }, "sanlock": { "100": { "checksum": "", "enabled": 1 } }, "sasl": { "100": { "checksum": "", "enabled": 1 } }, "sbd": { "100": { "checksum": "", "enabled": 1 } }, "sblim": { "100": { "checksum": "", "enabled": 1 } }, "screen": { "100": { "checksum": "", "enabled": 1 } }, "secadm": { "100": { "checksum": "", "enabled": 1 } }, "sectoolm": { "100": { "checksum": "", "enabled": 1 } }, "selinuxutil": { "100": { "checksum": "", "enabled": 1 } }, "sendmail": { "100": { "checksum": "", "enabled": 1 } }, "sensord": { "100": { "checksum": "", "enabled": 1 } }, "setrans": { "100": { "checksum": "", "enabled": 1 } }, "setroubleshoot": { "100": { "checksum": "", "enabled": 1 } }, "seunshare": { "100": { "checksum": "", "enabled": 1 } }, "sge": { "100": { "checksum": "", "enabled": 1 } }, "shorewall": { "100": { "checksum": "", "enabled": 1 } }, "slocate": { "100": { "checksum": "", "enabled": 1 } }, "slpd": { "100": { "checksum": "", "enabled": 1 } }, "smartmon": { "100": { "checksum": "", "enabled": 1 } }, "smokeping": { "100": { "checksum": "", "enabled": 1 } }, "smoltclient": { "100": { "checksum": "", "enabled": 1 } }, "smsd": { "100": { "checksum": "", "enabled": 1 } }, "snapper": { "100": { "checksum": "", "enabled": 1 } }, "snmp": { "100": { "checksum": "", "enabled": 1 } }, "snort": { "100": { "checksum": "", "enabled": 1 } }, "sosreport": { "100": { "checksum": "", "enabled": 1 } }, "soundserver": { "100": { "checksum": "", "enabled": 1 } }, "spamassassin": { "100": { "checksum": "", "enabled": 1 } }, "speech-dispatcher": { "100": { "checksum": "", "enabled": 1 } }, "squid": { "100": { "checksum": "", "enabled": 1 } }, "ssh": { "100": { "checksum": "", "enabled": 1 } }, "sssd": { "100": { "checksum": "", "enabled": 1 } }, "staff": { "100": { "checksum": "", "enabled": 1 } }, "stapserver": { "100": { "checksum": "", "enabled": 1 } }, "stunnel": { "100": { "checksum": "", "enabled": 1 } }, "su": { "100": { "checksum": "", "enabled": 1 } }, "sudo": { "100": { "checksum": "", "enabled": 1 } }, "svnserve": { "100": { "checksum": "", "enabled": 1 } }, "swift": { "100": { "checksum": "", "enabled": 1 } }, "sysadm": { "100": { "checksum": "", "enabled": 1 } }, "sysadm_secadm": { "100": { "checksum": "", "enabled": 1 } }, "sysnetwork": { "100": { "checksum": "", "enabled": 1 } }, "sysstat": { "100": { "checksum": "", "enabled": 1 } }, "systemd": { "100": { "checksum": "", "enabled": 1 } }, "tangd": { "100": { "checksum": "", "enabled": 1 } }, "targetd": { "100": { "checksum": "", "enabled": 1 } }, "tcpd": { "100": { "checksum": "", "enabled": 1 } }, "tcsd": { "100": { "checksum": "", "enabled": 1 } }, "telepathy": { "100": { "checksum": "", "enabled": 1 } }, "telnet": { "100": { "checksum": "", "enabled": 1 } }, "tftp": { "100": { "checksum": "", "enabled": 1 } }, "tgtd": { "100": { "checksum": "", "enabled": 1 } }, "thin": { "100": { "checksum": "", "enabled": 1 } }, "thumb": { "100": { "checksum": "", "enabled": 1 } }, "tlp": { "100": { "checksum": "", "enabled": 1 } }, "tmpreaper": { "100": { "checksum": "", "enabled": 1 } }, "tomcat": { "100": { "checksum": "", "enabled": 1 } }, "tor": { "100": { "checksum": "", "enabled": 1 } }, "tuned": { "100": { "checksum": "", "enabled": 1 } }, "tvtime": { "100": { "checksum": "", "enabled": 1 } }, "udev": { "100": { "checksum": "", "enabled": 1 } }, "ulogd": { "100": { "checksum": "", "enabled": 1 } }, "uml": { "100": { "checksum": "", "enabled": 1 } }, "unconfined": { "100": { "checksum": "", "enabled": 1 } }, "unconfineduser": { "100": { "checksum": "", "enabled": 1 } }, "unlabelednet": { "100": { "checksum": "", "enabled": 1 } }, "unprivuser": { "100": { "checksum": "", "enabled": 1 } }, "updfstab": { "100": { "checksum": "", "enabled": 1 } }, "usbmodules": { "100": { "checksum": "", "enabled": 1 } }, "usbmuxd": { "100": { "checksum": "", "enabled": 1 } }, "userdomain": { "100": { "checksum": "", "enabled": 1 } }, "userhelper": { "100": { "checksum": "", "enabled": 1 } }, "usermanage": { "100": { "checksum": "", "enabled": 1 } }, "usernetctl": { "100": { "checksum": "", "enabled": 1 } }, "uucp": { "100": { "checksum": "", "enabled": 1 } }, "uuidd": { "100": { "checksum": "", "enabled": 1 } }, "varnishd": { "100": { "checksum": "", "enabled": 1 } }, "vdagent": { "100": { "checksum": "", "enabled": 1 } }, "vhostmd": { "100": { "checksum": "", "enabled": 1 } }, "virt": { "100": { "checksum": "", "enabled": 1 } }, "vlock": { "100": { "checksum": "", "enabled": 1 } }, "vmtools": { "100": { "checksum": "", "enabled": 1 } }, "vmware": { "100": { "checksum": "", "enabled": 1 } }, "vnstatd": { "100": { "checksum": "", "enabled": 1 } }, "vpn": { "100": { "checksum": "", "enabled": 1 } }, "w3c": { "100": { "checksum": "", "enabled": 1 } }, "watchdog": { "100": { "checksum": "", "enabled": 1 } }, "wdmd": { "100": { "checksum": "", "enabled": 1 } }, "webadm": { "100": { "checksum": "", "enabled": 1 } }, "webalizer": { "100": { "checksum": "", "enabled": 1 } }, "wine": { "100": { "checksum": "", "enabled": 1 } }, "wireshark": { "100": { "checksum": "", "enabled": 1 } }, "xen": { "100": { "checksum": "", "enabled": 1 } }, "xguest": { "100": { "checksum": "", "enabled": 1 } }, "xserver": { "100": { "checksum": "", "enabled": 1 } }, "zabbix": { "100": { "checksum": "", "enabled": 1 } }, "zarafa": { "100": { "checksum": "", "enabled": 1 } }, "zebra": { "100": { "checksum": "", "enabled": 1 } }, "zoneminder": { "100": { "checksum": "", "enabled": 1 } }, "zosremote": { "100": { "checksum": "", "enabled": 1 } } }, "selinux_priorities": true }, "changed": false } TASK [fedora.linux_system_roles.selinux : Load SELinux modules] **************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Friday 10 January 2025 20:41:10 -0500 (0:00:02.703) 0:04:42.410 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Friday 10 January 2025 20:41:10 -0500 (0:00:00.088) 0:04:42.498 ******** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Friday 10 January 2025 20:41:10 -0500 (0:00:00.085) 0:04:42.584 ******** TASK [Leave realm] ************************************************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:32 Friday 10 January 2025 20:41:10 -0500 (0:00:00.180) 0:04:42.764 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:40 Friday 10 January 2025 20:41:10 -0500 (0:00:00.114) 0:04:42.878 ******** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove related packages] ************************************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:44 Friday 10 January 2025 20:41:10 -0500 (0:00:00.113) 0:04:42.992 ******** changed: [managed-node1] => { "changed": true, "changes": { "removed": [ "mssql-server", "mssql-tools*", "unixODBC-devel" ] }, "rc": 0, "results": [ "adutil is not installed", "mssql-server-fts is not installed", "mssql-server-ha is not installed", "powershell is not installed", "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3465.1-1 will be erased\n---> Package mssql-tools18.x86_64 0:18.4.1.1-1 will be erased\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n--> Finding unneeded leftover dependencies\n---> Marking msodbcsql18 to be removed - no longer needed by mssql-tools18\n---> Marking unixODBC to be removed - no longer needed by unixODBC-devel\n---> Marking cyrus-sasl to be removed - no longer needed by mssql-server\n---> Marking gdb to be removed - no longer needed by mssql-server\n---> Marking libatomic to be removed - no longer needed by mssql-server\n---> Marking libsss_nss_idmap to be removed - no longer needed by mssql-server\n---> Marking bzip2 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl-gssapi to be removed - no longer needed by mssql-server\n---> Marking libtool-ltdl to be removed - no longer needed by unixODBC\nFound and removing 9 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package msodbcsql18.x86_64 0:18.4.1.1-1 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 14.0.3465.1-1 @packages-microsoft-com-mssql-server-2017\n 1.0 G\n mssql-tools18 x86_64 18.4.1.1-1 @packages-microsoft-com-prod 718 k\n unixODBC-devel x86_64 2.3.11-1.rh @packages-microsoft-com-prod 223 k\nRemoving for dependencies:\n bzip2 x86_64 1.0.6-13.el7 @base 82 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 @updates 141 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 @updates 36 k\n gdb x86_64 7.6.1-120.el7 @base 7.0 M\n libatomic x86_64 4.8.5-44.el7 @base 26 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 @updates 82 k\n libtool-ltdl x86_64 2.4.2-22.el7_3 @base 66 k\n msodbcsql18 x86_64 18.4.1.1-1 @packages-microsoft-com-prod 2.3 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+9 Dependent packages)\n\nInstalled size: 1.0 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-14.0.3465.1-1.x86_64 1/12 \n Erasing : mssql-tools18-18.4.1.1-1.x86_64 2/12 \n Erasing : msodbcsql18-18.4.1.1-1.x86_64 3/12 \nODBC Driver 18 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 4/12 \n Erasing : unixODBC-2.3.11-1.rh.x86_64 5/12 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 6/12 \n Erasing : libatomic-4.8.5-44.el7.x86_64 7/12 \n Erasing : bzip2-1.0.6-13.el7.x86_64 8/12 \n Erasing : gdb-7.6.1-120.el7.x86_64 9/12 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 10/12 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 12/12 \n Verifying : msodbcsql18-18.4.1.1-1.x86_64 1/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 2/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 3/12 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 4/12 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 5/12 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 6/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 7/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 8/12 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 9/12 \n Verifying : mssql-tools18-18.4.1.1-1.x86_64 10/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 11/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 12/12 \n\nRemoved:\n mssql-server.x86_64 0:14.0.3465.1-1 mssql-tools18.x86_64 0:18.4.1.1-1 \n unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Removed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 \n msodbcsql18.x86_64 0:18.4.1.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:57 Friday 10 January 2025 20:41:13 -0500 (0:00:03.131) 0:04:46.124 ******** [WARNING]: Consider using the file module with state=absent rather than running 'rm'. If you need to use command because file is insufficient you can add 'warn: false' to this command task or set 'command_warnings=False' in ansible.cfg to get rid of this message. changed: [managed-node1] => { "changed": true, "cmd": "rm -rfv /var/opt/mssql* /opt/mssql* /var/log/pacemaker/pacemaker.log /etc/yum.repos.d/packages-microsoft-com-* /tmp/*.j2 /tmp/mssql_data /tmp/mssql_log /etc/systemd/system/multi-user.target.wants/mssql-server.service", "delta": "0:00:00.008470", "end": "2025-01-10 20:41:13.954590", "rc": 0, "start": "2025-01-10 20:41:13.946120" } STDOUT: removed ‘/var/opt/mssql/FTData/tsheb.xml’ removed ‘/var/opt/mssql/FTData/tsplk.xml’ removed ‘/var/opt/mssql/FTData/tsptg.xml’ removed ‘/var/opt/mssql/FTData/tsmal.xml’ removed ‘/var/opt/mssql/FTData/tsfra.xml’ removed directory: ‘/var/opt/mssql/FTData/FilterData’ removed ‘/var/opt/mssql/FTData/tsrus.xml’ removed ‘/var/opt/mssql/FTData/tsguj.xml’ removed ‘/var/opt/mssql/FTData/tsnor.xml’ removed ‘/var/opt/mssql/FTData/tsenu.xml’ removed ‘/var/opt/mssql/FTData/tstam.xml’ removed ‘/var/opt/mssql/FTData/tssky.xml’ removed ‘/var/opt/mssql/FTData/tseng.xml’ removed ‘/var/opt/mssql/FTData/tsita.xml’ removed ‘/var/opt/mssql/FTData/tsmar.xml’ removed ‘/var/opt/mssql/FTData/tskan.xml’ removed ‘/var/opt/mssql/FTData/tsglobal.xml’ removed ‘/var/opt/mssql/FTData/tsara.xml’ removed ‘/var/opt/mssql/FTData/tsben.xml’ removed ‘/var/opt/mssql/FTData/tsesn.xml’ removed ‘/var/opt/mssql/FTData/tsnld.xml’ removed ‘/var/opt/mssql/FTData/tsisl.xml’ removed ‘/var/opt/mssql/FTData/tskor.xml’ removed ‘/var/opt/mssql/FTData/tstel.xml’ removed ‘/var/opt/mssql/FTData/tsukr.xml’ removed ‘/var/opt/mssql/FTData/tstrk.xml’ removed ‘/var/opt/mssql/FTData/tshin.xml’ removed ‘/var/opt/mssql/FTData/tscht.xml’ removed ‘/var/opt/mssql/FTData/tstha.xml’ removed ‘/var/opt/mssql/FTData/tslvi.xml’ removed ‘/var/opt/mssql/FTData/tsdan.xml’ removed ‘/var/opt/mssql/FTData/tsvit.xml’ removed ‘/var/opt/mssql/FTData/tsrom.xml’ removed ‘/var/opt/mssql/FTData/tshrv.xml’ removed ‘/var/opt/mssql/FTData/tsmsl.xml’ removed ‘/var/opt/mssql/FTData/tsdeu.xml’ removed ‘/var/opt/mssql/FTData/tschs.xml’ removed ‘/var/opt/mssql/FTData/tsurd.xml’ removed ‘/var/opt/mssql/FTData/tsgrk.xml’ removed ‘/var/opt/mssql/FTData/tssve.xml’ removed ‘/var/opt/mssql/FTData/tsslv.xml’ removed ‘/var/opt/mssql/FTData/tsbgr.xml’ removed ‘/var/opt/mssql/FTData/tssrb.xml’ removed ‘/var/opt/mssql/FTData/tsptb.xml’ removed ‘/var/opt/mssql/FTData/tsjpn.xml’ removed ‘/var/opt/mssql/FTData/tsind.xml’ removed ‘/var/opt/mssql/FTData/tslth.xml’ removed ‘/var/opt/mssql/FTData/tssrl.xml’ removed ‘/var/opt/mssql/FTData/tspan.xml’ removed ‘/var/opt/mssql/FTData/tscat.xml’ removed ‘/var/opt/mssql/FTData/tscze.xml’ removed directory: ‘/var/opt/mssql/FTData’ removed ‘/var/opt/mssql/mssql.conf’ removed ‘/var/opt/mssql/data/model.mdf’ removed ‘/var/opt/mssql/data/templog.ldf’ removed ‘/var/opt/mssql/data/tempdb.mdf’ removed ‘/var/opt/mssql/data/msdbdata.mdf’ removed ‘/var/opt/mssql/data/modellog.ldf’ removed ‘/var/opt/mssql/data/msdblog.ldf’ removed ‘/var/opt/mssql/data/mastlog.ldf’ removed ‘/var/opt/mssql/data/master.mdf’ removed directory: ‘/var/opt/mssql/data’ removed ‘/var/opt/mssql/secrets/machine-key’ removed directory: ‘/var/opt/mssql/secrets’ removed ‘/var/opt/mssql/.system/system/lsa.hiv’ removed directory: ‘/var/opt/mssql/.system/system/Temp’ removed ‘/var/opt/mssql/.system/system/licensing.hiv’ removed ‘/var/opt/mssql/.system/system/lsasetup.log’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/85eb226f-cfbf-4648-839e-10a648b59798’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles/Scm’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles’ removed directory: ‘/var/opt/mssql/.system/system/system32’ removed ‘/var/opt/mssql/.system/system/security.hiv’ removed ‘/var/opt/mssql/.system/system/debug/PASSWD.LOG’ removed directory: ‘/var/opt/mssql/.system/system/debug’ removed directory: ‘/var/opt/mssql/.system/system’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Temp’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/LocalLow’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-2733649738-3520162903-2775733232-500/42e7704ae40b0d75de00736cc66b813a_1fea4ec0-0007-4625-ad9b-60c5512f53d6’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-2733649738-3520162903-2775733232-500’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-2733649738-3520162903-2775733232-500/6bd06649-f54f-46ed-a577-7e68b68afd31’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-2733649738-3520162903-2775733232-500/Preferred’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-2733649738-3520162903-2775733232-500’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/CREDHIST’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Desktop’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Documents’ removed directory: ‘/var/opt/mssql/.system/profiles/Client’ removed directory: ‘/var/opt/mssql/.system/profiles’ removed ‘/var/opt/mssql/.system/instance_id’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft’ removed directory: ‘/var/opt/mssql/.system/programdata’ removed directory: ‘/var/opt/mssql/.system’ removed ‘/var/opt/mssql/log/system_health_0_133810330419450000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133810330414430000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133810331081460000.xel’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133810330375680000.xel’ removed ‘/var/opt/mssql/log/log_4.trc’ removed ‘/var/opt/mssql/log/system_health_0_133810331875930000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133810330381550000.xel’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/errorlog’ removed ‘/var/opt/mssql/log/log_2.trc’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/system_health_0_133810332146230000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133810331078380000.xel’ removed ‘/var/opt/mssql/log/sqlagent.1’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/log_5.trc’ removed ‘/var/opt/mssql/log/sqlagent.2’ removed ‘/var/opt/mssql/log/errorlog.4’ removed ‘/var/opt/mssql/log/errorlog.2’ removed ‘/var/opt/mssql/log/FDLAUNCHERRORLOG’ removed ‘/var/opt/mssql/log/sqlagent.out’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133810332142510000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133810331872950000.xel’ removed ‘/var/opt/mssql/log/log_1.trc’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133810331957240000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133810331960330000.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-2017.repo’ removed ‘/etc/yum.repos.d/packages-microsoft-com-prod.repo’ removed directory: ‘/tmp/mssql_data’ removed directory: ‘/tmp/mssql_log’ removed ‘/etc/systemd/system/multi-user.target.wants/mssql-server.service’ TASK [Stop the mssql-server service] ******************************************* task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:71 Friday 10 January 2025 20:41:14 -0500 (0:00:00.352) 0:04:46.476 ******** ok: [managed-node1] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.359562", "end": "2025-01-10 20:41:14.656052", "rc": 0, "start": "2025-01-10 20:41:14.296490" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Friday 10 January 2025 20:41:14 -0500 (0:00:00.623) 0:04:47.100 ******** changed: [managed-node1] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.846032", "end": "2025-01-10 20:41:16.844151", "rc": 0, "start": "2025-01-10 20:41:14.998119" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=343 changed=38 unreachable=0 failed=0 skipped=578 rescued=0 ignored=1 Friday 10 January 2025 20:41:16 -0500 (0:00:02.194) 0:04:49.294 ******** =============================================================================== fedora.linux_system_roles.mssql : Change the password of sa user -------- 6.28s /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:656 fedora.linux_system_roles.mssql : Change the edition of MSSQL ----------- 6.20s /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:722 Remove related packages ------------------------------------------------- 3.13s /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:44 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 2.70s /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.19s /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped --- 1.71s /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:641 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.62s /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Gather package facts ---------------------------------------------------- 1.53s /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts --- 1.47s /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:800 fedora.linux_system_roles.mssql : Restart the mssql-server service ------ 1.46s /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.46s /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 1.43s /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 1.41s /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:620 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.39s /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648 fedora.linux_system_roles.mssql : Ensure the package powershell --------- 1.38s /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:807 Wait for mssql-server to prepare for client connections ----------------- 1.37s /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.34s /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:162 Gather package facts ---------------------------------------------------- 1.33s /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.33s /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:716 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.32s /tmp/collections-Z3B/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:648