ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_idempotency_2019.yml ******************************************* 1 plays in /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_idempotency_2019.yml PLAY [Ensure that the role is idempotent] ************************************** META: ran handlers TASK [Run tests_idempotency with SQL Server 2019] ****************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_idempotency_2019.yml:15 Tuesday 12 November 2024 09:46:10 -0500 (0:00:00.064) 0:00:00.064 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:2 Tuesday 12 November 2024 09:46:10 -0500 (0:00:00.037) 0:00:00.102 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:2 Tuesday 12 November 2024 09:46:10 -0500 (0:00:00.132) 0:00:00.234 ****** ok: [managed-node1] TASK [Run the role] ************************************************************ task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:15 Tuesday 12 November 2024 09:46:11 -0500 (0:00:00.949) 0:00:01.184 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:22 Tuesday 12 November 2024 09:46:11 -0500 (0:00:00.022) 0:00:01.206 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:5 Tuesday 12 November 2024 09:46:11 -0500 (0:00:00.019) 0:00:01.226 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Tuesday 12 November 2024 09:46:12 -0500 (0:00:00.402) 0:00:01.628 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Tuesday 12 November 2024 09:46:12 -0500 (0:00:00.034) 0:00:01.663 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Tuesday 12 November 2024 09:46:12 -0500 (0:00:00.029) 0:00:01.692 ****** 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-NiM/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-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Tuesday 12 November 2024 09:46:12 -0500 (0:00:00.073) 0:00:01.766 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Tuesday 12 November 2024 09:46:12 -0500 (0:00:00.031) 0:00:01.798 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Tuesday 12 November 2024 09:46:12 -0500 (0:00:00.025) 0:00:01.824 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Tuesday 12 November 2024 09:46:12 -0500 (0:00:00.023) 0:00:01.848 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Tuesday 12 November 2024 09:46:12 -0500 (0:00:00.026) 0:00:01.874 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Tuesday 12 November 2024 09:46:12 -0500 (0:00:00.024) 0:00:01.899 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Tuesday 12 November 2024 09:46:12 -0500 (0:00:00.024) 0:00:01.923 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Tuesday 12 November 2024 09:46:12 -0500 (0:00:00.026) 0:00:01.950 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Tuesday 12 November 2024 09:46:12 -0500 (0:00:00.025) 0:00:01.975 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Tuesday 12 November 2024 09:46:12 -0500 (0:00:00.025) 0:00:02.000 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Tuesday 12 November 2024 09:46:12 -0500 (0:00:00.030) 0:00:02.031 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Tuesday 12 November 2024 09:46:12 -0500 (0:00:00.036) 0:00:02.068 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Tuesday 12 November 2024 09:46:12 -0500 (0:00:00.026) 0:00:02.094 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Tuesday 12 November 2024 09:46:12 -0500 (0:00:00.024) 0:00:02.119 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Tuesday 12 November 2024 09:46:12 -0500 (0:00:00.033) 0:00:02.153 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Tuesday 12 November 2024 09:46:12 -0500 (0:00:00.044) 0:00:02.197 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Tuesday 12 November 2024 09:46:12 -0500 (0:00:00.026) 0:00:02.224 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Tuesday 12 November 2024 09:46:12 -0500 (0:00:00.052) 0:00:02.276 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Tuesday 12 November 2024 09:46:14 -0500 (0:00:01.979) 0:00:04.256 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Tuesday 12 November 2024 09:46:14 -0500 (0:00:00.103) 0:00:04.360 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Tuesday 12 November 2024 09:46:14 -0500 (0:00:00.066) 0:00:04.427 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Tuesday 12 November 2024 09:46:14 -0500 (0:00:00.061) 0:00:04.488 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Tuesday 12 November 2024 09:46:15 -0500 (0:00:00.088) 0:00:04.577 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Tuesday 12 November 2024 09:46:15 -0500 (0:00:00.721) 0:00:05.298 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Tuesday 12 November 2024 09:46:15 -0500 (0:00:00.054) 0:00:05.353 ****** 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 2019] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Tuesday 12 November 2024 09:46:15 -0500 (0:00:00.136) 0:00:05.489 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Tuesday 12 November 2024 09:46:16 -0500 (0:00:00.088) 0:00:05.578 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Tuesday 12 November 2024 09:46:16 -0500 (0:00:00.086) 0:00:05.665 ****** 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 2019] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Tuesday 12 November 2024 09:46:16 -0500 (0:00:00.088) 0:00:05.754 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Tuesday 12 November 2024 09:46:16 -0500 (0:00:00.086) 0:00:05.841 ****** changed: [managed-node1] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Tuesday 12 November 2024 09:46:17 -0500 (0:00:00.920) 0:00:06.761 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Tuesday 12 November 2024 09:46:17 -0500 (0:00:00.204) 0:00:06.965 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Tuesday 12 November 2024 09:46:18 -0500 (0:00:01.373) 0:00:08.339 ****** 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:15.0.4375.4-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: python3 for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: lsof for package: mssql-server-15.0.4375.4-1.x86_64\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be installed\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be installed\n---> Package lsof.x86_64 0:4.87-6.el7 will be installed\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be installed\n--> Processing Dependency: python3-libs(x86-64) = 3.6.8-21.el7_9 for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-setuptools for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-pip for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: libpython3.6m.so.1.0()(64bit) for package: python3-3.6.8-21.el7_9.x86_64\n--> Running transaction check\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be installed\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be installed\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 15.0.4375.4-1 packages-microsoft-com-mssql-server-2019\n 229 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 base 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 updates 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 updates 41 k\n gdb x86_64 7.6.1-120.el7 base 2.4 M\n libatomic x86_64 4.8.5-44.el7 base 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 updates 170 k\n lsof x86_64 4.87-6.el7 base 331 k\n python3 x86_64 3.6.8-21.el7_9 updates 71 k\n python3-libs x86_64 3.6.8-21.el7_9 updates 7.0 M\n python3-pip noarch 9.0.3-8.el7 base 1.6 M\n python3-setuptools noarch 39.2.0-10.el7 base 629 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+11 Dependent packages)\n\nTotal size: 241 M\nInstalled size: 1.2 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python3-libs-3.6.8-21.el7_9.x86_64 1/12 \n Installing : python3-setuptools-39.2.0-10.el7.noarch 2/12 \n Installing : python3-pip-9.0.3-8.el7.noarch 3/12 \n Installing : python3-3.6.8-21.el7_9.x86_64 4/12 \n Installing : libatomic-4.8.5-44.el7.x86_64 5/12 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/12 \n Installing : gdb-7.6.1-120.el7.x86_64 7/12 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 8/12 \n Installing : lsof-4.87-6.el7.x86_64 9/12 \n Installing : bzip2-1.0.6-13.el7.x86_64 10/12 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 11/12 \n Installing : mssql-server-15.0.4375.4-1.x86_64 12/12 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\n Verifying : python3-3.6.8-21.el7_9.x86_64 1/12 \n Verifying : mssql-server-15.0.4375.4-1.x86_64 2/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 3/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 4/12 \n Verifying : lsof-4.87-6.el7.x86_64 5/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 6/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 7/12 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 8/12 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 9/12 \n Verifying : python3-pip-9.0.3-8.el7.noarch 10/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 12/12 \n\nInstalled:\n mssql-server.x86_64 0:15.0.4375.4-1 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n lsof.x86_64 0:4.87-6.el7 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n\nComplete!\n" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Tuesday 12 November 2024 09:47:01 -0500 (0:00:42.614) 0:00:50.953 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Tuesday 12 November 2024 09:47:01 -0500 (0:00:00.056) 0:00:51.010 ****** 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.005855", "end": "2024-11-12 09:47:01.862878", "rc": 0, "start": "2024-11-12 09:47:01.857023" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Tuesday 12 November 2024 09:47:01 -0500 (0:00:00.476) 0:00:51.486 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Tuesday 12 November 2024 09:47:03 -0500 (0:00:01.085) 0:00:52.571 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Tuesday 12 November 2024 09:47:03 -0500 (0:00:00.083) 0:00:52.655 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Tuesday 12 November 2024 09:47:03 -0500 (0:00:00.073) 0:00:52.728 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Tuesday 12 November 2024 09:47:08 -0500 (0:00:05.673) 0:00:58.402 ****** included: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node1 included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Tuesday 12 November 2024 09:47:09 -0500 (0:00:00.137) 0:00:58.539 ****** changed: [managed-node1] => { "changed": true, "gid": 994, "group": "mssql", "mode": "0755", "owner": "mssql", "path": "/tmp/mssql_data", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 4096, "state": "directory", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Append facts for the selinux role] ***** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Tuesday 12 November 2024 09:47:09 -0500 (0:00:00.625) 0:00:59.165 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Tuesday 12 November 2024 09:47:09 -0500 (0:00:00.066) 0:00:59.231 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:47:09 -0500 (0:00:00.113) 0:00:59.345 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004125", "end": "2024-11-12 09:47:10.179383", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:47:10.175258" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:47:10 -0500 (0:00:00.532) 0:00:59.877 ****** 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.199701", "end": "2024-11-12 09:47:11.071927", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:47:10.872226" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:47:11 -0500 (0:00:00.838) 0:01:00.716 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Tuesday 12 November 2024 09:47:11 -0500 (0:00:00.067) 0:01:00.783 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Tuesday 12 November 2024 09:47:11 -0500 (0:00:00.642) 0:01:01.425 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Tuesday 12 November 2024 09:47:11 -0500 (0:00:00.063) 0:01:01.489 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:47:12 -0500 (0:00:00.111) 0:01:01.600 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004528", "end": "2024-11-12 09:47:12.796282", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:47:12.791754" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:47:12 -0500 (0:00:00.906) 0:01:02.507 ****** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/tmp/mssql_log" ], "delta": "0:00:00.119714", "end": "2024-11-12 09:47:13.378594", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:47:13.258880" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:47:13 -0500 (0:00:00.509) 0:01:03.016 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Tuesday 12 November 2024 09:47:13 -0500 (0:00:00.063) 0:01:03.080 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Tuesday 12 November 2024 09:47:13 -0500 (0:00:00.105) 0:01:03.185 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Tuesday 12 November 2024 09:47:13 -0500 (0:00:00.074) 0:01:03.260 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Tuesday 12 November 2024 09:47:14 -0500 (0:00:00.540) 0:01:03.800 ****** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:29:45 EST", "ActiveEnterTimestampMonotonic": "13846861", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "dbus.service system.slice network.target systemd-sysctl.service basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:29:44 EST", "AssertTimestampMonotonic": "13067044", "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": "Tue 2024-11-12 09:29:44 EST", "ConditionTimestampMonotonic": "13067042", "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": "854", "ExecMainStartTimestamp": "Tue 2024-11-12 09:29:44 EST", "ExecMainStartTimestampMonotonic": "13067671", "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": "Tue 2024-11-12 09:29:44 EST", "InactiveExitTimestampMonotonic": "13067706", "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": "854", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "polkit.service basic.target system.slice dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-11-12 09:29:45 EST", "WatchdogTimestampMonotonic": "13846069", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Tuesday 12 November 2024 09:47:14 -0500 (0:00:00.707) 0:01:04.508 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.086103", "end": "2024-11-12 09:47:15.299088", "rc": 0, "start": "2024-11-12 09:47:15.212985" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Tuesday 12 November 2024 09:47:15 -0500 (0:00:00.417) 0:01:04.925 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Tuesday 12 November 2024 09:47:15 -0500 (0:00:00.066) 0:01:04.991 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Tuesday 12 November 2024 09:47:15 -0500 (0:00:00.064) 0:01:05.055 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Tuesday 12 November 2024 09:47:15 -0500 (0:00:00.063) 0:01:05.119 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Tuesday 12 November 2024 09:47:15 -0500 (0:00:00.336) 0:01:05.456 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Tuesday 12 November 2024 09:47:15 -0500 (0:00:00.062) 0:01:05.519 ****** changed: [managed-node1] => { "changed": true, "changes": { "installed": [ "mssql-tools", "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-tools.x86_64 0:17.10.1.1-1 will be installed\n--> Processing Dependency: msodbcsql17 >= 17.3.0.0 for package: mssql-tools-17.10.1.1-1.x86_64\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: unixODBC = 2.3.11 for package: unixODBC-devel-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package msodbcsql17.x86_64 0:17.10.6.1-1 will be installed\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-tools x86_64 17.10.1.1-1 packages-microsoft-com-prod 291 k\n unixODBC-devel x86_64 2.3.11-1.rh packages-microsoft-com-prod 53 k\nInstalling for dependencies:\n libtool-ltdl x86_64 2.4.2-22.el7_3 base 49 k\n msodbcsql17 x86_64 17.10.6.1-1 packages-microsoft-com-prod 911 k\n unixODBC x86_64 2.3.11-1.rh packages-microsoft-com-prod 274 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+3 Dependent packages)\n\nTotal size: 1.5 M\nInstalled size: 3.8 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libtool-ltdl-2.4.2-22.el7_3.x86_64 1/5 \n Installing : unixODBC-2.3.11-1.rh.x86_64 2/5 \n Installing : msodbcsql17-17.10.6.1-1.x86_64 3/5 \nodbcinst: Driver installed. Usage count increased to 1. \n Target directory is /etc\n Installing : mssql-tools-17.10.1.1-1.x86_64 4/5 \n Installing : unixODBC-devel-2.3.11-1.rh.x86_64 5/5 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/5 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 2/5 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 3/5 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 4/5 \n Verifying : msodbcsql17-17.10.6.1-1.x86_64 5/5 \n\nInstalled:\n mssql-tools.x86_64 0:17.10.1.1-1 unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Installed:\n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 msodbcsql17.x86_64 0:17.10.6.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Tuesday 12 November 2024 09:47:21 -0500 (0:00:05.531) 0:01:11.050 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Tuesday 12 November 2024 09:47:21 -0500 (0:00:00.063) 0:01:11.114 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Tuesday 12 November 2024 09:47:21 -0500 (0:00:00.061) 0:01:11.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 : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Tuesday 12 November 2024 09:47:21 -0500 (0:00:00.062) 0:01:11.238 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Tuesday 12 November 2024 09:47:21 -0500 (0:00:00.060) 0:01:11.299 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Tuesday 12 November 2024 09:47:21 -0500 (0:00:00.064) 0:01:11.363 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Tuesday 12 November 2024 09:47:21 -0500 (0:00:00.073) 0:01:11.437 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Tuesday 12 November 2024 09:47:22 -0500 (0:00:00.103) 0:01:11.541 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Tuesday 12 November 2024 09:47:22 -0500 (0:00:00.064) 0:01:11.606 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Tuesday 12 November 2024 09:47:22 -0500 (0:00:00.063) 0:01:11.670 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Tuesday 12 November 2024 09:47:22 -0500 (0:00:00.060) 0:01:11.731 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Tuesday 12 November 2024 09:47:22 -0500 (0:00:00.064) 0:01:11.796 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Tuesday 12 November 2024 09:47:22 -0500 (0:00:00.061) 0:01:11.857 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:47:22 -0500 (0:00:00.117) 0:01:11.975 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003645", "end": "2024-11-12 09:47:22.672478", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:47:22.668833" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:47:22 -0500 (0:00:00.322) 0:01:12.297 ****** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "0.0.0.0" ], "delta": "0:00:00.117251", "end": "2024-11-12 09:47:23.132102", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:47:23.014851" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:47:23 -0500 (0:00:00.471) 0:01:12.769 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Tuesday 12 November 2024 09:47:23 -0500 (0:00:00.062) 0:01:12.831 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Tuesday 12 November 2024 09:47:23 -0500 (0:00:00.064) 0:01:12.896 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Tuesday 12 November 2024 09:47:23 -0500 (0:00:00.062) 0:01:12.958 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:47:23 -0500 (0:00:00.115) 0:01:13.073 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.002879", "end": "2024-11-12 09:47:23.772150", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:47:23.769271" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:47:23 -0500 (0:00:00.325) 0:01:13.398 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.117475", "end": "2024-11-12 09:47:24.229900", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:47:24.112425" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:47:24 -0500 (0:00:00.517) 0:01:13.916 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Tuesday 12 November 2024 09:47:24 -0500 (0:00:00.062) 0:01:13.978 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Tuesday 12 November 2024 09:47:24 -0500 (0:00:00.063) 0:01:14.042 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:47:24 -0500 (0:00:00.123) 0:01:14.166 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003106", "end": "2024-11-12 09:47:24.867433", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:47:24.864327" } STDOUT: enabled = false TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:47:24 -0500 (0:00:00.329) 0:01:14.495 ****** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "True" ], "delta": "0:00:00.115680", "end": "2024-11-12 09:47:25.328463", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:47:25.212783" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:47:25 -0500 (0:00:00.466) 0:01:14.962 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Tuesday 12 November 2024 09:47:25 -0500 (0:00:00.065) 0:01:15.028 ****** changed: [managed-node1] => { "changed": true, "changes": { "installed": [ "mssql-server-fts" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: dl.fedoraproject.org\n * epel-debuginfo: dl.fedoraproject.org\n * epel-source: dl.fedoraproject.org\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server-fts.x86_64 0:15.0.4375.4-1 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server-fts\n x86_64 15.0.4375.4-1 packages-microsoft-com-mssql-server-2019 225 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 225 M\nInstalled size: 554 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : mssql-server-fts-15.0.4375.4-1.x86_64 1/1 \n\n+-------------------------------------------------------------------------------------+\nPlease restart mssql-server to enable Microsoft SQL Server Full Text Search.\n+-------------------------------------------------------------------------------------+\n\n Verifying : mssql-server-fts-15.0.4375.4-1.x86_64 1/1 \n\nInstalled:\n mssql-server-fts.x86_64 0:15.0.4375.4-1 \n\nComplete!\n" ] } lsrpackages: mssql-server-fts TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Tuesday 12 November 2024 09:48:04 -0500 (0:00:39.312) 0:01:54.340 ****** changed: [managed-node1] => { "changed": true, "changes": { "installed": [ "powershell" ] }, "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 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 18 MB/s | 72 MB 00:04 \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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Tuesday 12 November 2024 09:48:22 -0500 (0:00:17.769) 0:02:12.110 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003223", "end": "2024-11-12 09:48:22.848845", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:48:22.845622" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Tuesday 12 November 2024 09:48:22 -0500 (0:00:00.404) 0:02:12.514 ****** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "on" ], "delta": "0:00:00.121695", "end": "2024-11-12 09:48:23.490576", "rc": 0, "start": "2024-11-12 09:48:23.368881" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Tuesday 12 November 2024 09:48:23 -0500 (0:00:00.648) 0:02:13.163 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Tuesday 12 November 2024 09:48:23 -0500 (0:00:00.121) 0:02:13.284 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:48:24 -0500 (0:00:00.273) 0:02:13.558 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003318", "end": "2024-11-12 09:48:24.311204", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:48:24.307886" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:48:24 -0500 (0:00:00.390) 0:02:13.949 ****** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.alternatewritethrough", "0" ], "delta": "0:00:00.118651", "end": "2024-11-12 09:48:24.828221", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:48:24.709570" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:48:24 -0500 (0:00:00.557) 0:02:14.506 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Tuesday 12 November 2024 09:48:25 -0500 (0:00:00.101) 0:02:14.608 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:48:25 -0500 (0:00:00.191) 0:02:14.800 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003313", "end": "2024-11-12 09:48:25.597186", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:48:25.593873" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:48:25 -0500 (0:00:00.436) 0:02:15.237 ****** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "1" ], "delta": "0:00:00.120494", "end": "2024-11-12 09:48:26.093768", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:48:25.973274" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:48:26 -0500 (0:00:00.566) 0:02:15.803 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Tuesday 12 November 2024 09:48:26 -0500 (0:00:00.113) 0:02:15.917 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Tuesday 12 November 2024 09:48:26 -0500 (0:00:00.100) 0:02:16.017 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Tuesday 12 November 2024 09:48:26 -0500 (0:00:00.117) 0:02:16.135 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Tuesday 12 November 2024 09:48:26 -0500 (0:00:00.108) 0:02:16.243 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Tuesday 12 November 2024 09:48:26 -0500 (0:00:00.187) 0:02:16.431 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Tuesday 12 November 2024 09:48:27 -0500 (0:00:00.167) 0:02:16.598 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Tuesday 12 November 2024 09:48:27 -0500 (0:00:00.130) 0:02:16.729 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Tuesday 12 November 2024 09:48:27 -0500 (0:00:00.111) 0:02:16.840 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Tuesday 12 November 2024 09:48:27 -0500 (0:00:00.210) 0:02:17.050 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Tuesday 12 November 2024 09:48:27 -0500 (0:00:00.124) 0:02:17.175 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Tuesday 12 November 2024 09:48:27 -0500 (0:00:00.122) 0:02:17.297 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Tuesday 12 November 2024 09:48:27 -0500 (0:00:00.126) 0:02:17.423 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Tuesday 12 November 2024 09:48:28 -0500 (0:00:00.151) 0:02:17.575 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Tuesday 12 November 2024 09:48:28 -0500 (0:00:00.117) 0:02:17.693 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Tuesday 12 November 2024 09:48:28 -0500 (0:00:00.125) 0:02:17.818 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:895 Tuesday 12 November 2024 09:48:28 -0500 (0:00:00.116) 0:02:17.935 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Tuesday 12 November 2024 09:48:28 -0500 (0:00:00.112) 0:02:18.047 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:910 Tuesday 12 November 2024 09:48:28 -0500 (0:00:00.104) 0:02:18.151 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:927 Tuesday 12 November 2024 09:48:28 -0500 (0:00:00.117) 0:02:18.269 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:932 Tuesday 12 November 2024 09:48:28 -0500 (0:00:00.103) 0:02:18.373 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:937 Tuesday 12 November 2024 09:48:28 -0500 (0:00:00.104) 0:02:18.477 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Tuesday 12 November 2024 09:48:29 -0500 (0:00:00.123) 0:02:18.601 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:969 Tuesday 12 November 2024 09:48:29 -0500 (0:00:00.141) 0:02:18.743 ****** skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:990 Tuesday 12 November 2024 09:48:29 -0500 (0:00:00.093) 0:02:18.837 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:998 Tuesday 12 November 2024 09:48:29 -0500 (0:00:00.097) 0:02:18.934 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1008 Tuesday 12 November 2024 09:48:29 -0500 (0:00:00.096) 0:02:19.031 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1014 Tuesday 12 November 2024 09:48:29 -0500 (0:00:00.177) 0:02:19.208 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1032 Tuesday 12 November 2024 09:48:29 -0500 (0:00:00.207) 0:02:19.416 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1043 Tuesday 12 November 2024 09:48:30 -0500 (0:00:00.212) 0:02:19.628 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1063 Tuesday 12 November 2024 09:48:30 -0500 (0:00:00.176) 0:02:19.805 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1116 Tuesday 12 November 2024 09:48:30 -0500 (0:00:00.219) 0:02:20.025 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1123 Tuesday 12 November 2024 09:48:30 -0500 (0:00:00.145) 0:02:20.170 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Tuesday 12 November 2024 09:48:30 -0500 (0:00:00.102) 0:02:20.273 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1140 Tuesday 12 November 2024 09:48:30 -0500 (0:00:00.106) 0:02:20.379 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Tuesday 12 November 2024 09:48:30 -0500 (0:00:00.127) 0:02:20.507 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Tuesday 12 November 2024 09:48:31 -0500 (0:00:00.121) 0:02:20.628 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Tuesday 12 November 2024 09:48:31 -0500 (0:00:00.104) 0:02:20.733 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1171 Tuesday 12 November 2024 09:48:31 -0500 (0:00:00.107) 0:02:20.841 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Tuesday 12 November 2024 09:48:31 -0500 (0:00:00.207) 0:02:21.048 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1191 Tuesday 12 November 2024 09:48:31 -0500 (0:00:00.181) 0:02:21.229 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Tuesday 12 November 2024 09:48:31 -0500 (0:00:00.129) 0:02:21.359 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Tuesday 12 November 2024 09:48:31 -0500 (0:00:00.111) 0:02:21.470 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1232 Tuesday 12 November 2024 09:48:32 -0500 (0:00:00.105) 0:02:21.576 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1241 Tuesday 12 November 2024 09:48:32 -0500 (0:00:00.112) 0:02:21.689 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Tuesday 12 November 2024 09:48:32 -0500 (0:00:00.103) 0:02:21.792 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Tuesday 12 November 2024 09:48:32 -0500 (0:00:00.107) 0:02:21.900 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Tuesday 12 November 2024 09:48:32 -0500 (0:00:00.142) 0:02:22.042 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1281 Tuesday 12 November 2024 09:48:32 -0500 (0:00:00.110) 0:02:22.153 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Tuesday 12 November 2024 09:48:32 -0500 (0:00:00.100) 0:02:22.253 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1296 Tuesday 12 November 2024 09:48:32 -0500 (0:00:00.072) 0:02:22.326 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Tuesday 12 November 2024 09:48:32 -0500 (0:00:00.067) 0:02:22.394 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1315 Tuesday 12 November 2024 09:48:32 -0500 (0:00:00.082) 0:02:22.476 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1324 Tuesday 12 November 2024 09:48:33 -0500 (0:00:00.169) 0:02:22.646 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1331 Tuesday 12 November 2024 09:48:33 -0500 (0:00:00.099) 0:02:22.745 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1337 Tuesday 12 November 2024 09:48:33 -0500 (0:00:00.104) 0:02:22.850 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1345 Tuesday 12 November 2024 09:48:33 -0500 (0:00:00.106) 0:02:22.956 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Tuesday 12 November 2024 09:48:33 -0500 (0:00:00.107) 0:02:23.064 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Tuesday 12 November 2024 09:48:33 -0500 (0:00:00.115) 0:02:23.179 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1375 Tuesday 12 November 2024 09:48:33 -0500 (0:00:00.112) 0:02:23.292 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1383 Tuesday 12 November 2024 09:48:33 -0500 (0:00:00.099) 0:02:23.391 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1392 Tuesday 12 November 2024 09:48:33 -0500 (0:00:00.107) 0:02:23.499 ****** changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Tuesday 12 November 2024 09:48:34 -0500 (0:00:00.854) 0:02:24.353 ****** changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:47:08 EST", "ActiveEnterTimestampMonotonic": "1056969137", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "-.mount system.slice auditd.service network.target basic.target systemd-journald.socket", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:47:08 EST", "AssertTimestampMonotonic": "1056968487", "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": "Tue 2024-11-12 09:47:08 EST", "ConditionTimestampMonotonic": "1056968485", "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": "1164", "ExecMainStartTimestamp": "Tue 2024-11-12 09:47:08 EST", "ExecMainStartTimestampMonotonic": "1056969078", "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": "Tue 2024-11-12 09:47:08 EST", "InactiveExitTimestampMonotonic": "1056969137", "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": "1164", "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": "Tue 2024-11-12 09:47:08 EST", "WatchdogTimestampMonotonic": "1056969116", "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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1405 Tuesday 12 November 2024 09:48:36 -0500 (0:00:01.321) 0:02:25.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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1412 Tuesday 12 November 2024 09:48:36 -0500 (0:00:00.119) 0:02:25.794 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:20 Tuesday 12 November 2024 09:48:36 -0500 (0:00:00.115) 0:02:25.909 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:3 Tuesday 12 November 2024 09:48:36 -0500 (0:00:00.382) 0:02:26.291 ****** changed: [managed-node1] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:10 Tuesday 12 November 2024 09:48:37 -0500 (0:00:00.799) 0:02:27.092 ****** changed: [managed-node1] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:17 Tuesday 12 November 2024 09:48:37 -0500 (0:00:00.440) 0:02:27.532 ****** ok: [managed-node1] => { "changed": false, "name": null, "status": {} } TASK [Run again with the same settings - should report not changed] ************ task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:23 Tuesday 12 November 2024 09:48:39 -0500 (0:00:01.251) 0:02:28.784 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Tuesday 12 November 2024 09:48:39 -0500 (0:00:00.541) 0:02:29.325 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Tuesday 12 November 2024 09:48:39 -0500 (0:00:00.142) 0:02:29.467 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Tuesday 12 November 2024 09:48:40 -0500 (0:00:00.201) 0:02:29.669 ****** 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-NiM/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-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Tuesday 12 November 2024 09:48:40 -0500 (0:00:00.254) 0:02:29.924 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Tuesday 12 November 2024 09:48:40 -0500 (0:00:00.101) 0:02:30.025 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Tuesday 12 November 2024 09:48:40 -0500 (0:00:00.157) 0:02:30.183 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Tuesday 12 November 2024 09:48:40 -0500 (0:00:00.152) 0:02:30.336 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Tuesday 12 November 2024 09:48:40 -0500 (0:00:00.198) 0:02:30.535 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Tuesday 12 November 2024 09:48:41 -0500 (0:00:00.191) 0:02:30.726 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Tuesday 12 November 2024 09:48:41 -0500 (0:00:00.222) 0:02:30.949 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Tuesday 12 November 2024 09:48:41 -0500 (0:00:00.099) 0:02:31.048 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Tuesday 12 November 2024 09:48:41 -0500 (0:00:00.101) 0:02:31.150 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Tuesday 12 November 2024 09:48:41 -0500 (0:00:00.120) 0:02:31.270 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Tuesday 12 November 2024 09:48:41 -0500 (0:00:00.136) 0:02:31.407 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Tuesday 12 November 2024 09:48:41 -0500 (0:00:00.123) 0:02:31.531 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Tuesday 12 November 2024 09:48:42 -0500 (0:00:00.152) 0:02:31.683 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Tuesday 12 November 2024 09:48:42 -0500 (0:00:00.111) 0:02:31.795 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Tuesday 12 November 2024 09:48:42 -0500 (0:00:00.133) 0:02:31.929 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Tuesday 12 November 2024 09:48:42 -0500 (0:00:00.105) 0:02:32.034 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Tuesday 12 November 2024 09:48:42 -0500 (0:00:00.102) 0:02:32.136 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Tuesday 12 November 2024 09:48:42 -0500 (0:00:00.141) 0:02:32.277 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Tuesday 12 November 2024 09:48:44 -0500 (0:00:01.711) 0:02:33.989 ****** 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" } ok: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed-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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Tuesday 12 November 2024 09:48:44 -0500 (0:00:00.275) 0:02:34.265 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Tuesday 12 November 2024 09:48:44 -0500 (0:00:00.078) 0:02:34.344 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Tuesday 12 November 2024 09:48:44 -0500 (0:00:00.158) 0:02:34.503 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Tuesday 12 November 2024 09:48:45 -0500 (0:00:00.209) 0:02:34.712 ****** ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Tuesday 12 November 2024 09:48:47 -0500 (0:00:02.233) 0:02:36.946 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Tuesday 12 November 2024 09:48:47 -0500 (0:00:00.107) 0:02:37.053 ****** 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 2019] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Tuesday 12 November 2024 09:48:47 -0500 (0:00:00.110) 0:02:37.164 ****** 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 2019] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Tuesday 12 November 2024 09:48:47 -0500 (0:00:00.109) 0:02:37.274 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Tuesday 12 November 2024 09:48:47 -0500 (0:00:00.126) 0:02:37.401 ****** 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 2019] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Tuesday 12 November 2024 09:48:48 -0500 (0:00:00.170) 0:02:37.572 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Tuesday 12 November 2024 09:48:48 -0500 (0:00:00.179) 0:02:37.751 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Tuesday 12 November 2024 09:48:48 -0500 (0:00:00.176) 0:02:37.927 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Tuesday 12 November 2024 09:48:48 -0500 (0:00:00.129) 0:02:38.057 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Tuesday 12 November 2024 09:48:49 -0500 (0:00:00.846) 0:02:38.904 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Tuesday 12 November 2024 09:48:50 -0500 (0:00:01.038) 0:02:39.942 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Tuesday 12 November 2024 09:48:50 -0500 (0:00:00.353) 0:02:40.296 ****** 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.005645", "end": "2024-11-12 09:48:51.296093", "rc": 0, "start": "2024-11-12 09:48:51.290448" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Tuesday 12 November 2024 09:48:51 -0500 (0:00:00.786) 0:02:41.083 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Tuesday 12 November 2024 09:48:54 -0500 (0:00:03.200) 0:02:44.284 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Tuesday 12 November 2024 09:48:54 -0500 (0:00:00.243) 0:02:44.527 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Tuesday 12 November 2024 09:48:55 -0500 (0:00:00.197) 0:02:44.725 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Tuesday 12 November 2024 09:48:55 -0500 (0:00:00.111) 0:02:44.837 ****** included: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node1 included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Tuesday 12 November 2024 09:48:55 -0500 (0:00:00.268) 0:02:45.106 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Tuesday 12 November 2024 09:48:56 -0500 (0:00:00.533) 0:02:45.640 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Tuesday 12 November 2024 09:48:56 -0500 (0:00:00.108) 0:02:45.748 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:48:56 -0500 (0:00:00.184) 0:02:45.933 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004030", "end": "2024-11-12 09:48:56.689222", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:48:56.685192" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:48:56 -0500 (0:00:00.493) 0:02:46.427 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:48:57 -0500 (0:00:00.250) 0:02:46.677 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Tuesday 12 November 2024 09:48:57 -0500 (0:00:00.202) 0:02:46.880 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Tuesday 12 November 2024 09:48:58 -0500 (0:00:00.702) 0:02:47.582 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Tuesday 12 November 2024 09:48:58 -0500 (0:00:00.342) 0:02:47.925 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:48:58 -0500 (0:00:00.313) 0:02:48.238 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003212", "end": "2024-11-12 09:48:59.139907", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:48:59.136695" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:48:59 -0500 (0:00:00.611) 0:02:48.850 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:48:59 -0500 (0:00:00.128) 0:02:48.979 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Tuesday 12 November 2024 09:48:59 -0500 (0:00:00.111) 0:02:49.090 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Tuesday 12 November 2024 09:48:59 -0500 (0:00:00.085) 0:02:49.175 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Tuesday 12 November 2024 09:48:59 -0500 (0:00:00.080) 0:02:49.256 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Tuesday 12 November 2024 09:49:00 -0500 (0:00:00.581) 0:02:49.838 ****** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:29:45 EST", "ActiveEnterTimestampMonotonic": "13846861", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service system.slice systemd-journald.socket basic.target dbus.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:29:44 EST", "AssertTimestampMonotonic": "13067044", "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": "Tue 2024-11-12 09:29:44 EST", "ConditionTimestampMonotonic": "13067042", "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": "854", "ExecMainStartTimestamp": "Tue 2024-11-12 09:29:44 EST", "ExecMainStartTimestampMonotonic": "13067671", "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": "Tue 2024-11-12 09:29:44 EST", "InactiveExitTimestampMonotonic": "13067706", "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": "854", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice dbus.service polkit.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-11-12 09:29:45 EST", "WatchdogTimestampMonotonic": "13846069", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Tuesday 12 November 2024 09:49:00 -0500 (0:00:00.469) 0:02:50.308 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.144558", "end": "2024-11-12 09:49:01.203143", "rc": 0, "start": "2024-11-12 09:49:01.058585" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Tuesday 12 November 2024 09:49:01 -0500 (0:00:00.565) 0:02:50.874 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Tuesday 12 November 2024 09:49:01 -0500 (0:00:00.137) 0:02:51.011 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Tuesday 12 November 2024 09:49:01 -0500 (0:00:00.109) 0:02:51.120 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Tuesday 12 November 2024 09:49:01 -0500 (0:00:00.128) 0:02:51.249 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Tuesday 12 November 2024 09:49:02 -0500 (0:00:00.558) 0:02:51.807 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Tuesday 12 November 2024 09:49:02 -0500 (0:00:00.109) 0:02:51.916 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Tuesday 12 November 2024 09:49:03 -0500 (0:00:00.715) 0:02:52.632 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Tuesday 12 November 2024 09:49:03 -0500 (0:00:00.252) 0:02:52.884 ****** ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:48:35 EST", "ActiveEnterTimestampMonotonic": "1144280687", "ActiveExitTimestamp": "Tue 2024-11-12 09:48:35 EST", "ActiveExitTimestampMonotonic": "1143696944", "ActiveState": "active", "After": "auditd.service system.slice systemd-journald.socket basic.target -.mount network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:48:35 EST", "AssertTimestampMonotonic": "1144279656", "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": "Tue 2024-11-12 09:48:35 EST", "ConditionTimestampMonotonic": "1144279654", "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": "2933", "ExecMainStartTimestamp": "Tue 2024-11-12 09:48:35 EST", "ExecMainStartTimestampMonotonic": "1144280620", "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": "Tue 2024-11-12 09:48:35 EST", "InactiveEnterTimestampMonotonic": "1144278034", "InactiveExitTimestamp": "Tue 2024-11-12 09:48:35 EST", "InactiveExitTimestampMonotonic": "1144280687", "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": "2933", "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": "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": "Tue 2024-11-12 09:48:35 EST", "WatchdogTimestampMonotonic": "1144280664", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Tuesday 12 November 2024 09:49:04 -0500 (0:00:00.659) 0:02:53.544 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003738", "end": "2024-11-12 09:49:04.639097", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:49:04.635359" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Tuesday 12 November 2024 09:49:04 -0500 (0:00:00.861) 0:02:54.405 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003353", "end": "2024-11-12 09:49:05.414968", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:49:05.411615" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Tuesday 12 November 2024 09:49:05 -0500 (0:00:00.677) 0:02:55.083 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Tuesday 12 November 2024 09:49:05 -0500 (0:00:00.176) 0:02:55.260 ****** 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": 11206, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Tuesday 12 November 2024 09:49:07 -0500 (0:00:01.935) 0:02:57.195 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Tuesday 12 November 2024 09:49:08 -0500 (0:00:00.781) 0:02:57.977 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Tuesday 12 November 2024 09:49:08 -0500 (0:00:00.112) 0:02:58.089 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Tuesday 12 November 2024 09:49:10 -0500 (0:00:01.657) 0:02:59.746 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Tuesday 12 November 2024 09:49:10 -0500 (0:00:00.132) 0:02:59.879 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Tuesday 12 November 2024 09:49:10 -0500 (0:00:00.170) 0:03:00.050 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Tuesday 12 November 2024 09:49:10 -0500 (0:00:00.165) 0:03:00.216 ****** 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.005249", "end": "2024-11-12 09:49:11.072946", "rc": 0, "start": "2024-11-12 09:49:11.067697" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Tuesday 12 November 2024 09:49:11 -0500 (0:00:00.525) 0:03:00.741 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Tuesday 12 November 2024 09:49:11 -0500 (0:00:00.072) 0:03:00.814 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Tuesday 12 November 2024 09:49:12 -0500 (0:00:01.543) 0:03:02.357 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Tuesday 12 November 2024 09:49:13 -0500 (0:00:00.214) 0:03:02.571 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:49:13 -0500 (0:00:00.210) 0:03:02.781 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003708", "end": "2024-11-12 09:49:13.605704", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:49:13.601996" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:49:13 -0500 (0:00:00.501) 0:03:03.282 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:49:13 -0500 (0:00:00.123) 0:03:03.406 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Tuesday 12 November 2024 09:49:13 -0500 (0:00:00.104) 0:03:03.510 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Tuesday 12 November 2024 09:49:14 -0500 (0:00:00.102) 0:03:03.612 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Tuesday 12 November 2024 09:49:14 -0500 (0:00:00.108) 0:03:03.721 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:49:14 -0500 (0:00:00.263) 0:03:03.985 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003739", "end": "2024-11-12 09:49:14.956322", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:49:14.952583" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:49:15 -0500 (0:00:00.761) 0:03:04.746 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.121318", "end": "2024-11-12 09:49:15.867457", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:49:15.746139" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:49:16 -0500 (0:00:00.803) 0:03:05.550 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Tuesday 12 November 2024 09:49:16 -0500 (0:00:00.085) 0:03:05.635 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Tuesday 12 November 2024 09:49:16 -0500 (0:00:00.078) 0:03:05.713 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:49:16 -0500 (0:00:00.193) 0:03:05.907 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003316", "end": "2024-11-12 09:49:16.666062", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:49:16.662746" } STDOUT: enabled = True TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:49:16 -0500 (0:00:00.426) 0:03:06.334 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:49:17 -0500 (0:00:00.281) 0:03:06.615 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Tuesday 12 November 2024 09:49:17 -0500 (0:00:00.121) 0:03:06.737 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-fts-15.0.4375.4-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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Tuesday 12 November 2024 09:49:17 -0500 (0:00:00.784) 0:03:07.522 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Tuesday 12 November 2024 09:49:18 -0500 (0:00:00.827) 0:03:08.349 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003368", "end": "2024-11-12 09:49:19.138496", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:49:19.135128" } STDOUT: traceflag0 = 3979 TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Tuesday 12 November 2024 09:49:19 -0500 (0:00:00.485) 0:03:08.835 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Tuesday 12 November 2024 09:49:19 -0500 (0:00:00.189) 0:03:09.024 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Tuesday 12 November 2024 09:49:19 -0500 (0:00:00.210) 0:03:09.235 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:49:19 -0500 (0:00:00.273) 0:03:09.508 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003385", "end": "2024-11-12 09:49:20.313777", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:49:20.310392" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:49:20 -0500 (0:00:00.483) 0:03:09.992 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:49:20 -0500 (0:00:00.092) 0:03:10.084 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Tuesday 12 November 2024 09:49:20 -0500 (0:00:00.089) 0:03:10.174 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:49:20 -0500 (0:00:00.192) 0:03:10.367 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003304", "end": "2024-11-12 09:49:21.179176", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:49:21.175872" } STDOUT: writethrough = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:49:21 -0500 (0:00:00.462) 0:03:10.829 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:49:21 -0500 (0:00:00.222) 0:03:11.051 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Tuesday 12 November 2024 09:49:21 -0500 (0:00:00.127) 0:03:11.179 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Tuesday 12 November 2024 09:49:21 -0500 (0:00:00.163) 0:03:11.342 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Tuesday 12 November 2024 09:49:21 -0500 (0:00:00.110) 0:03:11.452 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Tuesday 12 November 2024 09:49:22 -0500 (0:00:00.120) 0:03:11.572 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Tuesday 12 November 2024 09:49:22 -0500 (0:00:00.092) 0:03:11.665 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Tuesday 12 November 2024 09:49:22 -0500 (0:00:00.068) 0:03:11.734 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Tuesday 12 November 2024 09:49:22 -0500 (0:00:00.088) 0:03:11.822 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Tuesday 12 November 2024 09:49:22 -0500 (0:00:00.109) 0:03:11.931 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Tuesday 12 November 2024 09:49:22 -0500 (0:00:00.082) 0:03:12.014 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Tuesday 12 November 2024 09:49:22 -0500 (0:00:00.081) 0:03:12.095 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Tuesday 12 November 2024 09:49:22 -0500 (0:00:00.067) 0:03:12.163 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Tuesday 12 November 2024 09:49:22 -0500 (0:00:00.071) 0:03:12.234 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Tuesday 12 November 2024 09:49:22 -0500 (0:00:00.068) 0:03:12.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 : Check if AD user exists] *************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Tuesday 12 November 2024 09:49:22 -0500 (0:00:00.068) 0:03:12.371 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Tuesday 12 November 2024 09:49:22 -0500 (0:00:00.067) 0:03:12.439 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:895 Tuesday 12 November 2024 09:49:22 -0500 (0:00:00.065) 0:03:12.504 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Tuesday 12 November 2024 09:49:23 -0500 (0:00:00.066) 0:03:12.571 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:910 Tuesday 12 November 2024 09:49:23 -0500 (0:00:00.064) 0:03:12.636 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:927 Tuesday 12 November 2024 09:49:23 -0500 (0:00:00.069) 0:03:12.705 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:932 Tuesday 12 November 2024 09:49:23 -0500 (0:00:00.092) 0:03:12.798 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:937 Tuesday 12 November 2024 09:49:23 -0500 (0:00:00.246) 0:03:13.044 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Tuesday 12 November 2024 09:49:23 -0500 (0:00:00.126) 0:03:13.171 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:969 Tuesday 12 November 2024 09:49:23 -0500 (0:00:00.114) 0:03:13.286 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:990 Tuesday 12 November 2024 09:49:23 -0500 (0:00:00.115) 0:03:13.401 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:998 Tuesday 12 November 2024 09:49:23 -0500 (0:00:00.115) 0:03:13.517 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1008 Tuesday 12 November 2024 09:49:24 -0500 (0:00:00.134) 0:03:13.652 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1014 Tuesday 12 November 2024 09:49:24 -0500 (0:00:00.111) 0:03:13.763 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1032 Tuesday 12 November 2024 09:49:24 -0500 (0:00:00.125) 0:03:13.889 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1043 Tuesday 12 November 2024 09:49:24 -0500 (0:00:00.128) 0:03:14.017 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1063 Tuesday 12 November 2024 09:49:24 -0500 (0:00:00.109) 0:03:14.127 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1116 Tuesday 12 November 2024 09:49:24 -0500 (0:00:00.109) 0:03:14.237 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1123 Tuesday 12 November 2024 09:49:24 -0500 (0:00:00.075) 0:03:14.313 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Tuesday 12 November 2024 09:49:24 -0500 (0:00:00.065) 0:03:14.379 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1140 Tuesday 12 November 2024 09:49:24 -0500 (0:00:00.068) 0:03:14.447 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Tuesday 12 November 2024 09:49:24 -0500 (0:00:00.068) 0:03:14.516 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Tuesday 12 November 2024 09:49:25 -0500 (0:00:00.091) 0:03:14.607 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Tuesday 12 November 2024 09:49:25 -0500 (0:00:00.132) 0:03:14.739 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1171 Tuesday 12 November 2024 09:49:25 -0500 (0:00:00.147) 0:03:14.887 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Tuesday 12 November 2024 09:49:25 -0500 (0:00:00.148) 0:03:15.035 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1191 Tuesday 12 November 2024 09:49:25 -0500 (0:00:00.105) 0:03:15.140 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Tuesday 12 November 2024 09:49:25 -0500 (0:00:00.070) 0:03:15.211 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Tuesday 12 November 2024 09:49:25 -0500 (0:00:00.177) 0:03:15.388 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1232 Tuesday 12 November 2024 09:49:25 -0500 (0:00:00.111) 0:03:15.500 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1241 Tuesday 12 November 2024 09:49:26 -0500 (0:00:00.089) 0:03:15.589 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Tuesday 12 November 2024 09:49:26 -0500 (0:00:00.090) 0:03:15.680 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Tuesday 12 November 2024 09:49:26 -0500 (0:00:00.074) 0:03:15.754 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Tuesday 12 November 2024 09:49:26 -0500 (0:00:00.071) 0:03:15.825 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1281 Tuesday 12 November 2024 09:49:26 -0500 (0:00:00.075) 0:03:15.901 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Restart the mssql-server service if hadrenabled task was changed] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Tuesday 12 November 2024 09:49:26 -0500 (0:00:00.107) 0:03:16.008 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1296 Tuesday 12 November 2024 09:49:26 -0500 (0:00:00.113) 0:03:16.122 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Tuesday 12 November 2024 09:49:26 -0500 (0:00:00.143) 0:03:16.265 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1315 Tuesday 12 November 2024 09:49:26 -0500 (0:00:00.184) 0:03:16.450 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1324 Tuesday 12 November 2024 09:49:27 -0500 (0:00:00.182) 0:03:16.632 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1331 Tuesday 12 November 2024 09:49:27 -0500 (0:00:00.129) 0:03:16.761 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1337 Tuesday 12 November 2024 09:49:27 -0500 (0:00:00.101) 0:03:16.863 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1345 Tuesday 12 November 2024 09:49:27 -0500 (0:00:00.087) 0:03:16.951 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Tuesday 12 November 2024 09:49:27 -0500 (0:00:00.080) 0:03:17.031 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Tuesday 12 November 2024 09:49:27 -0500 (0:00:00.097) 0:03:17.129 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1375 Tuesday 12 November 2024 09:49:27 -0500 (0:00:00.100) 0:03:17.230 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1383 Tuesday 12 November 2024 09:49:27 -0500 (0:00:00.135) 0:03:17.365 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1392 Tuesday 12 November 2024 09:49:27 -0500 (0:00:00.087) 0:03:17.452 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1405 Tuesday 12 November 2024 09:49:28 -0500 (0:00:00.662) 0:03:18.114 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1412 Tuesday 12 November 2024 09:49:28 -0500 (0:00:00.108) 0:03:18.223 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify settings] ********************************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:38 Tuesday 12 November 2024 09:49:28 -0500 (0:00:00.139) 0:03:18.363 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Tuesday 12 November 2024 09:49:29 -0500 (0:00:00.564) 0:03:18.928 ****** 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.005522", "end": "2024-11-12 09:49:29.688843", "rc": 0, "start": "2024-11-12 09:49:29.683321" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Tuesday 12 November 2024 09:49:29 -0500 (0:00:00.446) 0:03:19.374 ****** 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.005120", "end": "2024-11-12 09:49:30.160527", "rc": 0, "start": "2024-11-12 09:49:30.155407" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Tuesday 12 November 2024 09:49:30 -0500 (0:00:00.418) 0:03:19.792 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Tuesday 12 November 2024 09:49:30 -0500 (0:00:00.076) 0:03:19.869 ****** included: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:49:30 -0500 (0:00:00.186) 0:03:20.055 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004460", "end": "2024-11-12 09:49:30.780525", "rc": 0, "start": "2024-11-12 09:49:30.776065" } STDOUT: ipaddress = 0.0.0.0 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:49:30 -0500 (0:00:00.359) 0:03:20.415 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:49:31 -0500 (0:00:00.216) 0:03:20.631 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 0.0.0.0] ******************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:49:31 -0500 (0:00:00.113) 0:03:20.745 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultdatadir] ***************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:49:31 -0500 (0:00:00.120) 0:03:20.865 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004369", "end": "2024-11-12 09:49:31.640305", "rc": 0, "start": "2024-11-12 09:49:31.635936" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:49:31 -0500 (0:00:00.592) 0:03:21.458 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:49:32 -0500 (0:00:00.218) 0:03:21.676 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_data] *********************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:49:32 -0500 (0:00:00.138) 0:03:21.815 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:49:32 -0500 (0:00:00.125) 0:03:21.941 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004543", "end": "2024-11-12 09:49:32.855038", "rc": 0, "start": "2024-11-12 09:49:32.850495" } STDOUT: enabled = True TASK [Verify the setting when it is type str enabled] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:49:33 -0500 (0:00:00.619) 0:03:22.560 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:49:33 -0500 (0:00:00.137) 0:03:22.697 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:49:33 -0500 (0:00:00.137) 0:03:22.835 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:49:33 -0500 (0:00:00.168) 0:03:23.003 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004462", "end": "2024-11-12 09:49:33.835166", "rc": 0, "start": "2024-11-12 09:49:33.830704" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:49:34 -0500 (0:00:00.652) 0:03:23.655 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:49:34 -0500 (0:00:00.244) 0:03:23.900 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_log] ************************************ task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:49:34 -0500 (0:00:00.209) 0:03:24.110 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:49:34 -0500 (0:00:00.188) 0:03:24.299 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004366", "end": "2024-11-12 09:49:35.276051", "rc": 0, "start": "2024-11-12 09:49:35.271685" } TASK [Verify the setting when it is type str tcpport] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:49:35 -0500 (0:00:00.693) 0:03:24.993 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:49:35 -0500 (0:00:00.151) 0:03:25.144 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1433] ********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:49:35 -0500 (0:00:00.115) 0:03:25.260 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Tuesday 12 November 2024 09:49:35 -0500 (0:00:00.236) 0:03:25.497 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Tuesday 12 November 2024 09:49:36 -0500 (0:00:00.106) 0:03:25.604 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Tuesday 12 November 2024 09:49:36 -0500 (0:00:00.130) 0:03:25.735 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Tuesday 12 November 2024 09:49:36 -0500 (0:00:00.135) 0:03:25.870 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Tuesday 12 November 2024 09:49:36 -0500 (0:00:00.135) 0:03:26.006 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Tuesday 12 November 2024 09:49:36 -0500 (0:00:00.327) 0:03:26.333 ****** ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:48:35 EST", "ActiveEnterTimestampMonotonic": "1144280687", "ActiveExitTimestamp": "Tue 2024-11-12 09:48:35 EST", "ActiveExitTimestampMonotonic": "1143696944", "ActiveState": "active", "After": "auditd.service system.slice systemd-journald.socket basic.target -.mount network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:48:35 EST", "AssertTimestampMonotonic": "1144279656", "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": "Tue 2024-11-12 09:48:35 EST", "ConditionTimestampMonotonic": "1144279654", "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": "2933", "ExecMainStartTimestamp": "Tue 2024-11-12 09:48:35 EST", "ExecMainStartTimestampMonotonic": "1144280620", "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": "Tue 2024-11-12 09:48:35 EST", "InactiveEnterTimestampMonotonic": "1144278034", "InactiveExitTimestamp": "Tue 2024-11-12 09:48:35 EST", "InactiveExitTimestampMonotonic": "1144280687", "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": "2933", "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": "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": "Tue 2024-11-12 09:48:35 EST", "WatchdogTimestampMonotonic": "1144280664", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Tuesday 12 November 2024 09:49:37 -0500 (0:00:00.790) 0:03:27.123 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003403", "end": "2024-11-12 09:49:37.959462", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:49:37.956059" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Tuesday 12 November 2024 09:49:38 -0500 (0:00:00.521) 0:03:27.645 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003490", "end": "2024-11-12 09:49:38.614422", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:49:38.610932" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Tuesday 12 November 2024 09:49:38 -0500 (0:00:00.722) 0:03:28.367 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Tuesday 12 November 2024 09:49:39 -0500 (0:00:00.171) 0:03:28.539 ****** 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": 11206, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Tuesday 12 November 2024 09:49:40 -0500 (0:00:01.568) 0:03:30.108 ****** ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "0.0.0.0", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.022131", "end": "2024-11-12 09:49:40.971115", "rc": 0, "start": "2024-11-12 09:49:40.948984" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU27) (KB5037331) - 15.0.4375.4 (X64) Jun 10 2024 18:00:07 Copyright (C) 2019 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Tuesday 12 November 2024 09:49:41 -0500 (0:00:00.607) 0:03:30.715 ****** ok: [managed-node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Tuesday 12 November 2024 09:49:41 -0500 (0:00:00.135) 0:03:30.851 ****** included: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml for managed-node1 TASK [Gather package facts] **************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 Tuesday 12 November 2024 09:49:41 -0500 (0:00:00.338) 0:03:31.189 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:12 Tuesday 12 November 2024 09:49:43 -0500 (0:00:01.651) 0:03:32.840 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:17 Tuesday 12 November 2024 09:49:43 -0500 (0:00:00.177) 0:03:33.018 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Tuesday 12 November 2024 09:49:43 -0500 (0:00:00.222) 0:03:33.241 ****** included: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml for managed-node1 TASK [Gather package facts] **************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 Tuesday 12 November 2024 09:49:44 -0500 (0:00:00.384) 0:03:33.625 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:12 Tuesday 12 November 2024 09:49:45 -0500 (0:00:01.630) 0:03:35.255 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed powershell] *********************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:17 Tuesday 12 November 2024 09:49:45 -0500 (0:00:00.183) 0:03:35.438 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Tuesday 12 November 2024 09:49:46 -0500 (0:00:00.199) 0:03:35.637 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004536", "end": "2024-11-12 09:49:46.754314", "rc": 0, "start": "2024-11-12 09:49:46.749778" } STDOUT: traceflag0 = 3979 TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Tuesday 12 November 2024 09:49:47 -0500 (0:00:01.191) 0:03:36.828 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Tuesday 12 November 2024 09:49:47 -0500 (0:00:00.261) 0:03:37.090 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Tuesday 12 November 2024 09:49:47 -0500 (0:00:00.135) 0:03:37.226 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:49:47 -0500 (0:00:00.219) 0:03:37.445 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004518", "end": "2024-11-12 09:49:48.464114", "rc": 0, "start": "2024-11-12 09:49:48.459596" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:49:48 -0500 (0:00:00.860) 0:03:38.306 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:49:48 -0500 (0:00:00.196) 0:03:38.502 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:49:49 -0500 (0:00:00.252) 0:03:38.755 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Tuesday 12 November 2024 09:49:49 -0500 (0:00:00.106) 0:03:38.862 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:49:49 -0500 (0:00:00.263) 0:03:39.125 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004550", "end": "2024-11-12 09:49:49.923025", "rc": 0, "start": "2024-11-12 09:49:49.918475" } STDOUT: writethrough = 1 TASK [Verify the setting when it is type str writethrough] ********************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:49:50 -0500 (0:00:00.541) 0:03:39.667 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:49:50 -0500 (0:00:00.166) 0:03:39.833 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:49:50 -0500 (0:00:00.141) 0:03:39.974 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Tuesday 12 November 2024 09:49:50 -0500 (0:00:00.160) 0:03:40.135 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Tuesday 12 November 2024 09:49:50 -0500 (0:00:00.137) 0:03:40.273 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Tuesday 12 November 2024 09:49:50 -0500 (0:00:00.176) 0:03:40.449 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Tuesday 12 November 2024 09:49:51 -0500 (0:00:00.131) 0:03:40.581 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Tuesday 12 November 2024 09:49:51 -0500 (0:00:00.145) 0:03:40.727 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run to edit settings] **************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:52 Tuesday 12 November 2024 09:49:51 -0500 (0:00:00.234) 0:03:40.961 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Tuesday 12 November 2024 09:49:52 -0500 (0:00:01.395) 0:03:42.357 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Tuesday 12 November 2024 09:49:52 -0500 (0:00:00.116) 0:03:42.474 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Tuesday 12 November 2024 09:49:53 -0500 (0:00:00.088) 0:03:42.563 ****** 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-NiM/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-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Tuesday 12 November 2024 09:49:53 -0500 (0:00:00.139) 0:03:42.702 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Tuesday 12 November 2024 09:49:53 -0500 (0:00:00.126) 0:03:42.828 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Tuesday 12 November 2024 09:49:53 -0500 (0:00:00.102) 0:03:42.931 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Tuesday 12 November 2024 09:49:53 -0500 (0:00:00.316) 0:03:43.248 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Tuesday 12 November 2024 09:49:53 -0500 (0:00:00.175) 0:03:43.423 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Tuesday 12 November 2024 09:49:54 -0500 (0:00:00.131) 0:03:43.555 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Tuesday 12 November 2024 09:49:54 -0500 (0:00:00.126) 0:03:43.681 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Tuesday 12 November 2024 09:49:54 -0500 (0:00:00.123) 0:03:43.805 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Tuesday 12 November 2024 09:49:54 -0500 (0:00:00.146) 0:03:43.951 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Tuesday 12 November 2024 09:49:54 -0500 (0:00:00.126) 0:03:44.078 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Tuesday 12 November 2024 09:49:54 -0500 (0:00:00.189) 0:03:44.267 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Tuesday 12 November 2024 09:49:54 -0500 (0:00:00.114) 0:03:44.382 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Tuesday 12 November 2024 09:49:54 -0500 (0:00:00.134) 0:03:44.516 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Tuesday 12 November 2024 09:49:55 -0500 (0:00:00.153) 0:03:44.670 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Tuesday 12 November 2024 09:49:55 -0500 (0:00:00.155) 0:03:44.825 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Tuesday 12 November 2024 09:49:55 -0500 (0:00:00.203) 0:03:45.029 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Tuesday 12 November 2024 09:49:55 -0500 (0:00:00.195) 0:03:45.225 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Tuesday 12 November 2024 09:49:55 -0500 (0:00:00.131) 0:03:45.356 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Tuesday 12 November 2024 09:49:57 -0500 (0:00:02.002) 0:03:47.359 ****** 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" } ok: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed-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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Tuesday 12 November 2024 09:49:58 -0500 (0:00:00.307) 0:03:47.667 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Tuesday 12 November 2024 09:49:58 -0500 (0:00:00.133) 0:03:47.800 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Tuesday 12 November 2024 09:49:58 -0500 (0:00:00.170) 0:03:47.971 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Tuesday 12 November 2024 09:49:58 -0500 (0:00:00.210) 0:03:48.181 ****** ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Tuesday 12 November 2024 09:49:59 -0500 (0:00:00.834) 0:03:49.015 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Tuesday 12 November 2024 09:49:59 -0500 (0:00:00.114) 0:03:49.130 ****** 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 2019] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Tuesday 12 November 2024 09:49:59 -0500 (0:00:00.115) 0:03:49.246 ****** 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 2019] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Tuesday 12 November 2024 09:49:59 -0500 (0:00:00.110) 0:03:49.357 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Tuesday 12 November 2024 09:49:59 -0500 (0:00:00.115) 0:03:49.473 ****** 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 2019] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Tuesday 12 November 2024 09:50:00 -0500 (0:00:00.113) 0:03:49.587 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Tuesday 12 November 2024 09:50:00 -0500 (0:00:00.113) 0:03:49.700 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Tuesday 12 November 2024 09:50:00 -0500 (0:00:00.155) 0:03:49.856 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Tuesday 12 November 2024 09:50:00 -0500 (0:00:00.108) 0:03:49.964 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Tuesday 12 November 2024 09:50:01 -0500 (0:00:00.886) 0:03:50.851 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Tuesday 12 November 2024 09:50:02 -0500 (0:00:01.072) 0:03:51.923 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Tuesday 12 November 2024 09:50:02 -0500 (0:00:00.108) 0:03:52.031 ****** 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.005885", "end": "2024-11-12 09:50:02.882476", "rc": 0, "start": "2024-11-12 09:50:02.876591" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Tuesday 12 November 2024 09:50:03 -0500 (0:00:00.546) 0:03:52.578 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Tuesday 12 November 2024 09:50:04 -0500 (0:00:01.198) 0:03:53.777 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Tuesday 12 November 2024 09:50:04 -0500 (0:00:00.256) 0:03:54.033 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Tuesday 12 November 2024 09:50:04 -0500 (0:00:00.106) 0:03:54.140 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Tuesday 12 November 2024 09:50:04 -0500 (0:00:00.238) 0:03:54.379 ****** included: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node1 included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Tuesday 12 November 2024 09:50:05 -0500 (0:00:00.356) 0:03:54.735 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Tuesday 12 November 2024 09:50:05 -0500 (0:00:00.510) 0:03:55.245 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Tuesday 12 November 2024 09:50:05 -0500 (0:00:00.131) 0:03:55.377 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:50:06 -0500 (0:00:00.202) 0:03:55.579 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003341", "end": "2024-11-12 09:50:06.576176", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:50:06.572835" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:50:06 -0500 (0:00:00.698) 0:03:56.278 ****** 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.123473", "end": "2024-11-12 09:50:07.390451", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:50:07.266978" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:50:07 -0500 (0:00:00.855) 0:03:57.134 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Tuesday 12 November 2024 09:50:07 -0500 (0:00:00.118) 0:03:57.253 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Tuesday 12 November 2024 09:50:08 -0500 (0:00:00.672) 0:03:57.925 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Tuesday 12 November 2024 09:50:08 -0500 (0:00:00.172) 0:03:58.098 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:50:08 -0500 (0:00:00.195) 0:03:58.293 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003313", "end": "2024-11-12 09:50:09.039635", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:50:09.036322" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:50:09 -0500 (0:00:00.490) 0:03:58.784 ****** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/var/opt/mssql/log" ], "delta": "0:00:00.122879", "end": "2024-11-12 09:50:09.988048", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:50:09.865169" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:50:10 -0500 (0:00:00.995) 0:03:59.780 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Tuesday 12 November 2024 09:50:10 -0500 (0:00:00.156) 0:03:59.936 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Tuesday 12 November 2024 09:50:10 -0500 (0:00:00.112) 0:04:00.048 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Tuesday 12 November 2024 09:50:10 -0500 (0:00:00.115) 0:04:00.164 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Tuesday 12 November 2024 09:50:11 -0500 (0:00:00.703) 0:04:00.867 ****** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:29:45 EST", "ActiveEnterTimestampMonotonic": "13846861", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service system.slice systemd-journald.socket basic.target dbus.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:29:44 EST", "AssertTimestampMonotonic": "13067044", "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": "Tue 2024-11-12 09:29:44 EST", "ConditionTimestampMonotonic": "13067042", "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": "854", "ExecMainStartTimestamp": "Tue 2024-11-12 09:29:44 EST", "ExecMainStartTimestampMonotonic": "13067671", "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": "Tue 2024-11-12 09:29:44 EST", "InactiveExitTimestampMonotonic": "13067706", "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": "854", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice dbus.service polkit.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-11-12 09:29:45 EST", "WatchdogTimestampMonotonic": "13846069", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Tuesday 12 November 2024 09:50:12 -0500 (0:00:00.998) 0:04:01.866 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.088772", "end": "2024-11-12 09:50:12.941252", "rc": 0, "start": "2024-11-12 09:50:12.852480" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Tuesday 12 November 2024 09:50:13 -0500 (0:00:00.756) 0:04:02.622 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Tuesday 12 November 2024 09:50:13 -0500 (0:00:00.098) 0:04:02.721 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Tuesday 12 November 2024 09:50:13 -0500 (0:00:00.108) 0:04:02.830 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Tuesday 12 November 2024 09:50:13 -0500 (0:00:00.147) 0:04:02.978 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Tuesday 12 November 2024 09:50:13 -0500 (0:00:00.515) 0:04:03.493 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Tuesday 12 November 2024 09:50:14 -0500 (0:00:00.103) 0:04:03.597 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Tuesday 12 November 2024 09:50:14 -0500 (0:00:00.756) 0:04:04.353 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Tuesday 12 November 2024 09:50:15 -0500 (0:00:00.434) 0:04:04.787 ****** ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:48:35 EST", "ActiveEnterTimestampMonotonic": "1144280687", "ActiveExitTimestamp": "Tue 2024-11-12 09:48:35 EST", "ActiveExitTimestampMonotonic": "1143696944", "ActiveState": "active", "After": "auditd.service system.slice systemd-journald.socket basic.target -.mount network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:48:35 EST", "AssertTimestampMonotonic": "1144279656", "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": "Tue 2024-11-12 09:48:35 EST", "ConditionTimestampMonotonic": "1144279654", "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": "2933", "ExecMainStartTimestamp": "Tue 2024-11-12 09:48:35 EST", "ExecMainStartTimestampMonotonic": "1144280620", "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": "Tue 2024-11-12 09:48:35 EST", "InactiveEnterTimestampMonotonic": "1144278034", "InactiveExitTimestamp": "Tue 2024-11-12 09:48:35 EST", "InactiveExitTimestampMonotonic": "1144280687", "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": "2933", "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": "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": "Tue 2024-11-12 09:48:35 EST", "WatchdogTimestampMonotonic": "1144280664", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Tuesday 12 November 2024 09:50:15 -0500 (0:00:00.689) 0:04:05.477 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003274", "end": "2024-11-12 09:50:16.265849", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:50:16.262575" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Tuesday 12 November 2024 09:50:16 -0500 (0:00:00.490) 0:04:05.968 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003351", "end": "2024-11-12 09:50:16.764540", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:50:16.761189" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Tuesday 12 November 2024 09:50:16 -0500 (0:00:00.499) 0:04:06.467 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Tuesday 12 November 2024 09:50:17 -0500 (0:00:00.260) 0:04:06.728 ****** 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": 11206, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Tuesday 12 November 2024 09:50:18 -0500 (0:00:01.669) 0:04:08.398 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Tuesday 12 November 2024 09:50:19 -0500 (0:00:00.620) 0:04:09.018 ****** changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:48:35 EST", "ActiveEnterTimestampMonotonic": "1144280687", "ActiveExitTimestamp": "Tue 2024-11-12 09:48:35 EST", "ActiveExitTimestampMonotonic": "1143696944", "ActiveState": "active", "After": "auditd.service system.slice systemd-journald.socket basic.target -.mount network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:48:35 EST", "AssertTimestampMonotonic": "1144279656", "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": "Tue 2024-11-12 09:48:35 EST", "ConditionTimestampMonotonic": "1144279654", "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": "2933", "ExecMainStartTimestamp": "Tue 2024-11-12 09:48:35 EST", "ExecMainStartTimestampMonotonic": "1144280620", "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": "Tue 2024-11-12 09:48:35 EST", "InactiveEnterTimestampMonotonic": "1144278034", "InactiveExitTimestamp": "Tue 2024-11-12 09:48:35 EST", "InactiveExitTimestampMonotonic": "1144280687", "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": "2933", "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": "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": "Tue 2024-11-12 09:48:35 EST", "WatchdogTimestampMonotonic": "1144280664", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Tuesday 12 November 2024 09:50:21 -0500 (0:00:02.486) 0:04:11.505 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Tuesday 12 November 2024 09:50:23 -0500 (0:00:01.628) 0:04:13.134 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Tuesday 12 November 2024 09:50:30 -0500 (0:00:07.026) 0:04:20.160 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Tuesday 12 November 2024 09:50:30 -0500 (0:00:00.244) 0:04:20.404 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Tuesday 12 November 2024 09:50:31 -0500 (0:00:00.215) 0:04:20.619 ****** 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.005036", "end": "2024-11-12 09:50:31.773710", "rc": 0, "start": "2024-11-12 09:50:31.768674" } STDOUT: false TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Tuesday 12 November 2024 09:50:32 -0500 (0:00:00.980) 0:04:21.600 ****** ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:48:35 EST", "ActiveEnterTimestampMonotonic": "1144280687", "ActiveExitTimestamp": "Tue 2024-11-12 09:50:19 EST", "ActiveExitTimestampMonotonic": "1248337638", "ActiveState": "inactive", "After": "auditd.service system.slice systemd-journald.socket basic.target -.mount network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:48:35 EST", "AssertTimestampMonotonic": "1144279656", "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": "Tue 2024-11-12 09:48:35 EST", "ConditionTimestampMonotonic": "1144279654", "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": "Tue 2024-11-12 09:50:21 EST", "ExecMainExitTimestampMonotonic": "1250137220", "ExecMainPID": "2933", "ExecMainStartTimestamp": "Tue 2024-11-12 09:48:35 EST", "ExecMainStartTimestampMonotonic": "1144280620", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-11-12 09:48:35 EST] ; stop_time=[Tue 2024-11-12 09:50:21 EST] ; pid=2933 ; 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": "Tue 2024-11-12 09:50:21 EST", "InactiveEnterTimestampMonotonic": "1250137324", "InactiveExitTimestamp": "Tue 2024-11-12 09:48:35 EST", "InactiveExitTimestampMonotonic": "1144280687", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.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": "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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Tuesday 12 November 2024 09:50:33 -0500 (0:00:00.963) 0:04:22.564 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Tuesday 12 November 2024 09:50:34 -0500 (0:00:01.744) 0:04:24.309 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Tuesday 12 November 2024 09:50:42 -0500 (0:00:07.393) 0:04:31.703 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:50:42 -0500 (0:00:00.255) 0:04:31.958 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003865", "end": "2024-11-12 09:50:42.815550", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:50:42.811685" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:50:42 -0500 (0:00:00.537) 0:04:32.496 ****** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "127.0.0.1" ], "delta": "0:00:00.122606", "end": "2024-11-12 09:50:43.436507", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:50:43.313901" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:50:43 -0500 (0:00:00.752) 0:04:33.249 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Tuesday 12 November 2024 09:50:43 -0500 (0:00:00.220) 0:04:33.469 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Tuesday 12 November 2024 09:50:44 -0500 (0:00:00.193) 0:04:33.662 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Tuesday 12 November 2024 09:50:44 -0500 (0:00:00.239) 0:04:33.902 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:50:44 -0500 (0:00:00.499) 0:04:34.401 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003419", "end": "2024-11-12 09:50:45.331036", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:50:45.327617" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:50:45 -0500 (0:00:00.613) 0:04:35.014 ****** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1435" ], "delta": "0:00:00.124668", "end": "2024-11-12 09:50:46.088960", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:50:45.964292" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:50:46 -0500 (0:00:00.732) 0:04:35.747 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Tuesday 12 November 2024 09:50:46 -0500 (0:00:00.089) 0:04:35.837 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Tuesday 12 November 2024 09:50:46 -0500 (0:00:00.190) 0:04:36.027 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:50:46 -0500 (0:00:00.223) 0:04:36.250 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004098", "end": "2024-11-12 09:50:47.007909", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:50:47.003811" } STDOUT: enabled = True TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:50:47 -0500 (0:00:00.448) 0:04:36.699 ****** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "False" ], "delta": "0:00:00.127016", "end": "2024-11-12 09:50:47.785663", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:50:47.658647" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:50:47 -0500 (0:00:00.822) 0:04:37.521 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Tuesday 12 November 2024 09:50:48 -0500 (0:00:00.230) 0:04:37.751 ****** 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:15.0.4375.4-1 will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server-fts\n x86_64 15.0.4375.4-1 @packages-microsoft-com-mssql-server-2019 554 M\n\nTransaction Summary\n================================================================================\nRemove 1 Package\n\nInstalled size: 554 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-fts-15.0.4375.4-1.x86_64 1/1 \n Verifying : mssql-server-fts-15.0.4375.4-1.x86_64 1/1 \n\nRemoved:\n mssql-server-fts.x86_64 0:15.0.4375.4-1 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Tuesday 12 November 2024 09:50:49 -0500 (0:00:01.764) 0:04:39.516 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Tuesday 12 November 2024 09:50:51 -0500 (0:00:01.675) 0:04:41.191 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003707", "end": "2024-11-12 09:50:51.947140", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:50:51.943433" } STDOUT: traceflag0 = 3979 TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Tuesday 12 November 2024 09:50:52 -0500 (0:00:00.414) 0:04:41.606 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Tuesday 12 November 2024 09:50:52 -0500 (0:00:00.115) 0:04:41.721 ****** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "off" ], "delta": "0:00:00.120026", "end": "2024-11-12 09:50:52.673443", "rc": 0, "start": "2024-11-12 09:50:52.553417" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Tuesday 12 November 2024 09:50:52 -0500 (0:00:00.589) 0:04:42.310 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:50:52 -0500 (0:00:00.177) 0:04:42.488 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003416", "end": "2024-11-12 09:50:53.256839", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:50:53.253423" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:50:53 -0500 (0:00:00.414) 0:04:42.902 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:50:53 -0500 (0:00:00.083) 0:04:42.986 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Tuesday 12 November 2024 09:50:53 -0500 (0:00:00.074) 0:04:43.061 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:50:53 -0500 (0:00:00.173) 0:04:43.234 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003868", "end": "2024-11-12 09:50:54.071404", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:50:54.067536" } STDOUT: writethrough = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:50:54 -0500 (0:00:00.476) 0:04:43.711 ****** changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "0" ], "delta": "0:00:00.117041", "end": "2024-11-12 09:50:54.619462", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:50:54.502421" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:50:54 -0500 (0:00:00.745) 0:04:44.457 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Tuesday 12 November 2024 09:50:55 -0500 (0:00:00.114) 0:04:44.571 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Tuesday 12 November 2024 09:50:55 -0500 (0:00:00.148) 0:04:44.720 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Tuesday 12 November 2024 09:50:55 -0500 (0:00:00.106) 0:04:44.827 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Tuesday 12 November 2024 09:50:55 -0500 (0:00:00.289) 0:04:45.117 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Tuesday 12 November 2024 09:50:55 -0500 (0:00:00.152) 0:04:45.269 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Tuesday 12 November 2024 09:50:55 -0500 (0:00:00.125) 0:04:45.395 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Tuesday 12 November 2024 09:50:55 -0500 (0:00:00.114) 0:04:45.509 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Tuesday 12 November 2024 09:50:56 -0500 (0:00:00.074) 0:04:45.583 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Tuesday 12 November 2024 09:50:56 -0500 (0:00:00.089) 0:04:45.673 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Tuesday 12 November 2024 09:50:56 -0500 (0:00:00.107) 0:04:45.781 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Tuesday 12 November 2024 09:50:56 -0500 (0:00:00.117) 0:04:45.898 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Tuesday 12 November 2024 09:50:56 -0500 (0:00:00.130) 0:04:46.029 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Tuesday 12 November 2024 09:50:56 -0500 (0:00:00.119) 0:04:46.148 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Tuesday 12 November 2024 09:50:56 -0500 (0:00:00.106) 0:04:46.255 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Tuesday 12 November 2024 09:50:56 -0500 (0:00:00.111) 0:04:46.367 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:895 Tuesday 12 November 2024 09:50:56 -0500 (0:00:00.103) 0:04:46.470 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Tuesday 12 November 2024 09:50:57 -0500 (0:00:00.096) 0:04:46.567 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:910 Tuesday 12 November 2024 09:50:57 -0500 (0:00:00.090) 0:04:46.658 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:927 Tuesday 12 November 2024 09:50:57 -0500 (0:00:00.072) 0:04:46.731 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:932 Tuesday 12 November 2024 09:50:57 -0500 (0:00:00.224) 0:04:46.955 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:937 Tuesday 12 November 2024 09:50:57 -0500 (0:00:00.122) 0:04:47.078 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Tuesday 12 November 2024 09:50:57 -0500 (0:00:00.127) 0:04:47.205 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:969 Tuesday 12 November 2024 09:50:57 -0500 (0:00:00.109) 0:04:47.315 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:990 Tuesday 12 November 2024 09:50:57 -0500 (0:00:00.118) 0:04:47.433 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:998 Tuesday 12 November 2024 09:50:58 -0500 (0:00:00.114) 0:04:47.548 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1008 Tuesday 12 November 2024 09:50:58 -0500 (0:00:00.092) 0:04:47.640 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1014 Tuesday 12 November 2024 09:50:58 -0500 (0:00:00.096) 0:04:47.737 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1032 Tuesday 12 November 2024 09:50:58 -0500 (0:00:00.076) 0:04:47.813 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1043 Tuesday 12 November 2024 09:50:58 -0500 (0:00:00.089) 0:04:47.902 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1063 Tuesday 12 November 2024 09:50:58 -0500 (0:00:00.114) 0:04:48.017 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1116 Tuesday 12 November 2024 09:50:58 -0500 (0:00:00.122) 0:04:48.139 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1123 Tuesday 12 November 2024 09:50:58 -0500 (0:00:00.129) 0:04:48.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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Tuesday 12 November 2024 09:50:58 -0500 (0:00:00.117) 0:04:48.387 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1140 Tuesday 12 November 2024 09:50:58 -0500 (0:00:00.118) 0:04:48.506 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Tuesday 12 November 2024 09:50:59 -0500 (0:00:00.120) 0:04:48.626 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Tuesday 12 November 2024 09:50:59 -0500 (0:00:00.134) 0:04:48.761 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Tuesday 12 November 2024 09:50:59 -0500 (0:00:00.093) 0:04:48.855 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1171 Tuesday 12 November 2024 09:50:59 -0500 (0:00:00.087) 0:04:48.943 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Tuesday 12 November 2024 09:50:59 -0500 (0:00:00.102) 0:04:49.045 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1191 Tuesday 12 November 2024 09:50:59 -0500 (0:00:00.081) 0:04:49.126 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Tuesday 12 November 2024 09:50:59 -0500 (0:00:00.254) 0:04:49.381 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Tuesday 12 November 2024 09:50:59 -0500 (0:00:00.113) 0:04:49.494 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1232 Tuesday 12 November 2024 09:51:00 -0500 (0:00:00.115) 0:04:49.610 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1241 Tuesday 12 November 2024 09:51:00 -0500 (0:00:00.126) 0:04:49.736 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Tuesday 12 November 2024 09:51:00 -0500 (0:00:00.164) 0:04:49.900 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Tuesday 12 November 2024 09:51:00 -0500 (0:00:00.256) 0:04:50.157 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Tuesday 12 November 2024 09:51:00 -0500 (0:00:00.252) 0:04:50.409 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1281 Tuesday 12 November 2024 09:51:01 -0500 (0:00:00.188) 0:04:50.597 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Tuesday 12 November 2024 09:51:01 -0500 (0:00:00.165) 0:04:50.763 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1296 Tuesday 12 November 2024 09:51:01 -0500 (0:00:00.149) 0:04:50.913 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Tuesday 12 November 2024 09:51:01 -0500 (0:00:00.110) 0:04:51.023 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1315 Tuesday 12 November 2024 09:51:01 -0500 (0:00:00.194) 0:04:51.218 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1324 Tuesday 12 November 2024 09:51:01 -0500 (0:00:00.208) 0:04:51.426 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1331 Tuesday 12 November 2024 09:51:02 -0500 (0:00:00.231) 0:04:51.658 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1337 Tuesday 12 November 2024 09:51:02 -0500 (0:00:00.220) 0:04:51.878 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1345 Tuesday 12 November 2024 09:51:02 -0500 (0:00:00.110) 0:04:51.989 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Tuesday 12 November 2024 09:51:02 -0500 (0:00:00.123) 0:04:52.112 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Tuesday 12 November 2024 09:51:02 -0500 (0:00:00.203) 0:04:52.316 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1375 Tuesday 12 November 2024 09:51:02 -0500 (0:00:00.185) 0:04:52.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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1383 Tuesday 12 November 2024 09:51:03 -0500 (0:00:00.129) 0:04:52.630 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1392 Tuesday 12 November 2024 09:51:03 -0500 (0:00:00.256) 0:04:52.887 ****** changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Tuesday 12 November 2024 09:51:04 -0500 (0:00:00.770) 0:04:53.658 ****** changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:48:35 EST", "ActiveEnterTimestampMonotonic": "1144280687", "ActiveExitTimestamp": "Tue 2024-11-12 09:50:19 EST", "ActiveExitTimestampMonotonic": "1248337638", "ActiveState": "inactive", "After": "auditd.service system.slice systemd-journald.socket basic.target -.mount network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:48:35 EST", "AssertTimestampMonotonic": "1144279656", "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": "Tue 2024-11-12 09:48:35 EST", "ConditionTimestampMonotonic": "1144279654", "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": "Tue 2024-11-12 09:50:21 EST", "ExecMainExitTimestampMonotonic": "1250137220", "ExecMainPID": "2933", "ExecMainStartTimestamp": "Tue 2024-11-12 09:48:35 EST", "ExecMainStartTimestampMonotonic": "1144280620", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-11-12 09:48:35 EST] ; stop_time=[Tue 2024-11-12 09:50:21 EST] ; pid=2933 ; 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": "Tue 2024-11-12 09:50:21 EST", "InactiveEnterTimestampMonotonic": "1250137324", "InactiveExitTimestamp": "Tue 2024-11-12 09:48:35 EST", "InactiveExitTimestampMonotonic": "1144280687", "JobTimeoutAction": "none", "JobTimeoutUSec": "0", "KillMode": "process", "KillSignal": "15", "LimitAS": "18446744073709551615", "LimitCORE": "18446744073709551615", "LimitCPU": "18446744073709551615", "LimitDATA": "18446744073709551615", "LimitFSIZE": "18446744073709551615", "LimitLOCKS": "18446744073709551615", "LimitMEMLOCK": "65536", "LimitMSGQUEUE": "819200", "LimitNICE": "0", "LimitNOFILE": "18446744073709551615", "LimitNPROC": "18446744073709551615", "LimitRSS": "18446744073709551615", "LimitRTPRIO": "0", "LimitRTTIME": "18446744073709551615", "LimitSIGPENDING": "14311", "LimitSTACK": "18446744073709551615", "LoadState": "loaded", "MainPID": "0", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.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": "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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1405 Tuesday 12 November 2024 09:51:05 -0500 (0:00:00.899) 0:04:54.557 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1412 Tuesday 12 November 2024 09:51:05 -0500 (0:00:00.106) 0:04:54.664 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:69 Tuesday 12 November 2024 09:51:05 -0500 (0:00:00.116) 0:04:54.780 ****** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Tuesday 12 November 2024 09:51:07 -0500 (0:00:02.143) 0:04:56.924 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Tuesday 12 November 2024 09:51:07 -0500 (0:00:00.363) 0:04:57.288 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Tuesday 12 November 2024 09:51:07 -0500 (0:00:00.145) 0:04:57.434 ****** 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-NiM/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-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Tuesday 12 November 2024 09:51:08 -0500 (0:00:00.180) 0:04:57.614 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Tuesday 12 November 2024 09:51:08 -0500 (0:00:00.120) 0:04:57.734 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Tuesday 12 November 2024 09:51:08 -0500 (0:00:00.115) 0:04:57.850 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Tuesday 12 November 2024 09:51:08 -0500 (0:00:00.137) 0:04:57.988 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Tuesday 12 November 2024 09:51:08 -0500 (0:00:00.210) 0:04:58.198 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Tuesday 12 November 2024 09:51:08 -0500 (0:00:00.240) 0:04:58.439 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Tuesday 12 November 2024 09:51:09 -0500 (0:00:00.239) 0:04:58.678 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Tuesday 12 November 2024 09:51:09 -0500 (0:00:00.212) 0:04:58.891 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Tuesday 12 November 2024 09:51:09 -0500 (0:00:00.143) 0:04:59.034 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Tuesday 12 November 2024 09:51:09 -0500 (0:00:00.116) 0:04:59.151 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Tuesday 12 November 2024 09:51:09 -0500 (0:00:00.139) 0:04:59.290 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Tuesday 12 November 2024 09:51:09 -0500 (0:00:00.122) 0:04:59.412 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Tuesday 12 November 2024 09:51:10 -0500 (0:00:00.127) 0:04:59.540 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Tuesday 12 November 2024 09:51:10 -0500 (0:00:00.214) 0:04:59.755 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Tuesday 12 November 2024 09:51:10 -0500 (0:00:00.135) 0:04:59.891 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Tuesday 12 November 2024 09:51:10 -0500 (0:00:00.131) 0:05:00.023 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Tuesday 12 November 2024 09:51:10 -0500 (0:00:00.117) 0:05:00.141 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Tuesday 12 November 2024 09:51:10 -0500 (0:00:00.131) 0:05:00.272 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Tuesday 12 November 2024 09:51:12 -0500 (0:00:01.861) 0:05:02.134 ****** 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" } ok: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed-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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Tuesday 12 November 2024 09:51:13 -0500 (0:00:00.448) 0:05:02.583 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Tuesday 12 November 2024 09:51:13 -0500 (0:00:00.139) 0:05:02.722 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Tuesday 12 November 2024 09:51:13 -0500 (0:00:00.144) 0:05:02.867 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Tuesday 12 November 2024 09:51:13 -0500 (0:00:00.203) 0:05:03.070 ****** ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Tuesday 12 November 2024 09:51:14 -0500 (0:00:00.716) 0:05:03.786 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Tuesday 12 November 2024 09:51:14 -0500 (0:00:00.144) 0:05:03.931 ****** 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 2019] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Tuesday 12 November 2024 09:51:14 -0500 (0:00:00.150) 0:05:04.082 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Tuesday 12 November 2024 09:51:14 -0500 (0:00:00.126) 0:05:04.208 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Tuesday 12 November 2024 09:51:14 -0500 (0:00:00.121) 0:05:04.330 ****** 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 2019] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Tuesday 12 November 2024 09:51:14 -0500 (0:00:00.132) 0:05:04.463 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Tuesday 12 November 2024 09:51:15 -0500 (0:00:00.201) 0:05:04.664 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Tuesday 12 November 2024 09:51:15 -0500 (0:00:00.254) 0:05:04.919 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Tuesday 12 November 2024 09:51:15 -0500 (0:00:00.122) 0:05:05.041 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Tuesday 12 November 2024 09:51:16 -0500 (0:00:00.928) 0:05:05.970 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Tuesday 12 November 2024 09:51:17 -0500 (0:00:00.813) 0:05:06.784 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Tuesday 12 November 2024 09:51:17 -0500 (0:00:00.115) 0:05:06.900 ****** 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.005157", "end": "2024-11-12 09:51:17.818833", "rc": 0, "start": "2024-11-12 09:51:17.813676" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Tuesday 12 November 2024 09:51:17 -0500 (0:00:00.602) 0:05:07.503 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Tuesday 12 November 2024 09:51:19 -0500 (0:00:01.340) 0:05:08.843 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Tuesday 12 November 2024 09:51:19 -0500 (0:00:00.222) 0:05:09.065 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Tuesday 12 November 2024 09:51:19 -0500 (0:00:00.138) 0:05:09.204 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Tuesday 12 November 2024 09:51:19 -0500 (0:00:00.134) 0:05:09.338 ****** included: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node1 included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Tuesday 12 November 2024 09:51:20 -0500 (0:00:00.279) 0:05:09.618 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Tuesday 12 November 2024 09:51:20 -0500 (0:00:00.546) 0:05:10.165 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Tuesday 12 November 2024 09:51:20 -0500 (0:00:00.171) 0:05:10.336 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:51:21 -0500 (0:00:00.235) 0:05:10.571 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003498", "end": "2024-11-12 09:51:21.549380", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:51:21.545882" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:51:21 -0500 (0:00:00.827) 0:05:11.399 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:51:22 -0500 (0:00:00.148) 0:05:11.547 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Tuesday 12 November 2024 09:51:22 -0500 (0:00:00.123) 0:05:11.670 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Tuesday 12 November 2024 09:51:22 -0500 (0:00:00.423) 0:05:12.094 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Tuesday 12 November 2024 09:51:22 -0500 (0:00:00.147) 0:05:12.241 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:51:22 -0500 (0:00:00.231) 0:05:12.473 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003255", "end": "2024-11-12 09:51:23.390270", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:51:23.387015" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:51:23 -0500 (0:00:00.665) 0:05:13.138 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:51:23 -0500 (0:00:00.274) 0:05:13.412 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Tuesday 12 November 2024 09:51:24 -0500 (0:00:00.186) 0:05:13.598 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Tuesday 12 November 2024 09:51:24 -0500 (0:00:00.109) 0:05:13.708 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Tuesday 12 November 2024 09:51:24 -0500 (0:00:00.111) 0:05:13.820 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Tuesday 12 November 2024 09:51:24 -0500 (0:00:00.583) 0:05:14.403 ****** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:29:45 EST", "ActiveEnterTimestampMonotonic": "13846861", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service system.slice systemd-journald.socket basic.target dbus.service network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:29:44 EST", "AssertTimestampMonotonic": "13067044", "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": "Tue 2024-11-12 09:29:44 EST", "ConditionTimestampMonotonic": "13067042", "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": "854", "ExecMainStartTimestamp": "Tue 2024-11-12 09:29:44 EST", "ExecMainStartTimestampMonotonic": "13067671", "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": "Tue 2024-11-12 09:29:44 EST", "InactiveExitTimestampMonotonic": "13067706", "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": "854", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice dbus.service polkit.service basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-11-12 09:29:45 EST", "WatchdogTimestampMonotonic": "13846069", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Tuesday 12 November 2024 09:51:25 -0500 (0:00:00.477) 0:05:14.880 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.085563", "end": "2024-11-12 09:51:25.732874", "rc": 0, "start": "2024-11-12 09:51:25.647311" } 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Tuesday 12 November 2024 09:51:25 -0500 (0:00:00.649) 0:05:15.530 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Tuesday 12 November 2024 09:51:26 -0500 (0:00:00.120) 0:05:15.650 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Tuesday 12 November 2024 09:51:26 -0500 (0:00:00.130) 0:05:15.781 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Tuesday 12 November 2024 09:51:26 -0500 (0:00:00.119) 0:05:15.900 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Tuesday 12 November 2024 09:51:26 -0500 (0:00:00.478) 0:05:16.379 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Tuesday 12 November 2024 09:51:26 -0500 (0:00:00.102) 0:05:16.481 ****** ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools unixODBC-devel TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Tuesday 12 November 2024 09:51:27 -0500 (0:00:00.705) 0:05:17.187 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Tuesday 12 November 2024 09:51:27 -0500 (0:00:00.217) 0:05:17.404 ****** ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:51:04 EST", "ActiveEnterTimestampMonotonic": "1293147603", "ActiveExitTimestamp": "Tue 2024-11-12 09:50:19 EST", "ActiveExitTimestampMonotonic": "1248337638", "ActiveState": "active", "After": "auditd.service system.slice systemd-journald.socket basic.target -.mount network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:51:04 EST", "AssertTimestampMonotonic": "1293146341", "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": "Tue 2024-11-12 09:51:04 EST", "ConditionTimestampMonotonic": "1293146340", "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": "8747", "ExecMainStartTimestamp": "Tue 2024-11-12 09:51:04 EST", "ExecMainStartTimestampMonotonic": "1293147383", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-11-12 09:51:04 EST] ; stop_time=[n/a] ; pid=8747 ; 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": "Tue 2024-11-12 09:50:21 EST", "InactiveEnterTimestampMonotonic": "1250137324", "InactiveExitTimestamp": "Tue 2024-11-12 09:51:04 EST", "InactiveExitTimestampMonotonic": "1293147603", "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": "8747", "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": "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": "Tue 2024-11-12 09:51:04 EST", "WatchdogTimestampMonotonic": "1293147420", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Tuesday 12 November 2024 09:51:28 -0500 (0:00:00.592) 0:05:17.996 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003421", "end": "2024-11-12 09:51:28.791485", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:51:28.788064" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Tuesday 12 November 2024 09:51:28 -0500 (0:00:00.473) 0:05:18.470 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003253", "end": "2024-11-12 09:51:29.267035", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:51:29.263782" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Tuesday 12 November 2024 09:51:29 -0500 (0:00:00.474) 0:05:18.944 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Tuesday 12 November 2024 09:51:29 -0500 (0:00:00.117) 0:05:19.062 ****** 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": 7885, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Tuesday 12 November 2024 09:51:31 -0500 (0:00:01.492) 0:05:20.554 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Tuesday 12 November 2024 09:51:31 -0500 (0:00:00.599) 0:05:21.154 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Tuesday 12 November 2024 09:51:31 -0500 (0:00:00.169) 0:05:21.324 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Tuesday 12 November 2024 09:51:33 -0500 (0:00:01.719) 0:05:23.043 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Tuesday 12 November 2024 09:51:33 -0500 (0:00:00.150) 0:05:23.194 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script contents to SQL Server] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Tuesday 12 November 2024 09:51:33 -0500 (0:00:00.130) 0:05:23.324 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Tuesday 12 November 2024 09:51:33 -0500 (0:00:00.184) 0:05:23.509 ****** 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.005455", "end": "2024-11-12 09:51:34.407459", "rc": 0, "start": "2024-11-12 09:51:34.402004" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Tuesday 12 November 2024 09:51:34 -0500 (0:00:00.578) 0:05:24.088 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Tuesday 12 November 2024 09:51:34 -0500 (0:00:00.156) 0:05:24.244 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Tuesday 12 November 2024 09:51:37 -0500 (0:00:02.333) 0:05:26.578 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Tuesday 12 November 2024 09:51:37 -0500 (0:00:00.119) 0:05:26.698 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:51:37 -0500 (0:00:00.179) 0:05:26.877 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003788", "end": "2024-11-12 09:51:37.608453", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:51:37.604665" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:51:37 -0500 (0:00:00.368) 0:05:27.246 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:51:37 -0500 (0:00:00.083) 0:05:27.329 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Tuesday 12 November 2024 09:51:37 -0500 (0:00:00.078) 0:05:27.408 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Tuesday 12 November 2024 09:51:37 -0500 (0:00:00.081) 0:05:27.489 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Tuesday 12 November 2024 09:51:38 -0500 (0:00:00.076) 0:05:27.566 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:51:38 -0500 (0:00:00.129) 0:05:27.696 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003594", "end": "2024-11-12 09:51:38.426622", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:51:38.423028" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:51:38 -0500 (0:00:00.368) 0:05:28.064 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:51:38 -0500 (0:00:00.081) 0:05:28.146 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Tuesday 12 November 2024 09:51:38 -0500 (0:00:00.073) 0:05:28.219 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Tuesday 12 November 2024 09:51:38 -0500 (0:00:00.189) 0:05:28.408 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:51:39 -0500 (0:00:00.153) 0:05:28.562 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003183", "end": "2024-11-12 09:51:39.297464", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:51:39.294281" } STDOUT: enabled = False TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:51:39 -0500 (0:00:00.376) 0:05:28.938 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:51:39 -0500 (0:00:00.083) 0:05:29.021 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Tuesday 12 November 2024 09:51:39 -0500 (0:00:00.081) 0:05:29.103 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Tuesday 12 November 2024 09:51:40 -0500 (0:00:00.617) 0:05:29.720 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Tuesday 12 November 2024 09:51:40 -0500 (0:00:00.520) 0:05:30.241 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003460", "end": "2024-11-12 09:51:40.969104", "failed_when_result": false, "rc": 1, "start": "2024-11-12 09:51:40.965644" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Tuesday 12 November 2024 09:51:41 -0500 (0:00:00.360) 0:05:30.602 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Tuesday 12 November 2024 09:51:41 -0500 (0:00:00.076) 0:05:30.679 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Tuesday 12 November 2024 09:51:41 -0500 (0:00:00.080) 0:05:30.759 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:51:41 -0500 (0:00:00.130) 0:05:30.890 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003085", "end": "2024-11-12 09:51:41.618610", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:51:41.615525" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:51:41 -0500 (0:00:00.488) 0:05:31.378 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:51:41 -0500 (0:00:00.126) 0:05:31.504 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Tuesday 12 November 2024 09:51:42 -0500 (0:00:00.175) 0:05:31.680 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 12 November 2024 09:51:42 -0500 (0:00:00.188) 0:05:31.869 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003181", "end": "2024-11-12 09:51:42.636644", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:51:42.633463" } STDOUT: writethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 12 November 2024 09:51:42 -0500 (0:00:00.427) 0:05:32.296 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 12 November 2024 09:51:42 -0500 (0:00:00.087) 0:05:32.383 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Tuesday 12 November 2024 09:51:42 -0500 (0:00:00.089) 0:05:32.472 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Tuesday 12 November 2024 09:51:43 -0500 (0:00:00.107) 0:05:32.580 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Tuesday 12 November 2024 09:51:43 -0500 (0:00:00.140) 0:05:32.721 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Tuesday 12 November 2024 09:51:43 -0500 (0:00:00.112) 0:05:32.833 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Tuesday 12 November 2024 09:51:43 -0500 (0:00:00.091) 0:05:32.925 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Tuesday 12 November 2024 09:51:43 -0500 (0:00:00.082) 0:05:33.007 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Tuesday 12 November 2024 09:51:43 -0500 (0:00:00.075) 0:05:33.083 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Tuesday 12 November 2024 09:51:43 -0500 (0:00:00.094) 0:05:33.178 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Tuesday 12 November 2024 09:51:43 -0500 (0:00:00.116) 0:05:33.295 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Tuesday 12 November 2024 09:51:43 -0500 (0:00:00.111) 0:05:33.406 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Tuesday 12 November 2024 09:51:43 -0500 (0:00:00.117) 0:05:33.524 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Tuesday 12 November 2024 09:51:44 -0500 (0:00:00.120) 0:05:33.645 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Tuesday 12 November 2024 09:51:44 -0500 (0:00:00.295) 0:05:33.940 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Tuesday 12 November 2024 09:51:44 -0500 (0:00:00.119) 0:05:34.059 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Tuesday 12 November 2024 09:51:44 -0500 (0:00:00.121) 0:05:34.180 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:895 Tuesday 12 November 2024 09:51:44 -0500 (0:00:00.112) 0:05:34.293 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:905 Tuesday 12 November 2024 09:51:44 -0500 (0:00:00.094) 0:05:34.387 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:910 Tuesday 12 November 2024 09:51:44 -0500 (0:00:00.094) 0:05:34.482 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:927 Tuesday 12 November 2024 09:51:45 -0500 (0:00:00.073) 0:05:34.556 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:932 Tuesday 12 November 2024 09:51:45 -0500 (0:00:00.106) 0:05:34.662 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:937 Tuesday 12 November 2024 09:51:45 -0500 (0:00:00.105) 0:05:34.768 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:943 Tuesday 12 November 2024 09:51:45 -0500 (0:00:00.135) 0:05:34.904 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:969 Tuesday 12 November 2024 09:51:45 -0500 (0:00:00.109) 0:05:35.013 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:990 Tuesday 12 November 2024 09:51:45 -0500 (0:00:00.113) 0:05:35.127 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:998 Tuesday 12 November 2024 09:51:45 -0500 (0:00:00.110) 0:05:35.237 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1008 Tuesday 12 November 2024 09:51:45 -0500 (0:00:00.108) 0:05:35.345 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1014 Tuesday 12 November 2024 09:51:45 -0500 (0:00:00.109) 0:05:35.455 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1032 Tuesday 12 November 2024 09:51:46 -0500 (0:00:00.112) 0:05:35.567 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1043 Tuesday 12 November 2024 09:51:46 -0500 (0:00:00.120) 0:05:35.687 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1063 Tuesday 12 November 2024 09:51:46 -0500 (0:00:00.111) 0:05:35.799 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1116 Tuesday 12 November 2024 09:51:46 -0500 (0:00:00.113) 0:05:35.913 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1123 Tuesday 12 November 2024 09:51:46 -0500 (0:00:00.114) 0:05:36.027 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1130 Tuesday 12 November 2024 09:51:46 -0500 (0:00:00.086) 0:05:36.114 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1140 Tuesday 12 November 2024 09:51:46 -0500 (0:00:00.210) 0:05:36.325 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1146 Tuesday 12 November 2024 09:51:46 -0500 (0:00:00.116) 0:05:36.441 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1154 Tuesday 12 November 2024 09:51:47 -0500 (0:00:00.133) 0:05:36.575 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1163 Tuesday 12 November 2024 09:51:47 -0500 (0:00:00.098) 0:05:36.674 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1171 Tuesday 12 November 2024 09:51:47 -0500 (0:00:00.097) 0:05:36.771 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1185 Tuesday 12 November 2024 09:51:47 -0500 (0:00:00.101) 0:05:36.872 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1191 Tuesday 12 November 2024 09:51:47 -0500 (0:00:00.085) 0:05:36.958 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1213 Tuesday 12 November 2024 09:51:47 -0500 (0:00:00.116) 0:05:37.075 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Tuesday 12 November 2024 09:51:47 -0500 (0:00:00.122) 0:05:37.197 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1232 Tuesday 12 November 2024 09:51:47 -0500 (0:00:00.109) 0:05:37.306 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1241 Tuesday 12 November 2024 09:51:47 -0500 (0:00:00.114) 0:05:37.421 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1252 Tuesday 12 November 2024 09:51:47 -0500 (0:00:00.112) 0:05:37.533 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1265 Tuesday 12 November 2024 09:51:48 -0500 (0:00:00.095) 0:05:37.629 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1274 Tuesday 12 November 2024 09:51:48 -0500 (0:00:00.098) 0:05:37.727 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1281 Tuesday 12 November 2024 09:51:48 -0500 (0:00:00.072) 0:05:37.799 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1288 Tuesday 12 November 2024 09:51:48 -0500 (0:00:00.075) 0:05:37.875 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1296 Tuesday 12 November 2024 09:51:48 -0500 (0:00:00.072) 0:05:37.947 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Tuesday 12 November 2024 09:51:48 -0500 (0:00:00.077) 0:05:38.025 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1315 Tuesday 12 November 2024 09:51:48 -0500 (0:00:00.135) 0:05:38.160 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1324 Tuesday 12 November 2024 09:51:48 -0500 (0:00:00.108) 0:05:38.269 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1331 Tuesday 12 November 2024 09:51:48 -0500 (0:00:00.109) 0:05:38.379 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1337 Tuesday 12 November 2024 09:51:49 -0500 (0:00:00.264) 0:05:38.643 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1345 Tuesday 12 November 2024 09:51:49 -0500 (0:00:00.115) 0:05:38.759 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1358 Tuesday 12 November 2024 09:51:49 -0500 (0:00:00.127) 0:05:38.886 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1370 Tuesday 12 November 2024 09:51:49 -0500 (0:00:00.114) 0:05:39.001 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1375 Tuesday 12 November 2024 09:51:49 -0500 (0:00:00.096) 0:05:39.098 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1383 Tuesday 12 November 2024 09:51:49 -0500 (0:00:00.105) 0:05:39.203 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1392 Tuesday 12 November 2024 09:51:49 -0500 (0:00:00.075) 0:05:39.279 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1405 Tuesday 12 November 2024 09:51:50 -0500 (0:00:00.520) 0:05:39.800 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1412 Tuesday 12 November 2024 09:51:50 -0500 (0:00:00.071) 0:05:39.871 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify disabled settings] ************************************************ task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:84 Tuesday 12 November 2024 09:51:50 -0500 (0:00:00.075) 0:05:39.947 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Tuesday 12 November 2024 09:51:51 -0500 (0:00:00.651) 0:05:40.599 ****** 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.005378", "end": "2024-11-12 09:51:51.356040", "rc": 0, "start": "2024-11-12 09:51:51.350662" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Tuesday 12 November 2024 09:51:51 -0500 (0:00:00.396) 0:05:40.996 ****** 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.004943", "end": "2024-11-12 09:51:51.784957", "rc": 0, "start": "2024-11-12 09:51:51.780014" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Tuesday 12 November 2024 09:51:51 -0500 (0:00:00.434) 0:05:41.431 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Tuesday 12 November 2024 09:51:51 -0500 (0:00:00.096) 0:05:41.527 ****** included: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:51:52 -0500 (0:00:00.263) 0:05:41.791 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004414", "end": "2024-11-12 09:51:52.542456", "rc": 0, "start": "2024-11-12 09:51:52.538042" } STDOUT: ipaddress = 127.0.0.1 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:51:52 -0500 (0:00:00.436) 0:05:42.227 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:51:52 -0500 (0:00:00.127) 0:05:42.355 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 127.0.0.1] ***************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:51:52 -0500 (0:00:00.094) 0:05:42.449 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultdatadir] ***************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:51:52 -0500 (0:00:00.080) 0:05:42.530 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004597", "end": "2024-11-12 09:51:53.259545", "rc": 0, "start": "2024-11-12 09:51:53.254948" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:51:53 -0500 (0:00:00.413) 0:05:42.944 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:51:53 -0500 (0:00:00.142) 0:05:43.086 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/data] ******************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:51:53 -0500 (0:00:00.113) 0:05:43.200 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:51:53 -0500 (0:00:00.125) 0:05:43.325 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004902", "end": "2024-11-12 09:51:54.109387", "rc": 0, "start": "2024-11-12 09:51:54.104485" } STDOUT: enabled = False TASK [Verify the setting when it is type str enabled] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:51:54 -0500 (0:00:00.449) 0:05:43.775 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:51:54 -0500 (0:00:00.083) 0:05:43.858 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:51:54 -0500 (0:00:00.299) 0:05:44.158 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:51:54 -0500 (0:00:00.131) 0:05:44.290 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004844", "end": "2024-11-12 09:51:55.196055", "rc": 0, "start": "2024-11-12 09:51:55.191211" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:51:55 -0500 (0:00:00.735) 0:05:45.025 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:51:55 -0500 (0:00:00.274) 0:05:45.300 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/log] ******************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:51:56 -0500 (0:00:00.251) 0:05:45.552 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:51:56 -0500 (0:00:00.188) 0:05:45.740 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004243", "end": "2024-11-12 09:51:56.620310", "rc": 0, "start": "2024-11-12 09:51:56.616067" } STDOUT: tcpport = 1435 TASK [Verify the setting when it is type str tcpport] ************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:52:01 -0500 (0:00:05.626) 0:05:51.367 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:52:01 -0500 (0:00:00.120) 0:05:51.487 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1435] ********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:52:02 -0500 (0:00:00.117) 0:05:51.605 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Tuesday 12 November 2024 09:52:02 -0500 (0:00:00.162) 0:05:51.767 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731422828.5207248, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1731422828.4967244, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 266546, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1731422828.4967244, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "114267478", "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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Tuesday 12 November 2024 09:52:03 -0500 (0:00:01.619) 0:05:53.387 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Tuesday 12 November 2024 09:52:04 -0500 (0:00:00.220) 0:05:53.607 ****** ok: [managed-node1] => { "changed": false, "stat": { "atime": 1731423067.816514, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1731423067.838514, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 266547, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1731423067.838514, "nlink": 3, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "114267479", "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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Tuesday 12 November 2024 09:52:04 -0500 (0:00:00.814) 0:05:54.422 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Tuesday 12 November 2024 09:52:05 -0500 (0:00:00.135) 0:05:54.557 ****** TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Tuesday 12 November 2024 09:52:05 -0500 (0:00:00.210) 0:05:54.768 ****** ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:51:04 EST", "ActiveEnterTimestampMonotonic": "1293147603", "ActiveExitTimestamp": "Tue 2024-11-12 09:50:19 EST", "ActiveExitTimestampMonotonic": "1248337638", "ActiveState": "active", "After": "auditd.service system.slice systemd-journald.socket basic.target -.mount network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:51:04 EST", "AssertTimestampMonotonic": "1293146341", "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": "Tue 2024-11-12 09:51:04 EST", "ConditionTimestampMonotonic": "1293146340", "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": "8747", "ExecMainStartTimestamp": "Tue 2024-11-12 09:51:04 EST", "ExecMainStartTimestampMonotonic": "1293147383", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-11-12 09:51:04 EST] ; stop_time=[n/a] ; pid=8747 ; 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": "Tue 2024-11-12 09:50:21 EST", "InactiveEnterTimestampMonotonic": "1250137324", "InactiveExitTimestamp": "Tue 2024-11-12 09:51:04 EST", "InactiveExitTimestampMonotonic": "1293147603", "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": "8747", "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": "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": "Tue 2024-11-12 09:51:04 EST", "WatchdogTimestampMonotonic": "1293147420", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Tuesday 12 November 2024 09:52:05 -0500 (0:00:00.639) 0:05:55.408 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003261", "end": "2024-11-12 09:52:06.195217", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:52:06.191956" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Tuesday 12 November 2024 09:52:06 -0500 (0:00:00.467) 0:05:55.875 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003374", "end": "2024-11-12 09:52:06.690343", "failed_when_result": false, "rc": 0, "start": "2024-11-12 09:52:06.686969" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Tuesday 12 November 2024 09:52:06 -0500 (0:00:00.501) 0:05:56.377 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Tuesday 12 November 2024 09:52:06 -0500 (0:00:00.137) 0:05:56.514 ****** 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": 7885, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Tuesday 12 November 2024 09:52:08 -0500 (0:00:01.828) 0:05:58.343 ****** ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools/bin/sqlcmd", "-S", "127.0.0.1,1435", "-U", "sa", "-P", "p@55w0rD1", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.022114", "end": "2024-11-12 09:52:09.281223", "rc": 0, "start": "2024-11-12 09:52:09.259109" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2019 (RTM-CU27) (KB5037331) - 15.0.4375.4 (X64) Jun 10 2024 18:00:07 Copyright (C) 2019 Microsoft Corporation Standard Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Tuesday 12 November 2024 09:52:09 -0500 (0:00:00.588) 0:05:58.931 ****** ok: [managed-node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Tuesday 12 November 2024 09:52:09 -0500 (0:00:00.098) 0:05:59.029 ****** included: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml for managed-node1 TASK [Gather package facts] **************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 Tuesday 12 November 2024 09:52:09 -0500 (0:00:00.199) 0:05:59.229 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:12 Tuesday 12 November 2024 09:52:11 -0500 (0:00:01.779) 0:06:01.009 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:17 Tuesday 12 November 2024 09:52:11 -0500 (0:00:00.115) 0:06:01.124 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Tuesday 12 November 2024 09:52:11 -0500 (0:00:00.172) 0:06:01.297 ****** included: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml for managed-node1 TASK [Gather package facts] **************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 Tuesday 12 November 2024 09:52:11 -0500 (0:00:00.215) 0:06:01.512 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:12 Tuesday 12 November 2024 09:52:13 -0500 (0:00:01.327) 0:06:02.840 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed powershell] *********************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:17 Tuesday 12 November 2024 09:52:13 -0500 (0:00:00.079) 0:06:02.919 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Tuesday 12 November 2024 09:52:13 -0500 (0:00:00.143) 0:06:03.063 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004769", "end": "2024-11-12 09:52:13.929781", "rc": 0, "start": "2024-11-12 09:52:13.925012" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Tuesday 12 November 2024 09:52:14 -0500 (0:00:00.575) 0:06:03.638 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Tuesday 12 November 2024 09:52:14 -0500 (0:00:00.303) 0:06:03.942 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Tuesday 12 November 2024 09:52:14 -0500 (0:00:00.143) 0:06:04.085 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:52:14 -0500 (0:00:00.176) 0:06:04.262 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004341", "end": "2024-11-12 09:52:15.026903", "rc": 0, "start": "2024-11-12 09:52:15.022562" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:52:15 -0500 (0:00:00.541) 0:06:04.803 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:52:15 -0500 (0:00:00.126) 0:06:04.929 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:52:15 -0500 (0:00:00.107) 0:06:05.037 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Tuesday 12 November 2024 09:52:15 -0500 (0:00:00.082) 0:06:05.119 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Tuesday 12 November 2024 09:52:15 -0500 (0:00:00.137) 0:06:05.256 ****** ok: [managed-node1] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004258", "end": "2024-11-12 09:52:15.994295", "rc": 0, "start": "2024-11-12 09:52:15.990037" } STDOUT: writethrough = 0 TASK [Verify the setting when it is type str writethrough] ********************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Tuesday 12 November 2024 09:52:16 -0500 (0:00:00.376) 0:06:05.632 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Tuesday 12 November 2024 09:52:16 -0500 (0:00:00.080) 0:06:05.713 ****** ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Tuesday 12 November 2024 09:52:16 -0500 (0:00:00.108) 0:06:05.822 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Tuesday 12 November 2024 09:52:16 -0500 (0:00:00.077) 0:06:05.900 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Tuesday 12 November 2024 09:52:16 -0500 (0:00:00.074) 0:06:05.974 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Tuesday 12 November 2024 09:52:16 -0500 (0:00:00.073) 0:06:06.047 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Tuesday 12 November 2024 09:52:16 -0500 (0:00:00.080) 0:06:06.128 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Tuesday 12 November 2024 09:52:16 -0500 (0:00:00.072) 0:06:06.201 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:101 Tuesday 12 November 2024 09:52:16 -0500 (0:00:00.205) 0:06:06.406 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/check_header.yml:4 Tuesday 12 November 2024 09:52:17 -0500 (0:00:00.726) 0:06:07.132 ****** ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003792", "end": "2024-11-12 09:52:18.088217", "rc": 0, "start": "2024-11-12 09:52:18.084425" } 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_idempotency_2019.yml:18 Tuesday 12 November 2024 09:52:18 -0500 (0:00:00.592) 0:06:07.724 ****** included: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml for managed-node1 TASK [Gather package facts] **************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Tuesday 12 November 2024 09:52:18 -0500 (0:00:00.122) 0:06:07.846 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:6 Tuesday 12 November 2024 09:52:19 -0500 (0:00:01.674) 0:06:09.521 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:14 Tuesday 12 November 2024 09:52:20 -0500 (0:00:00.149) 0:06:09.670 ****** ok: [managed-node1] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:18 Tuesday 12 November 2024 09:52:20 -0500 (0:00:00.113) 0:06:09.784 ****** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 12 November 2024 09:52:20 -0500 (0:00:00.236) 0:06:10.021 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 12 November 2024 09:52:20 -0500 (0:00:00.162) 0:06:10.183 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 12 November 2024 09:52:20 -0500 (0:00:00.145) 0:06:10.329 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 12 November 2024 09:52:21 -0500 (0:00:00.474) 0:06:10.804 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 12 November 2024 09:52:21 -0500 (0:00:00.125) 0:06:10.930 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 12 November 2024 09:52:21 -0500 (0:00:00.534) 0:06:11.465 ****** ok: [managed-node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 12 November 2024 09:52:22 -0500 (0:00:00.129) 0:06:11.594 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 12 November 2024 09:52:22 -0500 (0:00:00.814) 0:06:12.409 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 12 November 2024 09:52:22 -0500 (0:00:00.112) 0:06:12.521 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 12 November 2024 09:52:23 -0500 (0:00:00.111) 0:06:12.633 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 12 November 2024 09:52:23 -0500 (0:00:00.114) 0:06:12.747 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 12 November 2024 09:52:23 -0500 (0:00:00.107) 0:06:12.854 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 12 November 2024 09:52:23 -0500 (0:00:00.375) 0:06:13.230 ****** ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:33:52 EST", "ActiveEnterTimestampMonotonic": "260632252", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:33:52 EST", "AssertTimestampMonotonic": "260388998", "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": "Tue 2024-11-12 09:33:52 EST", "ConditionTimestampMonotonic": "260388997", "Conflicts": "iptables.service ebtables.service ipset.service ip6tables.service shutdown.target", "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": "9682", "ExecMainStartTimestamp": "Tue 2024-11-12 09:33:52 EST", "ExecMainStartTimestampMonotonic": "260390816", "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": "Tue 2024-11-12 09:33:52 EST", "InactiveExitTimestampMonotonic": "260390848", "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": "9682", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2024-11-12 09:33:52 EST", "WatchdogTimestampMonotonic": "260632196", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 12 November 2024 09:52:29 -0500 (0:00:05.625) 0:06:18.856 ****** ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-11-12 09:33:52 EST", "ActiveEnterTimestampMonotonic": "260632252", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice dbus.service polkit.service basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-11-12 09:33:52 EST", "AssertTimestampMonotonic": "260388998", "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": "Tue 2024-11-12 09:33:52 EST", "ConditionTimestampMonotonic": "260388997", "Conflicts": "iptables.service ebtables.service ipset.service ip6tables.service shutdown.target", "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": "9682", "ExecMainStartTimestamp": "Tue 2024-11-12 09:33:52 EST", "ExecMainStartTimestampMonotonic": "260390816", "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": "Tue 2024-11-12 09:33:52 EST", "InactiveExitTimestampMonotonic": "260390848", "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": "9682", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2024-11-12 09:33:52 EST", "WatchdogTimestampMonotonic": "260632196", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 12 November 2024 09:52:29 -0500 (0:00:00.586) 0:06:19.442 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 12 November 2024 09:52:30 -0500 (0:00:00.103) 0:06:19.546 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.9.24 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 12 November 2024 09:52:30 -0500 (0:00:00.553) 0:06:20.100 ****** ok: [managed-node1] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 12 November 2024 09:52:30 -0500 (0:00:00.127) 0:06:20.227 ****** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Tuesday 12 November 2024 09:52:30 -0500 (0:00:00.107) 0:06:20.335 ****** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Tuesday 12 November 2024 09:52:30 -0500 (0:00:00.119) 0:06:20.454 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Tuesday 12 November 2024 09:52:31 -0500 (0:00:00.128) 0:06:20.583 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Tuesday 12 November 2024 09:52:31 -0500 (0:00:00.108) 0:06:20.691 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Tuesday 12 November 2024 09:52:31 -0500 (0:00:00.095) 0:06:20.787 ****** ok: [managed-node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.9.24 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Tuesday 12 November 2024 09:52:36 -0500 (0:00:05.489) 0:06:26.277 ****** ok: [managed-node1] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Tuesday 12 November 2024 09:52:36 -0500 (0:00:00.086) 0:06:26.363 ****** skipping: [managed-node1] => {} TASK [Purge selinux configuration] ********************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:26 Tuesday 12 November 2024 09:52:36 -0500 (0:00:00.082) 0:06:26.445 ****** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Tuesday 12 November 2024 09:52:37 -0500 (0:00:00.185) 0:06:26.631 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Tuesday 12 November 2024 09:52:37 -0500 (0:00:00.200) 0:06:26.831 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Tuesday 12 November 2024 09:52:37 -0500 (0:00:00.149) 0:06:26.980 ****** included: /tmp/collections-NiM/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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Tuesday 12 November 2024 09:52:37 -0500 (0:00:00.217) 0:06:27.197 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Tuesday 12 November 2024 09:52:38 -0500 (0:00:00.470) 0:06:27.668 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Tuesday 12 November 2024 09:52:38 -0500 (0:00:00.135) 0:06:27.803 ****** ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Tuesday 12 November 2024 09:52:38 -0500 (0:00:00.458) 0:06:28.262 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Tuesday 12 November 2024 09:52:38 -0500 (0:00:00.102) 0:06:28.364 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Tuesday 12 November 2024 09:52:39 -0500 (0:00:00.636) 0:06:29.001 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Tuesday 12 November 2024 09:52:39 -0500 (0:00:00.272) 0:06:29.274 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Tuesday 12 November 2024 09:52:39 -0500 (0:00:00.120) 0:06:29.394 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Tuesday 12 November 2024 09:52:39 -0500 (0:00:00.112) 0:06:29.507 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Tuesday 12 November 2024 09:52:40 -0500 (0:00:00.110) 0:06:29.617 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Tuesday 12 November 2024 09:52:40 -0500 (0:00:00.122) 0:06:29.740 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Tuesday 12 November 2024 09:52:40 -0500 (0:00:00.113) 0:06:29.853 ****** ok: [managed-node1] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Tuesday 12 November 2024 09:52:41 -0500 (0:00:00.710) 0:06:30.564 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Tuesday 12 November 2024 09:52:41 -0500 (0:00:00.112) 0:06:30.676 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Tuesday 12 November 2024 09:52:41 -0500 (0:00:00.101) 0:06:30.778 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Tuesday 12 November 2024 09:52:41 -0500 (0:00:00.102) 0:06:30.880 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Tuesday 12 November 2024 09:52:41 -0500 (0:00:00.091) 0:06:30.972 ****** skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Tuesday 12 November 2024 09:52:41 -0500 (0:00:00.072) 0:06:31.044 ****** 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:01.122951", "end": "2024-11-12 09:52:42.904465", "rc": 0, "start": "2024-11-12 09:52:41.781514" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Tuesday 12 November 2024 09:52:43 -0500 (0:00:01.497) 0:06:32.541 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Tuesday 12 November 2024 09:52:43 -0500 (0:00:00.072) 0:06:32.614 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Tuesday 12 November 2024 09:52:43 -0500 (0:00:00.233) 0:06:32.848 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Tuesday 12 November 2024 09:52:43 -0500 (0:00:00.115) 0:06:32.963 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Tuesday 12 November 2024 09:52:43 -0500 (0:00:00.122) 0:06:33.086 ****** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Tuesday 12 November 2024 09:52:43 -0500 (0:00:00.114) 0:06:33.200 ****** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Tuesday 12 November 2024 09:52:43 -0500 (0:00:00.117) 0:06:33.318 ****** TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Tuesday 12 November 2024 09:52:43 -0500 (0:00:00.103) 0:06:33.421 ****** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Tuesday 12 November 2024 09:52:43 -0500 (0:00:00.112) 0:06:33.534 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Tuesday 12 November 2024 09:52:47 -0500 (0:00:03.105) 0:06:36.640 ****** 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-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Tuesday 12 November 2024 09:52:47 -0500 (0:00:00.103) 0:06:36.743 ****** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Tuesday 12 November 2024 09:52:47 -0500 (0:00:00.239) 0:06:36.983 ****** TASK [Leave realm] ************************************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:32 Tuesday 12 November 2024 09:52:47 -0500 (0:00:00.147) 0:06:37.130 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:40 Tuesday 12 November 2024 09:52:47 -0500 (0:00:00.218) 0:06:37.349 ****** skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:44 Tuesday 12 November 2024 09:52:48 -0500 (0:00:00.197) 0:06:37.546 ****** ok: [managed-node1] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:50 Tuesday 12 November 2024 09:52:48 -0500 (0:00:00.620) 0:06:38.168 ****** 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:15.0.4375.4-1 will be erased\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be erased\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n--> Finding unneeded leftover dependencies\n---> Marking msodbcsql17 to be removed - no longer needed by mssql-tools\n---> Marking unixODBC to be removed - no longer needed by unixODBC-devel\n---> Marking python3 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl to be removed - no longer needed by mssql-server\n---> Marking gdb to be removed - no longer needed by mssql-server\n---> Marking libatomic to be removed - no longer needed by mssql-server\n---> Marking libsss_nss_idmap to be removed - no longer needed by mssql-server\n---> Marking lsof to be removed - no longer needed by mssql-server\n---> Marking bzip2 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl-gssapi to be removed - no longer needed by mssql-server\n---> Marking libtool-ltdl to be removed - no longer needed by unixODBC\n---> Marking python3-libs to be removed - no longer needed by python3\n---> Marking python3-setuptools to be removed - no longer needed by python3\n---> Marking python3-pip to be removed - no longer needed by python3\nFound and removing 14 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package lsof.x86_64 0:4.87-6.el7 will be erased\n---> Package msodbcsql17.x86_64 0:17.10.6.1-1 will be erased\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be erased\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 15.0.4375.4-1 @packages-microsoft-com-mssql-server-2019\n 1.1 G\n mssql-tools x86_64 17.10.1.1-1 @packages-microsoft-com-prod 714 k\n unixODBC-devel x86_64 2.3.11-1.rh @packages-microsoft-com-prod 223 k\nRemoving for dependencies:\n bzip2 x86_64 1.0.6-13.el7 @base 82 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 @updates 141 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 @updates 36 k\n gdb x86_64 7.6.1-120.el7 @base 7.0 M\n libatomic x86_64 4.8.5-44.el7 @base 26 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 @updates 82 k\n libtool-ltdl x86_64 2.4.2-22.el7_3 @base 66 k\n lsof x86_64 4.87-6.el7 @base 927 k\n msodbcsql17 x86_64 17.10.6.1-1 @packages-microsoft-com-prod 2.2 M\n python3 x86_64 3.6.8-21.el7_9 @updates 39 k\n python3-libs x86_64 3.6.8-21.el7_9 @updates 35 M\n python3-pip noarch 9.0.3-8.el7 @base 9.1 M\n python3-setuptools\n noarch 39.2.0-10.el7 @base 3.6 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+14 Dependent packages)\n\nInstalled size: 1.2 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-15.0.4375.4-1.x86_64 1/17 \n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 2/17 \n Erasing : mssql-tools-17.10.1.1-1.x86_64 3/17 \n Erasing : python3-libs-3.6.8-21.el7_9.x86_64 4/17 \n Erasing : python3-pip-9.0.3-8.el7.noarch 5/17 \n Erasing : python3-setuptools-39.2.0-10.el7.noarch 6/17 \n Erasing : python3-3.6.8-21.el7_9.x86_64 7/17 \n Erasing : msodbcsql17-17.10.6.1-1.x86_64 8/17 \nODBC Driver 17 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-2.3.11-1.rh.x86_64 9/17 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 10/17 \n Erasing : libatomic-4.8.5-44.el7.x86_64 11/17 \n Erasing : bzip2-1.0.6-13.el7.x86_64 12/17 \n Erasing : gdb-7.6.1-120.el7.x86_64 13/17 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 14/17 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 15/17 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 16/17 \n Erasing : lsof-4.87-6.el7.x86_64 17/17 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/17 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 2/17 \n Verifying : python3-3.6.8-21.el7_9.x86_64 3/17 \n Verifying : mssql-server-15.0.4375.4-1.x86_64 4/17 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 5/17 \n Verifying : bzip2-1.0.6-13.el7.x86_64 6/17 \n Verifying : msodbcsql17-17.10.6.1-1.x86_64 7/17 \n Verifying : lsof-4.87-6.el7.x86_64 8/17 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 9/17 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 10/17 \n Verifying : gdb-7.6.1-120.el7.x86_64 11/17 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 12/17 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 13/17 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 14/17 \n Verifying : python3-pip-9.0.3-8.el7.noarch 15/17 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 16/17 \n Verifying : libatomic-4.8.5-44.el7.x86_64 17/17 \n\nRemoved:\n mssql-server.x86_64 0:15.0.4375.4-1 mssql-tools.x86_64 0:17.10.1.1-1 \n unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Removed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 \n lsof.x86_64 0:4.87-6.el7 \n msodbcsql17.x86_64 0:17.10.6.1-1 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:63 Tuesday 12 November 2024 09:52:52 -0500 (0:00:03.982) 0:06:42.150 ****** [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.019177", "end": "2024-11-12 09:52:52.955129", "rc": 0, "start": "2024-11-12 09:52:52.935952" } STDOUT: removed ‘/var/opt/mssql/FTData/tsheb.xml’ removed ‘/var/opt/mssql/FTData/tsplk.xml’ removed ‘/var/opt/mssql/FTData/tsptg.xml’ removed ‘/var/opt/mssql/FTData/tsmal.xml’ removed ‘/var/opt/mssql/FTData/tsfra.xml’ removed directory: ‘/var/opt/mssql/FTData/FilterData’ removed ‘/var/opt/mssql/FTData/tsrus.xml’ removed ‘/var/opt/mssql/FTData/tsguj.xml’ removed ‘/var/opt/mssql/FTData/tsnor.xml’ removed ‘/var/opt/mssql/FTData/tsenu.xml’ removed ‘/var/opt/mssql/FTData/tstam.xml’ removed ‘/var/opt/mssql/FTData/tssky.xml’ removed ‘/var/opt/mssql/FTData/tseng.xml’ removed ‘/var/opt/mssql/FTData/tsita.xml’ removed ‘/var/opt/mssql/FTData/tsmar.xml’ removed ‘/var/opt/mssql/FTData/tskan.xml’ removed ‘/var/opt/mssql/FTData/tsglobal.xml’ removed ‘/var/opt/mssql/FTData/tsara.xml’ removed ‘/var/opt/mssql/FTData/tsben.xml’ removed ‘/var/opt/mssql/FTData/tsesn.xml’ removed ‘/var/opt/mssql/FTData/tsnld.xml’ removed ‘/var/opt/mssql/FTData/tsisl.xml’ removed ‘/var/opt/mssql/FTData/tskor.xml’ removed ‘/var/opt/mssql/FTData/tstel.xml’ removed ‘/var/opt/mssql/FTData/tsukr.xml’ removed ‘/var/opt/mssql/FTData/tstrk.xml’ removed ‘/var/opt/mssql/FTData/tshin.xml’ removed ‘/var/opt/mssql/FTData/tscht.xml’ removed ‘/var/opt/mssql/FTData/tstha.xml’ removed ‘/var/opt/mssql/FTData/tslvi.xml’ removed ‘/var/opt/mssql/FTData/tsdan.xml’ removed ‘/var/opt/mssql/FTData/tsvit.xml’ removed ‘/var/opt/mssql/FTData/tsrom.xml’ removed ‘/var/opt/mssql/FTData/tshrv.xml’ removed ‘/var/opt/mssql/FTData/tsmsl.xml’ removed ‘/var/opt/mssql/FTData/tsdeu.xml’ removed ‘/var/opt/mssql/FTData/tschs.xml’ removed ‘/var/opt/mssql/FTData/tsurd.xml’ removed ‘/var/opt/mssql/FTData/tsgrk.xml’ removed ‘/var/opt/mssql/FTData/tssve.xml’ removed ‘/var/opt/mssql/FTData/tsslv.xml’ removed ‘/var/opt/mssql/FTData/tsbgr.xml’ removed ‘/var/opt/mssql/FTData/tssrb.xml’ removed ‘/var/opt/mssql/FTData/tsptb.xml’ removed ‘/var/opt/mssql/FTData/tsjpn.xml’ removed ‘/var/opt/mssql/FTData/tsind.xml’ removed ‘/var/opt/mssql/FTData/tslth.xml’ removed ‘/var/opt/mssql/FTData/tssrl.xml’ removed ‘/var/opt/mssql/FTData/tspan.xml’ removed ‘/var/opt/mssql/FTData/tscat.xml’ removed ‘/var/opt/mssql/FTData/tscze.xml’ removed directory: ‘/var/opt/mssql/FTData’ removed ‘/var/opt/mssql/mssql.conf’ removed ‘/var/opt/mssql/data/model.mdf’ removed ‘/var/opt/mssql/data/templog.ldf’ removed ‘/var/opt/mssql/data/tempdb.mdf’ removed ‘/var/opt/mssql/data/msdbdata.mdf’ removed ‘/var/opt/mssql/data/Entropy.bin’ removed ‘/var/opt/mssql/data/model_replicatedmaster.ldf’ removed ‘/var/opt/mssql/data/model_replicatedmaster.mdf’ removed ‘/var/opt/mssql/data/modellog.ldf’ removed ‘/var/opt/mssql/data/tempdb2.ndf’ removed ‘/var/opt/mssql/data/msdblog.ldf’ removed ‘/var/opt/mssql/data/mastlog.ldf’ removed ‘/var/opt/mssql/data/master.mdf’ removed ‘/var/opt/mssql/data/model_msdbdata.mdf’ removed ‘/var/opt/mssql/data/model_msdblog.ldf’ removed directory: ‘/var/opt/mssql/data’ removed ‘/var/opt/mssql/secrets/machine-key’ removed directory: ‘/var/opt/mssql/secrets’ removed ‘/var/opt/mssql/.system/system/lsa.hiv’ removed directory: ‘/var/opt/mssql/.system/system/Temp’ removed ‘/var/opt/mssql/.system/system/licensing.hiv’ removed ‘/var/opt/mssql/.system/system/lsasetup.log’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/599e512f-be7b-4205-9e33-96aaf31ef18c’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles/Scm’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles’ removed directory: ‘/var/opt/mssql/.system/system/system32’ removed ‘/var/opt/mssql/.system/system/security.hiv’ removed ‘/var/opt/mssql/.system/system/debug/PASSWD.LOG’ removed directory: ‘/var/opt/mssql/.system/system/debug’ removed directory: ‘/var/opt/mssql/.system/system’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Temp’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/LocalLow’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Desktop’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Documents’ removed directory: ‘/var/opt/mssql/.system/profiles/Client’ removed directory: ‘/var/opt/mssql/.system/profiles’ removed ‘/var/opt/mssql/.system/instance_id’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft’ removed directory: ‘/var/opt/mssql/.system/programdata’ removed directory: ‘/var/opt/mssql/.system’ removed ‘/var/opt/mssql/log/system_health_0_133758964319760000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133758964274690000.xel’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133758965196390000.xel’ removed ‘/var/opt/mssql/log/log_4.trc’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/errorlog’ removed ‘/var/opt/mssql/log/log_2.trc’ removed ‘/var/opt/mssql/log/errorlog.5’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/sqlagent.1’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133758964313680000.xel’ removed ‘/var/opt/mssql/log/log_5.trc’ removed ‘/var/opt/mssql/log/sqlagent.2’ removed ‘/var/opt/mssql/log/errorlog.4’ removed ‘/var/opt/mssql/log/errorlog.2’ removed ‘/var/opt/mssql/log/FDLAUNCHERRORLOG’ removed ‘/var/opt/mssql/log/sqlagent.out’ removed ‘/var/opt/mssql/log/system_health_0_133758966384760000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133758966380060000.xel’ removed ‘/var/opt/mssql/log/log_1.trc’ removed ‘/var/opt/mssql/log/system_health_0_133758966678060000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133758965201580000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133758966672130000.xel’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/system_health_0_133758966270310000.xel’ removed ‘/var/opt/mssql/log/mssql-conf/mssql-conf.log’ removed directory: ‘/var/opt/mssql/log/mssql-conf’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133758964267500000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133758966265750000.xel’ removed directory: ‘/var/opt/mssql/log’ removed directory: ‘/var/opt/mssql’ removed directory: ‘/opt/mssql/misc’ removed directory: ‘/opt/mssql’ removed directory: ‘/opt/mssql-tools’ removed ‘/etc/yum.repos.d/packages-microsoft-com-mssql-server-2019.repo’ removed ‘/etc/yum.repos.d/packages-microsoft-com-prod.repo’ removed directory: ‘/tmp/mssql_data’ removed directory: ‘/tmp/mssql_log’ removed ‘/etc/systemd/system/multi-user.target.wants/mssql-server.service’ TASK [Stop the mssql-server service] ******************************************* task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:77 Tuesday 12 November 2024 09:52:53 -0500 (0:00:00.541) 0:06:42.691 ****** ok: [managed-node1] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.899086", "end": "2024-11-12 09:52:54.365208", "rc": 0, "start": "2024-11-12 09:52:53.466122" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Tuesday 12 November 2024 09:52:54 -0500 (0:00:01.258) 0:06:43.950 ****** changed: [managed-node1] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.838814", "end": "2024-11-12 09:52:56.801189", "rc": 0, "start": "2024-11-12 09:52:54.962375" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=339 changed=38 unreachable=0 failed=0 skipped=567 rescued=0 ignored=1 Tuesday 12 November 2024 09:52:56 -0500 (0:00:02.460) 0:06:46.410 ****** =============================================================================== fedora.linux_system_roles.mssql : Change the edition of MSSQL ----------- 7.39s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 fedora.linux_system_roles.mssql : Change the password of sa user -------- 7.03s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Get the value of the setting tcpport ------------------------------------ 5.63s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 fedora.linux_system_roles.firewall : Unmask firewalld service ----------- 5.63s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 fedora.linux_system_roles.firewall : Get config files, checksums after --- 5.49s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Remove related packages ------------------------------------------------- 3.98s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:50 fedora.linux_system_roles.mssql : Gather system services facts ---------- 3.20s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 3.11s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped --- 2.49s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.46s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 fedora.linux_system_roles.mssql : Gather package facts ------------------ 2.33s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 fedora.linux_system_roles.mssql : Deploy the GPG key for Microsoft repositories --- 2.23s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Run with the edited settings again - should report not changed ---------- 2.14s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:69 fedora.linux_system_roles.mssql : Gather package facts ------------------ 2.00s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 1.94s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.86s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Wait for mssql-server to prepare for client connections ----------------- 1.83s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Gather package facts ---------------------------------------------------- 1.78s /tmp/collections-NiM/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.76s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.74s /tmp/collections-NiM/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604