ansible-playbook 2.9.27 config file = /etc/ansible/ansible.cfg configured module search path = [u'/root/.ansible/plugins/modules', u'/usr/share/ansible/plugins/modules'] ansible python module location = /usr/lib/python2.7/site-packages/ansible executable location = /usr/bin/ansible-playbook python version = 2.7.5 (default, Nov 14 2023, 16:14:06) [GCC 4.8.5 20150623 (Red Hat 4.8.5-44)] Using /etc/ansible/ansible.cfg as config file [WARNING]: running playbook inside collection fedora.linux_system_roles Skipping callback 'actionable', as we already have a stdout callback. Skipping callback 'counter_enabled', as we already have a stdout callback. Skipping callback 'debug', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'dense', as we already have a stdout callback. Skipping callback 'full_skip', as we already have a stdout callback. Skipping callback 'json', as we already have a stdout callback. Skipping callback 'minimal', as we already have a stdout callback. Skipping callback 'null', as we already have a stdout callback. Skipping callback 'oneline', as we already have a stdout callback. Skipping callback 'selective', as we already have a stdout callback. Skipping callback 'skippy', as we already have a stdout callback. Skipping callback 'stderr', as we already have a stdout callback. Skipping callback 'unixy', as we already have a stdout callback. Skipping callback 'yaml', as we already have a stdout callback. PLAYBOOK: tests_idempotency_2017.yml ******************************************* 1 plays in /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_idempotency_2017.yml PLAY [Ensure that the role is idempotent] ************************************** META: ran handlers TASK [Run tests_idempotency with SQL Server 2017] ****************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_idempotency_2017.yml:15 Friday 22 November 2024 20:42:40 -0500 (0:00:00.109) 0:00:00.109 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:2 Friday 22 November 2024 20:42:40 -0500 (0:00:00.061) 0:00:00.170 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:2 Friday 22 November 2024 20:42:40 -0500 (0:00:00.213) 0:00:00.384 ******* ok: [managed-node1] TASK [Run the role] ************************************************************ task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:17 Friday 22 November 2024 20:42:42 -0500 (0:00:01.263) 0:00:01.647 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:24 Friday 22 November 2024 20:42:42 -0500 (0:00:00.043) 0:00:01.690 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:5 Friday 22 November 2024 20:42:42 -0500 (0:00:00.058) 0:00:01.749 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 22 November 2024 20:42:43 -0500 (0:00:00.934) 0:00:02.683 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 22 November 2024 20:42:43 -0500 (0:00:00.046) 0:00:02.730 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 22 November 2024 20:42:43 -0500 (0:00:00.054) 0:00:02.784 ******* 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-eOZ/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-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 22 November 2024 20:42:43 -0500 (0:00:00.149) 0:00:02.933 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 22 November 2024 20:42:43 -0500 (0:00:00.054) 0:00:02.988 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 22 November 2024 20:42:43 -0500 (0:00:00.044) 0:00:03.032 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 22 November 2024 20:42:43 -0500 (0:00:00.030) 0:00:03.064 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 22 November 2024 20:42:43 -0500 (0:00:00.038) 0:00:03.102 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 22 November 2024 20:42:43 -0500 (0:00:00.030) 0:00:03.133 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 22 November 2024 20:42:43 -0500 (0:00:00.051) 0:00:03.184 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 22 November 2024 20:42:43 -0500 (0:00:00.028) 0:00:03.213 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 22 November 2024 20:42:43 -0500 (0:00:00.025) 0:00:03.238 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 22 November 2024 20:42:43 -0500 (0:00:00.023) 0:00:03.262 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Friday 22 November 2024 20:42:43 -0500 (0:00:00.028) 0:00:03.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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Friday 22 November 2024 20:42:43 -0500 (0:00:00.037) 0:00:03.327 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Friday 22 November 2024 20:42:43 -0500 (0:00:00.031) 0:00:03.358 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Friday 22 November 2024 20:42:43 -0500 (0:00:00.030) 0:00:03.389 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 22 November 2024 20:42:43 -0500 (0:00:00.035) 0:00:03.424 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 22 November 2024 20:42:44 -0500 (0:00:00.047) 0:00:03.472 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Friday 22 November 2024 20:42:44 -0500 (0:00:00.040) 0:00:03.513 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Friday 22 November 2024 20:42:44 -0500 (0:00:00.078) 0:00:03.592 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Friday 22 November 2024 20:42:46 -0500 (0:00:01.959) 0:00:05.551 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 22 November 2024 20:42:46 -0500 (0:00:00.201) 0:00:05.753 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 22 November 2024 20:42:46 -0500 (0:00:00.113) 0:00:05.866 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Friday 22 November 2024 20:42:46 -0500 (0:00:00.123) 0:00:05.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" } 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Friday 22 November 2024 20:42:46 -0500 (0:00:00.163) 0:00:06.153 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Friday 22 November 2024 20:42:47 -0500 (0:00:00.824) 0:00:06.978 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Friday 22 November 2024 20:42:47 -0500 (0:00:00.112) 0:00:07.091 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 22 November 2024 20:42:47 -0500 (0:00:00.098) 0:00:07.189 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Friday 22 November 2024 20:42:47 -0500 (0:00:00.120) 0:00:07.309 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 22 November 2024 20:42:47 -0500 (0:00:00.106) 0:00:07.416 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 22 November 2024 20:42:48 -0500 (0:00:00.097) 0:00:07.513 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Friday 22 November 2024 20:42:48 -0500 (0:00:00.076) 0:00:07.590 ******* changed: [managed-node1] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2017", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 22 November 2024 20:42:48 -0500 (0:00:00.641) 0:00:08.232 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 22 November 2024 20:42:48 -0500 (0:00:00.102) 0:00:08.334 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 22 November 2024 20:42:49 -0500 (0:00:01.009) 0:00:09.344 ******* changed: [managed-node1] => { "changed": true, "changes": { "installed": [ "mssql-server" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: dl.fedoraproject.org\n * epel-debuginfo: dl.fedoraproject.org\n * epel-source: dl.fedoraproject.org\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3465.1-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-14.0.3465.1-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-14.0.3465.1-1.x86_64\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be installed\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 14.0.3465.1-1 packages-microsoft-com-mssql-server-2017\n 200 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 base 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 updates 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 updates 41 k\n gdb x86_64 7.6.1-120.el7 base 2.4 M\n libatomic x86_64 4.8.5-44.el7 base 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 updates 170 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+6 Dependent packages)\n\nTotal download size: 203 M\nInstalled size: 1.0 G\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 47 MB/s | 203 MB 00:04 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libatomic-4.8.5-44.el7.x86_64 1/7 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 2/7 \n Installing : gdb-7.6.1-120.el7.x86_64 3/7 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Installing : bzip2-1.0.6-13.el7.x86_64 5/7 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 6/7 \n Installing : mssql-server-14.0.3465.1-1.x86_64 7/7 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\nSQL Server needs to be restarted in order to apply this setting. Please run\n'systemctl restart mssql-server.service'.\n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 1/7 \n Verifying : bzip2-1.0.6-13.el7.x86_64 2/7 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 3/7 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 4/7 \n Verifying : gdb-7.6.1-120.el7.x86_64 5/7 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/7 \n Verifying : libatomic-4.8.5-44.el7.x86_64 7/7 \n\nInstalled:\n mssql-server.x86_64 0:14.0.3465.1-1 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n\nComplete!\n" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:296 Friday 22 November 2024 20:43:29 -0500 (0:00:39.536) 0:00:48.881 ******* 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.006248", "end": "2024-11-22 20:43:30.114636", "rc": 0, "start": "2024-11-22 20:43:30.108388" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:312 Friday 22 November 2024 20:43:30 -0500 (0:00:00.828) 0:00:49.709 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:316 Friday 22 November 2024 20:43:31 -0500 (0:00:01.602) 0:00:51.312 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:325 Friday 22 November 2024 20:43:32 -0500 (0:00:00.189) 0:00:51.501 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:341 Friday 22 November 2024 20:43:32 -0500 (0:00:00.139) 0:00:51.641 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:366 Friday 22 November 2024 20:43:38 -0500 (0:00:06.192) 0:00:57.834 ******* included: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node1 included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 22 November 2024 20:43:38 -0500 (0:00:00.209) 0:00:58.043 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 22 November 2024 20:43:39 -0500 (0:00:01.069) 0:00:59.113 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 22 November 2024 20:43:39 -0500 (0:00:00.219) 0:00:59.332 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 22 November 2024 20:43:40 -0500 (0:00:00.313) 0:00:59.645 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.004916", "end": "2024-11-22 20:43:40.695381", "failed_when_result": false, "rc": 1, "start": "2024-11-22 20:43:40.690465" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 22 November 2024 20:43:40 -0500 (0:00:00.646) 0:01:00.292 ******* 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.141450", "end": "2024-11-22 20:43:41.656076", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:43:41.514626" } 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 22 November 2024 20:43:42 -0500 (0:00:01.245) 0:01:01.537 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 22 November 2024 20:43:42 -0500 (0:00:00.159) 0:01:01.697 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 22 November 2024 20:43:42 -0500 (0:00:00.620) 0:01:02.317 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 22 November 2024 20:43:43 -0500 (0:00:00.255) 0:01:02.573 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 22 November 2024 20:43:43 -0500 (0:00:00.372) 0:01:02.946 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003402", "end": "2024-11-22 20:43:43.930218", "failed_when_result": false, "rc": 1, "start": "2024-11-22 20:43:43.926816" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 22 November 2024 20:43:44 -0500 (0:00:00.686) 0:01:03.632 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/tmp/mssql_log" ], "delta": "0:00:00.049761", "end": "2024-11-22 20:43:44.716642", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:43:44.666881" } 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 22 November 2024 20:43:44 -0500 (0:00:00.708) 0:01:04.341 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:381 Friday 22 November 2024 20:43:44 -0500 (0:00:00.095) 0:01:04.437 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:395 Friday 22 November 2024 20:43:45 -0500 (0:00:00.082) 0:01:04.519 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Friday 22 November 2024 20:43:45 -0500 (0:00:00.081) 0:01:04.601 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:412 Friday 22 November 2024 20:43:45 -0500 (0:00:00.641) 0:01:05.242 ******* ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-22 20:13:02 EST", "ActiveEnterTimestampMonotonic": "9009119", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-sysctl.service system.slice systemd-journald.socket network.target basic.target dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-22 20:13:01 EST", "AssertTimestampMonotonic": "7806256", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-11-22 20:13:01 EST", "ConditionTimestampMonotonic": "7806255", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "840", "ExecMainStartTimestamp": "Fri 2024-11-22 20:13:01 EST", "ExecMainStartTimestampMonotonic": "7807090", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-11-22 20:13:01 EST", "InactiveExitTimestampMonotonic": "7807151", "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": "840", "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 system.slice dbus.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": "Fri 2024-11-22 20:13:02 EST", "WatchdogTimestampMonotonic": "9009058", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:419 Friday 22 November 2024 20:43:46 -0500 (0:00:01.168) 0:01:06.410 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.107456", "end": "2024-11-22 20:43:47.397635", "rc": 0, "start": "2024-11-22 20:43:47.290179" } 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:432 Friday 22 November 2024 20:43:47 -0500 (0:00:00.791) 0:01:07.202 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:445 Friday 22 November 2024 20:43:48 -0500 (0:00:00.275) 0:01:07.477 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:454 Friday 22 November 2024 20:43:48 -0500 (0:00:00.225) 0:01:07.703 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:464 Friday 22 November 2024 20:43:48 -0500 (0:00:00.133) 0:01:07.836 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 22 November 2024 20:43:48 -0500 (0:00:00.555) 0:01:08.391 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:481 Friday 22 November 2024 20:43:49 -0500 (0:00:00.129) 0:01:08.521 ******* changed: [managed-node1] => { "changed": true, "changes": { "installed": [ "mssql-tools18", "unixODBC-devel" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: dl.fedoraproject.org\n * epel-debuginfo: dl.fedoraproject.org\n * epel-source: dl.fedoraproject.org\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-tools18.x86_64 0:18.4.1.1-1 will be installed\n--> Processing Dependency: msodbcsql18 >= 18.0.0.0 for package: mssql-tools18-18.4.1.1-1.x86_64\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: unixODBC = 2.3.11 for package: unixODBC-devel-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package msodbcsql18.x86_64 0:18.4.1.1-1 will be installed\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-tools18 x86_64 18.4.1.1-1 packages-microsoft-com-prod 293 k\n unixODBC-devel x86_64 2.3.11-1.rh packages-microsoft-com-prod 53 k\nInstalling for dependencies:\n libtool-ltdl x86_64 2.4.2-22.el7_3 base 49 k\n msodbcsql18 x86_64 18.4.1.1-1 packages-microsoft-com-prod 923 k\n unixODBC x86_64 2.3.11-1.rh packages-microsoft-com-prod 274 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+3 Dependent packages)\n\nTotal download size: 1.6 M\nInstalled size: 3.9 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 3.3 MB/s | 1.6 MB 00:00 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libtool-ltdl-2.4.2-22.el7_3.x86_64 1/5 \n Installing : unixODBC-2.3.11-1.rh.x86_64 2/5 \n Installing : msodbcsql18-18.4.1.1-1.x86_64 3/5 \nodbcinst: Driver installed. Usage count increased to 1. \n Target directory is /etc\n Installing : mssql-tools18-18.4.1.1-1.x86_64 4/5 \n Installing : unixODBC-devel-2.3.11-1.rh.x86_64 5/5 \n Verifying : mssql-tools18-18.4.1.1-1.x86_64 1/5 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 2/5 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 3/5 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 4/5 \n Verifying : msodbcsql18-18.4.1.1-1.x86_64 5/5 \n\nInstalled:\n mssql-tools18.x86_64 0:18.4.1.1-1 unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Installed:\n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 msodbcsql18.x86_64 0:18.4.1.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } lsrpackages: mssql-tools18 unixODBC-devel TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:498 Friday 22 November 2024 20:43:55 -0500 (0:00:06.733) 0:01:15.254 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:512 Friday 22 November 2024 20:43:55 -0500 (0:00:00.136) 0:01:15.391 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:517 Friday 22 November 2024 20:43:56 -0500 (0:00:00.148) 0:01:15.539 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 22 November 2024 20:43:56 -0500 (0:00:00.292) 0:01:15.832 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 22 November 2024 20:43:56 -0500 (0:00:00.250) 0:01:16.083 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 22 November 2024 20:43:56 -0500 (0:00:00.288) 0:01:16.371 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:560 Friday 22 November 2024 20:43:57 -0500 (0:00:00.319) 0:01:16.691 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the setting forceencryption] ******* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:569 Friday 22 November 2024 20:43:57 -0500 (0:00:00.176) 0:01:16.868 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.005404", "end": "2024-11-22 20:43:58.083495", "failed_when_result": false, "rc": 1, "start": "2024-11-22 20:43:58.078091" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 22 November 2024 20:43:58 -0500 (0:00:00.891) 0:01:17.759 ******* ok: [managed-node1] => { "ansible_facts": { "__sqlcmd_cli": "/opt/mssql-tools18/bin/sqlcmd -No" }, "changed": false } TASK [fedora.linux_system_roles.mssql : Append -C to sqlcmd when TLS is configured but certs are self-signed] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:585 Friday 22 November 2024 20:43:58 -0500 (0:00:00.208) 0:01:17.967 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:598 Friday 22 November 2024 20:43:58 -0500 (0:00:00.146) 0:01:18.113 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:602 Friday 22 November 2024 20:43:58 -0500 (0:00:00.132) 0:01:18.246 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:608 Friday 22 November 2024 20:43:58 -0500 (0:00:00.158) 0:01:18.405 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Friday 22 November 2024 20:43:59 -0500 (0:00:00.232) 0:01:18.637 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:630 Friday 22 November 2024 20:43:59 -0500 (0:00:00.143) 0:01:18.781 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:638 Friday 22 November 2024 20:43:59 -0500 (0:00:00.261) 0:01:19.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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:659 Friday 22 November 2024 20:43:59 -0500 (0:00:00.222) 0:01:19.265 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:666 Friday 22 November 2024 20:43:59 -0500 (0:00:00.156) 0:01:19.422 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 22 November 2024 20:44:00 -0500 (0:00:00.164) 0:01:19.586 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:691 Friday 22 November 2024 20:44:00 -0500 (0:00:00.129) 0:01:19.715 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:698 Friday 22 November 2024 20:44:00 -0500 (0:00:00.169) 0:01:19.884 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 22 November 2024 20:44:00 -0500 (0:00:00.180) 0:01:20.065 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:723 Friday 22 November 2024 20:44:00 -0500 (0:00:00.132) 0:01:20.197 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 22 November 2024 20:44:00 -0500 (0:00:00.241) 0:01:20.439 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003664", "end": "2024-11-22 20:44:01.556014", "failed_when_result": false, "rc": 1, "start": "2024-11-22 20:44:01.552350" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 22 November 2024 20:44:01 -0500 (0:00:00.926) 0:01:21.366 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "0.0.0.0" ], "delta": "0:00:00.050662", "end": "2024-11-22 20:44:02.499707", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:44:02.449045" } 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 22 November 2024 20:44:02 -0500 (0:00:00.944) 0:01:22.311 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:730 Friday 22 November 2024 20:44:03 -0500 (0:00:00.155) 0:01:22.466 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:737 Friday 22 November 2024 20:44:03 -0500 (0:00:00.164) 0:01:22.631 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Friday 22 November 2024 20:44:03 -0500 (0:00:00.219) 0:01:22.851 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 22 November 2024 20:44:03 -0500 (0:00:00.337) 0:01:23.188 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003515", "end": "2024-11-22 20:44:04.262150", "failed_when_result": false, "rc": 1, "start": "2024-11-22 20:44:04.258635" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 22 November 2024 20:44:04 -0500 (0:00:00.691) 0:01:23.880 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.051642", "end": "2024-11-22 20:44:04.823461", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:44:04.771819" } 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 22 November 2024 20:44:05 -0500 (0:00:00.598) 0:01:24.478 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 22 November 2024 20:44:05 -0500 (0:00:00.122) 0:01:24.601 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:775 Friday 22 November 2024 20:44:05 -0500 (0:00:00.174) 0:01:24.776 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 22 November 2024 20:44:05 -0500 (0:00:00.321) 0:01:25.098 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003785", "end": "2024-11-22 20:44:06.111151", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:44:06.107366" } STDOUT: enabled = false TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 22 November 2024 20:44:06 -0500 (0:00:00.723) 0:01:25.821 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "True" ], "delta": "0:00:00.050263", "end": "2024-11-22 20:44:07.064683", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:44:07.014420" } 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 22 November 2024 20:44:07 -0500 (0:00:00.889) 0:01:26.711 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:782 Friday 22 November 2024 20:44:07 -0500 (0:00:00.135) 0:01:26.847 ******* 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:14.0.3465.1-1 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server-fts\n x86_64 14.0.3465.1-1 packages-microsoft-com-mssql-server-2017 225 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 225 M\nInstalled size: 554 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : mssql-server-fts-14.0.3465.1-1.x86_64 1/1 \n\n+-------------------------------------------------------------------------------------+\nPlease restart mssql-server to enable Microsoft SQL Server Full Text Search.\n+-------------------------------------------------------------------------------------+\n\n Verifying : mssql-server-fts-14.0.3465.1-1.x86_64 1/1 \n\nInstalled:\n mssql-server-fts.x86_64 0:14.0.3465.1-1 \n\nComplete!\n" ] } lsrpackages: mssql-server-fts TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:789 Friday 22 November 2024 20:44:34 -0500 (0:00:26.909) 0:01:53.756 ******* 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 39 MB/s | 72 MB 00:01 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : libicu-50.2-4.el7_7.x86_64 1/2 \n Installing : powershell-7.3.12-1.rh.x86_64 2/2 \n Verifying : powershell-7.3.12-1.rh.x86_64 1/2 \n Verifying : libicu-50.2-4.el7_7.x86_64 2/2 \n\nInstalled:\n powershell.x86_64 0:7.3.12-1.rh \n\nDependency Installed:\n libicu.x86_64 0:50.2-4.el7_7 \n\nComplete!\n" ] } lsrpackages: powershell TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:798 Friday 22 November 2024 20:44:48 -0500 (0:00:14.470) 0:02:08.226 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003409", "end": "2024-11-22 20:44:49.065004", "failed_when_result": false, "rc": 1, "start": "2024-11-22 20:44:49.061595" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 22 November 2024 20:44:49 -0500 (0:00:00.393) 0:02:08.620 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "on" ], "delta": "0:00:00.050103", "end": "2024-11-22 20:44:49.529037", "rc": 0, "start": "2024-11-22 20:44:49.478934" } 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Friday 22 November 2024 20:44:49 -0500 (0:00:00.481) 0:02:09.101 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:819 Friday 22 November 2024 20:44:49 -0500 (0:00:00.124) 0:02:09.226 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 22 November 2024 20:44:49 -0500 (0:00:00.180) 0:02:09.406 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003632", "end": "2024-11-22 20:44:50.241795", "failed_when_result": false, "rc": 1, "start": "2024-11-22 20:44:50.238163" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 22 November 2024 20:44:50 -0500 (0:00:00.447) 0:02:09.853 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.alternatewritethrough", "0" ], "delta": "0:00:00.050034", "end": "2024-11-22 20:44:50.735692", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:44:50.685658" } 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 22 November 2024 20:44:50 -0500 (0:00:00.505) 0:02:10.359 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:825 Friday 22 November 2024 20:44:51 -0500 (0:00:00.123) 0:02:10.482 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 22 November 2024 20:44:51 -0500 (0:00:00.234) 0:02:10.717 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003384", "end": "2024-11-22 20:44:51.580603", "failed_when_result": false, "rc": 1, "start": "2024-11-22 20:44:51.577219" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 22 November 2024 20:44:51 -0500 (0:00:00.475) 0:02:11.192 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "1" ], "delta": "0:00:00.050237", "end": "2024-11-22 20:44:52.086305", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:44:52.036068" } 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 22 November 2024 20:44:52 -0500 (0:00:00.458) 0:02:11.651 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:835 Friday 22 November 2024 20:44:52 -0500 (0:00:00.111) 0:02:11.762 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 22 November 2024 20:44:52 -0500 (0:00:00.123) 0:02:11.886 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:851 Friday 22 November 2024 20:44:52 -0500 (0:00:00.111) 0:02:11.997 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:858 Friday 22 November 2024 20:44:52 -0500 (0:00:00.093) 0:02:12.090 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:865 Friday 22 November 2024 20:44:52 -0500 (0:00:00.082) 0:02:12.173 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:874 Friday 22 November 2024 20:44:52 -0500 (0:00:00.075) 0:02:12.248 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:887 Friday 22 November 2024 20:44:52 -0500 (0:00:00.103) 0:02:12.351 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:896 Friday 22 November 2024 20:44:53 -0500 (0:00:00.128) 0:02:12.480 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:910 Friday 22 November 2024 20:44:53 -0500 (0:00:00.101) 0:02:12.582 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Friday 22 November 2024 20:44:53 -0500 (0:00:00.150) 0:02:12.733 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Friday 22 November 2024 20:44:53 -0500 (0:00:00.073) 0:02:12.806 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:942 Friday 22 November 2024 20:44:53 -0500 (0:00:00.090) 0:02:12.897 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:947 Friday 22 November 2024 20:44:53 -0500 (0:00:00.124) 0:02:13.021 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:952 Friday 22 November 2024 20:44:53 -0500 (0:00:00.126) 0:02:13.147 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:958 Friday 22 November 2024 20:44:53 -0500 (0:00:00.120) 0:02:13.268 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:984 Friday 22 November 2024 20:44:53 -0500 (0:00:00.123) 0:02:13.392 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1005 Friday 22 November 2024 20:44:54 -0500 (0:00:00.118) 0:02:13.510 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1013 Friday 22 November 2024 20:44:54 -0500 (0:00:00.094) 0:02:13.605 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 22 November 2024 20:44:54 -0500 (0:00:00.091) 0:02:13.697 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1029 Friday 22 November 2024 20:44:54 -0500 (0:00:00.080) 0:02:13.777 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 22 November 2024 20:44:54 -0500 (0:00:00.102) 0:02:13.880 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1058 Friday 22 November 2024 20:44:54 -0500 (0:00:00.128) 0:02:14.008 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1078 Friday 22 November 2024 20:44:54 -0500 (0:00:00.121) 0:02:14.130 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1131 Friday 22 November 2024 20:44:54 -0500 (0:00:00.111) 0:02:14.241 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1138 Friday 22 November 2024 20:44:54 -0500 (0:00:00.096) 0:02:14.338 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1145 Friday 22 November 2024 20:44:54 -0500 (0:00:00.079) 0:02:14.418 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1155 Friday 22 November 2024 20:44:55 -0500 (0:00:00.071) 0:02:14.490 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1161 Friday 22 November 2024 20:44:55 -0500 (0:00:00.074) 0:02:14.564 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1169 Friday 22 November 2024 20:44:55 -0500 (0:00:00.091) 0:02:14.655 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1178 Friday 22 November 2024 20:44:55 -0500 (0:00:00.115) 0:02:14.771 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1186 Friday 22 November 2024 20:44:55 -0500 (0:00:00.125) 0:02:14.897 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1200 Friday 22 November 2024 20:44:55 -0500 (0:00:00.232) 0:02:15.130 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1206 Friday 22 November 2024 20:44:55 -0500 (0:00:00.123) 0:02:15.253 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1228 Friday 22 November 2024 20:44:55 -0500 (0:00:00.131) 0:02:15.384 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1238 Friday 22 November 2024 20:44:56 -0500 (0:00:00.117) 0:02:15.501 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Friday 22 November 2024 20:44:56 -0500 (0:00:00.126) 0:02:15.628 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 22 November 2024 20:44:56 -0500 (0:00:00.121) 0:02:15.749 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1267 Friday 22 November 2024 20:44:56 -0500 (0:00:00.125) 0:02:15.874 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1280 Friday 22 November 2024 20:44:56 -0500 (0:00:00.122) 0:02:15.996 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1289 Friday 22 November 2024 20:44:56 -0500 (0:00:00.104) 0:02:16.101 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1296 Friday 22 November 2024 20:44:56 -0500 (0:00:00.093) 0:02:16.195 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Friday 22 November 2024 20:44:56 -0500 (0:00:00.078) 0:02:16.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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1311 Friday 22 November 2024 20:44:56 -0500 (0:00:00.113) 0:02:16.387 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1318 Friday 22 November 2024 20:44:57 -0500 (0:00:00.121) 0:02:16.508 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1330 Friday 22 November 2024 20:44:57 -0500 (0:00:00.151) 0:02:16.660 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1339 Friday 22 November 2024 20:44:57 -0500 (0:00:00.118) 0:02:16.779 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1346 Friday 22 November 2024 20:44:57 -0500 (0:00:00.123) 0:02:16.902 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1352 Friday 22 November 2024 20:44:57 -0500 (0:00:00.122) 0:02:17.024 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1360 Friday 22 November 2024 20:44:57 -0500 (0:00:00.141) 0:02:17.165 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1373 Friday 22 November 2024 20:44:57 -0500 (0:00:00.143) 0:02:17.309 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1385 Friday 22 November 2024 20:44:57 -0500 (0:00:00.124) 0:02:17.434 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1390 Friday 22 November 2024 20:44:58 -0500 (0:00:00.120) 0:02:17.555 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1398 Friday 22 November 2024 20:44:58 -0500 (0:00:00.204) 0:02:17.759 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1407 Friday 22 November 2024 20:44:58 -0500 (0:00:00.125) 0:02:17.884 ******* changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 22 November 2024 20:44:59 -0500 (0:00:00.829) 0:02:18.714 ******* changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-22 20:43:37 EST", "ActiveEnterTimestampMonotonic": "1844139281", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice systemd-journald.socket network.target auditd.service -.mount basic.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-22 20:43:37 EST", "AssertTimestampMonotonic": "1844138351", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-11-22 20:43:37 EST", "ConditionTimestampMonotonic": "1844138349", "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": "15274", "ExecMainStartTimestamp": "Fri 2024-11-22 20:43:37 EST", "ExecMainStartTimestampMonotonic": "1844139202", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-11-22 20:43:37 EST", "InactiveExitTimestampMonotonic": "1844139281", "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": "15274", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-11-22 20:43:37 EST", "WatchdogTimestampMonotonic": "1844139247", "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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1420 Friday 22 November 2024 20:45:00 -0500 (0:00:00.983) 0:02:19.697 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1427 Friday 22 November 2024 20:45:00 -0500 (0:00:00.124) 0:02:19.822 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:20 Friday 22 November 2024 20:45:00 -0500 (0:00:00.122) 0:02:19.945 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:3 Friday 22 November 2024 20:45:00 -0500 (0:00:00.438) 0:02:20.383 ******* changed: [managed-node1] => { "changed": true } MSG: 1 replacements made TASK [Modify the mssql-server service start limit burst] *********************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:10 Friday 22 November 2024 20:45:01 -0500 (0:00:00.955) 0:02:21.339 ******* changed: [managed-node1] => { "changed": true } MSG: 1 replacements made TASK [Reload service daemon] *************************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql-sever-increase-start-limit.yml:17 Friday 22 November 2024 20:45:02 -0500 (0:00:00.709) 0:02:22.048 ******* ok: [managed-node1] => { "changed": false, "name": null, "status": {} } TASK [Run again with the same settings - should report not changed] ************ task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:23 Friday 22 November 2024 20:45:03 -0500 (0:00:00.957) 0:02:23.006 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 22 November 2024 20:45:04 -0500 (0:00:00.906) 0:02:23.912 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 22 November 2024 20:45:04 -0500 (0:00:00.227) 0:02:24.139 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 22 November 2024 20:45:04 -0500 (0:00:00.130) 0:02:24.270 ******* 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-eOZ/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-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 22 November 2024 20:45:04 -0500 (0:00:00.159) 0:02:24.430 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 22 November 2024 20:45:05 -0500 (0:00:00.074) 0:02:24.505 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 22 November 2024 20:45:05 -0500 (0:00:00.074) 0:02:24.579 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 22 November 2024 20:45:05 -0500 (0:00:00.074) 0:02:24.654 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 22 November 2024 20:45:05 -0500 (0:00:00.083) 0:02:24.738 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 22 November 2024 20:45:05 -0500 (0:00:00.127) 0:02:24.865 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 22 November 2024 20:45:05 -0500 (0:00:00.126) 0:02:24.992 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 22 November 2024 20:45:05 -0500 (0:00:00.127) 0:02:25.119 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 22 November 2024 20:45:05 -0500 (0:00:00.123) 0:02:25.242 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 22 November 2024 20:45:06 -0500 (0:00:00.228) 0:02:25.471 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Friday 22 November 2024 20:45:06 -0500 (0:00:00.131) 0:02:25.603 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Friday 22 November 2024 20:45:06 -0500 (0:00:00.144) 0:02:25.747 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Friday 22 November 2024 20:45:06 -0500 (0:00:00.135) 0:02:25.883 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Friday 22 November 2024 20:45:06 -0500 (0:00:00.126) 0:02:26.010 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 22 November 2024 20:45:06 -0500 (0:00:00.123) 0:02:26.134 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 22 November 2024 20:45:06 -0500 (0:00:00.109) 0:02:26.243 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Friday 22 November 2024 20:45:06 -0500 (0:00:00.103) 0:02:26.346 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Friday 22 November 2024 20:45:06 -0500 (0:00:00.090) 0:02:26.437 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Friday 22 November 2024 20:45:08 -0500 (0:00:01.880) 0:02:28.317 ******* ok: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 22 November 2024 20:45:09 -0500 (0:00:00.416) 0:02:28.734 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 22 November 2024 20:45:09 -0500 (0:00:00.122) 0:02:28.857 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Friday 22 November 2024 20:45:09 -0500 (0:00:00.136) 0:02:28.993 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Friday 22 November 2024 20:45:09 -0500 (0:00:00.239) 0:02:29.233 ******* ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Friday 22 November 2024 20:45:10 -0500 (0:00:00.683) 0:02:29.917 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Friday 22 November 2024 20:45:10 -0500 (0:00:00.084) 0:02:30.001 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 22 November 2024 20:45:10 -0500 (0:00:00.079) 0:02:30.080 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Friday 22 November 2024 20:45:10 -0500 (0:00:00.081) 0:02:30.162 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 22 November 2024 20:45:10 -0500 (0:00:00.090) 0:02:30.252 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 22 November 2024 20:45:10 -0500 (0:00:00.134) 0:02:30.387 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Friday 22 November 2024 20:45:11 -0500 (0:00:00.134) 0:02:30.522 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 22 November 2024 20:45:11 -0500 (0:00:00.138) 0:02:30.660 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 22 November 2024 20:45:11 -0500 (0:00:00.082) 0:02:30.743 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 22 November 2024 20:45:12 -0500 (0:00:00.725) 0:02:31.468 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:296 Friday 22 November 2024 20:45:12 -0500 (0:00:00.763) 0:02:32.232 ******* 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.006120", "end": "2024-11-22 20:45:13.097748", "rc": 0, "start": "2024-11-22 20:45:13.091628" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:312 Friday 22 November 2024 20:45:13 -0500 (0:00:00.452) 0:02:32.684 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:316 Friday 22 November 2024 20:45:14 -0500 (0:00:01.096) 0:02:33.781 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:325 Friday 22 November 2024 20:45:14 -0500 (0:00:00.146) 0:02:33.928 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:341 Friday 22 November 2024 20:45:14 -0500 (0:00:00.107) 0:02:34.035 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:366 Friday 22 November 2024 20:45:14 -0500 (0:00:00.075) 0:02:34.111 ******* included: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node1 included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 22 November 2024 20:45:14 -0500 (0:00:00.253) 0:02:34.364 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 22 November 2024 20:45:15 -0500 (0:00:00.490) 0:02:34.854 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 22 November 2024 20:45:15 -0500 (0:00:00.133) 0:02:34.988 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 22 November 2024 20:45:15 -0500 (0:00:00.234) 0:02:35.223 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003403", "end": "2024-11-22 20:45:16.093647", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:45:16.090244" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 22 November 2024 20:45:16 -0500 (0:00:00.485) 0:02:35.708 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 22 November 2024 20:45:16 -0500 (0:00:00.236) 0:02:35.945 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 22 November 2024 20:45:16 -0500 (0:00:00.138) 0:02:36.083 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 22 November 2024 20:45:17 -0500 (0:00:00.500) 0:02:36.583 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 22 November 2024 20:45:17 -0500 (0:00:00.131) 0:02:36.715 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 22 November 2024 20:45:17 -0500 (0:00:00.196) 0:02:36.911 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003655", "end": "2024-11-22 20:45:17.753424", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:45:17.749769" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 22 November 2024 20:45:17 -0500 (0:00:00.436) 0:02:37.348 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 22 November 2024 20:45:17 -0500 (0:00:00.105) 0:02:37.453 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:381 Friday 22 November 2024 20:45:18 -0500 (0:00:00.077) 0:02:37.531 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:395 Friday 22 November 2024 20:45:18 -0500 (0:00:00.106) 0:02:37.637 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Friday 22 November 2024 20:45:18 -0500 (0:00:00.126) 0:02:37.764 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:412 Friday 22 November 2024 20:45:19 -0500 (0:00:00.723) 0:02:38.487 ******* ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-22 20:13:02 EST", "ActiveEnterTimestampMonotonic": "9009119", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket basic.target system.slice network.target dbus.service systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-22 20:13:01 EST", "AssertTimestampMonotonic": "7806256", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-11-22 20:13:01 EST", "ConditionTimestampMonotonic": "7806255", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "840", "ExecMainStartTimestamp": "Fri 2024-11-22 20:13:01 EST", "ExecMainStartTimestampMonotonic": "7807090", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-11-22 20:13:01 EST", "InactiveExitTimestampMonotonic": "7807151", "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": "840", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target polkit.service system.slice dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-11-22 20:13:02 EST", "WatchdogTimestampMonotonic": "9009058", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:419 Friday 22 November 2024 20:45:19 -0500 (0:00:00.638) 0:02:39.125 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.095596", "end": "2024-11-22 20:45:20.083025", "rc": 0, "start": "2024-11-22 20:45:19.987429" } 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:432 Friday 22 November 2024 20:45:20 -0500 (0:00:00.576) 0:02:39.701 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:445 Friday 22 November 2024 20:45:20 -0500 (0:00:00.229) 0:02:39.931 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:454 Friday 22 November 2024 20:45:20 -0500 (0:00:00.127) 0:02:40.058 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:464 Friday 22 November 2024 20:45:20 -0500 (0:00:00.135) 0:02:40.194 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 22 November 2024 20:45:21 -0500 (0:00:00.497) 0:02:40.691 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:481 Friday 22 November 2024 20:45:21 -0500 (0:00:00.126) 0:02:40.818 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools18-18.4.1.1-1.x86_64 providing mssql-tools18 is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools18 unixODBC-devel TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:498 Friday 22 November 2024 20:45:22 -0500 (0:00:00.729) 0:02:41.548 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:512 Friday 22 November 2024 20:45:22 -0500 (0:00:00.127) 0:02:41.675 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:517 Friday 22 November 2024 20:45:22 -0500 (0:00:00.128) 0:02:41.804 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 22 November 2024 20:45:22 -0500 (0:00:00.139) 0:02:41.944 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 22 November 2024 20:45:22 -0500 (0:00:00.131) 0:02:42.075 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 22 November 2024 20:45:22 -0500 (0:00:00.127) 0:02:42.203 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:560 Friday 22 November 2024 20:45:22 -0500 (0:00:00.130) 0:02:42.334 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the setting forceencryption] ******* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:569 Friday 22 November 2024 20:45:23 -0500 (0:00:00.135) 0:02:42.470 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.005077", "end": "2024-11-22 20:45:23.356404", "failed_when_result": false, "rc": 1, "start": "2024-11-22 20:45:23.351327" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 22 November 2024 20:45:23 -0500 (0:00:00.504) 0:02:42.974 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Append -C to sqlcmd when TLS is configured but certs are self-signed] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:585 Friday 22 November 2024 20:45:23 -0500 (0:00:00.142) 0:02:43.117 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:598 Friday 22 November 2024 20:45:23 -0500 (0:00:00.138) 0:02:43.255 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 22 November 2024 20:45:24 -0500 (0:00:00.336) 0:02:43.592 ******* ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-22 20:45:00 EST", "ActiveEnterTimestampMonotonic": "1926234717", "ActiveExitTimestamp": "Fri 2024-11-22 20:44:59 EST", "ActiveExitTimestampMonotonic": "1925959857", "ActiveState": "active", "After": "systemd-journald.socket auditd.service basic.target system.slice -.mount network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-22 20:45:00 EST", "AssertTimestampMonotonic": "1926233851", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-11-22 20:45:00 EST", "ConditionTimestampMonotonic": "1926233849", "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": "17038", "ExecMainStartTimestamp": "Fri 2024-11-22 20:45:00 EST", "ExecMainStartTimestampMonotonic": "1926234627", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-11-22 20:45:00 EST", "InactiveEnterTimestampMonotonic": "1926231817", "InactiveExitTimestamp": "Fri 2024-11-22 20:45:00 EST", "InactiveExitTimestampMonotonic": "1926234717", "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": "17038", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount system.slice basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-11-22 20:45:00 EST", "WatchdogTimestampMonotonic": "1926234682", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 22 November 2024 20:45:24 -0500 (0:00:00.618) 0:02:44.211 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003463", "end": "2024-11-22 20:45:25.087740", "failed_when_result": false, "rc": 1, "start": "2024-11-22 20:45:25.084277" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 22 November 2024 20:45:25 -0500 (0:00:00.492) 0:02:44.703 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003338", "end": "2024-11-22 20:45:25.582241", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:45:25.578903" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 22 November 2024 20:45:25 -0500 (0:00:00.494) 0:02:45.198 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:602 Friday 22 November 2024 20:45:25 -0500 (0:00:00.161) 0:02:45.359 ******* ok: [managed-node1] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7454, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:608 Friday 22 November 2024 20:45:27 -0500 (0:00:01.676) 0:02:47.036 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Friday 22 November 2024 20:45:28 -0500 (0:00:00.515) 0:02:47.551 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:630 Friday 22 November 2024 20:45:28 -0500 (0:00:00.136) 0:02:47.688 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:638 Friday 22 November 2024 20:45:29 -0500 (0:00:01.757) 0:02:49.445 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:659 Friday 22 November 2024 20:45:30 -0500 (0:00:00.140) 0:02:49.586 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:666 Friday 22 November 2024 20:45:30 -0500 (0:00:00.132) 0:02:49.718 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 22 November 2024 20:45:30 -0500 (0:00:00.129) 0:02:49.847 ******* 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.005312", "end": "2024-11-22 20:45:30.722197", "rc": 0, "start": "2024-11-22 20:45:30.716885" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:691 Friday 22 November 2024 20:45:30 -0500 (0:00:00.468) 0:02:50.316 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:698 Friday 22 November 2024 20:45:30 -0500 (0:00:00.083) 0:02:50.399 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 22 November 2024 20:45:32 -0500 (0:00:01.505) 0:02:51.905 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:723 Friday 22 November 2024 20:45:32 -0500 (0:00:00.156) 0:02:52.062 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 22 November 2024 20:45:32 -0500 (0:00:00.321) 0:02:52.383 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003311", "end": "2024-11-22 20:45:33.226046", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:45:33.222735" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 22 November 2024 20:45:33 -0500 (0:00:00.410) 0:02:52.794 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 22 November 2024 20:45:33 -0500 (0:00:00.137) 0:02:52.931 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:730 Friday 22 November 2024 20:45:33 -0500 (0:00:00.144) 0:02:53.076 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:737 Friday 22 November 2024 20:45:33 -0500 (0:00:00.129) 0:02:53.206 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Friday 22 November 2024 20:45:33 -0500 (0:00:00.131) 0:02:53.337 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 22 November 2024 20:45:34 -0500 (0:00:00.236) 0:02:53.574 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003482", "end": "2024-11-22 20:45:34.446141", "failed_when_result": false, "rc": 1, "start": "2024-11-22 20:45:34.442659" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 22 November 2024 20:45:34 -0500 (0:00:00.499) 0:02:54.073 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.050533", "end": "2024-11-22 20:45:34.998009", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:45:34.947476" } 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 22 November 2024 20:45:35 -0500 (0:00:00.499) 0:02:54.573 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 22 November 2024 20:45:35 -0500 (0:00:00.076) 0:02:54.649 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:775 Friday 22 November 2024 20:45:35 -0500 (0:00:00.074) 0:02:54.724 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 22 November 2024 20:45:35 -0500 (0:00:00.225) 0:02:54.949 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003515", "end": "2024-11-22 20:45:35.873010", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:45:35.869495" } STDOUT: enabled = True TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 22 November 2024 20:45:36 -0500 (0:00:00.573) 0:02:55.523 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 22 November 2024 20:45:36 -0500 (0:00:00.143) 0:02:55.666 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:782 Friday 22 November 2024 20:45:36 -0500 (0:00:00.101) 0:02:55.768 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-fts-14.0.3465.1-1.x86_64 providing mssql-server-fts is already installed" ] } lsrpackages: mssql-server-fts TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:789 Friday 22 November 2024 20:45:36 -0500 (0:00:00.651) 0:02:56.420 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:798 Friday 22 November 2024 20:45:37 -0500 (0:00:00.678) 0:02:57.099 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003547", "end": "2024-11-22 20:45:37.966101", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:45:37.962554" } STDOUT: traceflag0 = 3979 TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 22 November 2024 20:45:38 -0500 (0:00:00.479) 0:02:57.579 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Friday 22 November 2024 20:45:38 -0500 (0:00:00.137) 0:02:57.716 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:819 Friday 22 November 2024 20:45:38 -0500 (0:00:00.131) 0:02:57.848 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 22 November 2024 20:45:38 -0500 (0:00:00.244) 0:02:58.092 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003357", "end": "2024-11-22 20:45:38.941658", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:45:38.938301" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 22 November 2024 20:45:39 -0500 (0:00:00.410) 0:02:58.503 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 22 November 2024 20:45:39 -0500 (0:00:00.109) 0:02:58.612 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:825 Friday 22 November 2024 20:45:39 -0500 (0:00:00.134) 0:02:58.746 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 22 November 2024 20:45:39 -0500 (0:00:00.274) 0:02:59.021 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003354", "end": "2024-11-22 20:45:39.871228", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:45:39.867874" } STDOUT: writethrough = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 22 November 2024 20:45:40 -0500 (0:00:00.438) 0:02:59.459 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 22 November 2024 20:45:40 -0500 (0:00:00.097) 0:02:59.557 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:835 Friday 22 November 2024 20:45:40 -0500 (0:00:00.081) 0:02:59.638 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 22 November 2024 20:45:40 -0500 (0:00:00.100) 0:02:59.738 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:851 Friday 22 November 2024 20:45:40 -0500 (0:00:00.129) 0:02:59.867 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:858 Friday 22 November 2024 20:45:40 -0500 (0:00:00.128) 0:02:59.996 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:865 Friday 22 November 2024 20:45:40 -0500 (0:00:00.138) 0:03:00.134 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:874 Friday 22 November 2024 20:45:40 -0500 (0:00:00.135) 0:03:00.269 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:887 Friday 22 November 2024 20:45:40 -0500 (0:00:00.114) 0:03:00.384 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:896 Friday 22 November 2024 20:45:41 -0500 (0:00:00.103) 0:03:00.488 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:910 Friday 22 November 2024 20:45:41 -0500 (0:00:00.084) 0:03:00.572 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Friday 22 November 2024 20:45:41 -0500 (0:00:00.094) 0:03:00.667 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Friday 22 November 2024 20:45:41 -0500 (0:00:00.131) 0:03:00.798 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:942 Friday 22 November 2024 20:45:41 -0500 (0:00:00.130) 0:03:00.929 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:947 Friday 22 November 2024 20:45:41 -0500 (0:00:00.121) 0:03:01.050 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:952 Friday 22 November 2024 20:45:41 -0500 (0:00:00.108) 0:03:01.159 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:958 Friday 22 November 2024 20:45:41 -0500 (0:00:00.090) 0:03:01.249 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:984 Friday 22 November 2024 20:45:41 -0500 (0:00:00.146) 0:03:01.396 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1005 Friday 22 November 2024 20:45:42 -0500 (0:00:00.076) 0:03:01.472 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1013 Friday 22 November 2024 20:45:42 -0500 (0:00:00.103) 0:03:01.576 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 22 November 2024 20:45:42 -0500 (0:00:00.119) 0:03:01.696 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1029 Friday 22 November 2024 20:45:42 -0500 (0:00:00.126) 0:03:01.823 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 22 November 2024 20:45:42 -0500 (0:00:00.127) 0:03:01.951 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1058 Friday 22 November 2024 20:45:42 -0500 (0:00:00.129) 0:03:02.080 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1078 Friday 22 November 2024 20:45:42 -0500 (0:00:00.129) 0:03:02.210 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1131 Friday 22 November 2024 20:45:42 -0500 (0:00:00.131) 0:03:02.342 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1138 Friday 22 November 2024 20:45:43 -0500 (0:00:00.128) 0:03:02.471 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1145 Friday 22 November 2024 20:45:43 -0500 (0:00:00.130) 0:03:02.602 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1155 Friday 22 November 2024 20:45:43 -0500 (0:00:00.128) 0:03:02.730 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1161 Friday 22 November 2024 20:45:43 -0500 (0:00:00.132) 0:03:02.863 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1169 Friday 22 November 2024 20:45:43 -0500 (0:00:00.127) 0:03:02.991 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1178 Friday 22 November 2024 20:45:43 -0500 (0:00:00.099) 0:03:03.091 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1186 Friday 22 November 2024 20:45:43 -0500 (0:00:00.076) 0:03:03.167 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1200 Friday 22 November 2024 20:45:43 -0500 (0:00:00.147) 0:03:03.315 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1206 Friday 22 November 2024 20:45:43 -0500 (0:00:00.130) 0:03:03.445 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1228 Friday 22 November 2024 20:45:44 -0500 (0:00:00.130) 0:03:03.575 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1238 Friday 22 November 2024 20:45:44 -0500 (0:00:00.125) 0:03:03.701 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Friday 22 November 2024 20:45:44 -0500 (0:00:00.225) 0:03:03.926 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 22 November 2024 20:45:44 -0500 (0:00:00.121) 0:03:04.047 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1267 Friday 22 November 2024 20:45:44 -0500 (0:00:00.102) 0:03:04.150 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1280 Friday 22 November 2024 20:45:44 -0500 (0:00:00.100) 0:03:04.251 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1289 Friday 22 November 2024 20:45:44 -0500 (0:00:00.082) 0:03:04.333 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1296 Friday 22 November 2024 20:45:44 -0500 (0:00:00.092) 0:03:04.425 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Friday 22 November 2024 20:45:45 -0500 (0:00:00.129) 0:03:04.555 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1311 Friday 22 November 2024 20:45:45 -0500 (0:00:00.110) 0:03:04.666 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1318 Friday 22 November 2024 20:45:45 -0500 (0:00:00.104) 0:03:04.770 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1330 Friday 22 November 2024 20:45:45 -0500 (0:00:00.100) 0:03:04.870 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1339 Friday 22 November 2024 20:45:45 -0500 (0:00:00.115) 0:03:04.986 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1346 Friday 22 November 2024 20:45:45 -0500 (0:00:00.124) 0:03:05.111 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1352 Friday 22 November 2024 20:45:45 -0500 (0:00:00.101) 0:03:05.212 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1360 Friday 22 November 2024 20:45:45 -0500 (0:00:00.102) 0:03:05.314 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1373 Friday 22 November 2024 20:45:45 -0500 (0:00:00.100) 0:03:05.415 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1385 Friday 22 November 2024 20:45:46 -0500 (0:00:00.123) 0:03:05.539 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1390 Friday 22 November 2024 20:45:46 -0500 (0:00:00.120) 0:03:05.660 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1398 Friday 22 November 2024 20:45:46 -0500 (0:00:00.132) 0:03:05.792 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1407 Friday 22 November 2024 20:45:46 -0500 (0:00:00.131) 0:03:05.924 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1420 Friday 22 November 2024 20:45:47 -0500 (0:00:00.700) 0:03:06.625 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1427 Friday 22 November 2024 20:45:47 -0500 (0:00:00.076) 0:03:06.701 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify settings] ********************************************************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:38 Friday 22 November 2024 20:45:47 -0500 (0:00:00.077) 0:03:06.778 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 22 November 2024 20:45:47 -0500 (0:00:00.431) 0:03:07.210 ******* 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.005685", "end": "2024-11-22 20:45:48.058649", "rc": 0, "start": "2024-11-22 20:45:48.052964" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 22 November 2024 20:45:48 -0500 (0:00:00.419) 0:03:07.629 ******* 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.005240", "end": "2024-11-22 20:45:48.475701", "rc": 0, "start": "2024-11-22 20:45:48.470461" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 22 November 2024 20:45:48 -0500 (0:00:00.435) 0:03:08.065 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 22 November 2024 20:45:48 -0500 (0:00:00.113) 0:03:08.179 ******* included: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 22 November 2024 20:45:48 -0500 (0:00:00.210) 0:03:08.389 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004862", "end": "2024-11-22 20:45:49.219757", "rc": 0, "start": "2024-11-22 20:45:49.214895" } STDOUT: ipaddress = 0.0.0.0 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 22 November 2024 20:45:49 -0500 (0:00:00.392) 0:03:08.782 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 22 November 2024 20:45:49 -0500 (0:00:00.172) 0:03:08.954 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 0.0.0.0] ******************************************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 22 November 2024 20:45:49 -0500 (0:00:00.126) 0:03:09.081 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultdatadir] ***************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 22 November 2024 20:45:49 -0500 (0:00:00.135) 0:03:09.217 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004627", "end": "2024-11-22 20:45:50.098223", "rc": 0, "start": "2024-11-22 20:45:50.093596" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 22 November 2024 20:45:50 -0500 (0:00:00.504) 0:03:09.722 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 22 November 2024 20:45:50 -0500 (0:00:00.160) 0:03:09.882 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_data] *********************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 22 November 2024 20:45:50 -0500 (0:00:00.141) 0:03:10.024 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 22 November 2024 20:45:50 -0500 (0:00:00.131) 0:03:10.155 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004647", "end": "2024-11-22 20:45:51.028789", "rc": 0, "start": "2024-11-22 20:45:51.024142" } STDOUT: enabled = True TASK [Verify the setting when it is type str enabled] ************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 22 November 2024 20:45:51 -0500 (0:00:00.495) 0:03:10.650 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 22 November 2024 20:45:51 -0500 (0:00:00.136) 0:03:10.786 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 22 November 2024 20:45:51 -0500 (0:00:00.168) 0:03:10.955 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 22 November 2024 20:45:51 -0500 (0:00:00.135) 0:03:11.090 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004433", "end": "2024-11-22 20:45:51.934011", "rc": 0, "start": "2024-11-22 20:45:51.929578" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 22 November 2024 20:45:52 -0500 (0:00:00.407) 0:03:11.497 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 22 November 2024 20:45:52 -0500 (0:00:00.097) 0:03:11.595 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /tmp/mssql_log] ************************************ task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 22 November 2024 20:45:52 -0500 (0:00:00.081) 0:03:11.676 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 22 November 2024 20:45:52 -0500 (0:00:00.080) 0:03:11.757 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004484", "end": "2024-11-22 20:45:52.585336", "rc": 0, "start": "2024-11-22 20:45:52.580852" } TASK [Verify the setting when it is type str tcpport] ************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 22 November 2024 20:45:52 -0500 (0:00:00.468) 0:03:12.225 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 22 November 2024 20:45:52 -0500 (0:00:00.084) 0:03:12.310 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1433] ********************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 22 November 2024 20:45:52 -0500 (0:00:00.091) 0:03:12.401 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 22 November 2024 20:45:53 -0500 (0:00:00.151) 0:03:12.553 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 22 November 2024 20:45:53 -0500 (0:00:00.108) 0:03:12.662 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 22 November 2024 20:45:53 -0500 (0:00:00.101) 0:03:12.763 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 22 November 2024 20:45:53 -0500 (0:00:00.083) 0:03:12.846 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 22 November 2024 20:45:53 -0500 (0:00:00.080) 0:03:12.927 ******* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 22 November 2024 20:45:53 -0500 (0:00:00.239) 0:03:13.167 ******* ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-22 20:45:00 EST", "ActiveEnterTimestampMonotonic": "1926234717", "ActiveExitTimestamp": "Fri 2024-11-22 20:44:59 EST", "ActiveExitTimestampMonotonic": "1925959857", "ActiveState": "active", "After": "systemd-journald.socket auditd.service basic.target system.slice -.mount network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-22 20:45:00 EST", "AssertTimestampMonotonic": "1926233851", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-11-22 20:45:00 EST", "ConditionTimestampMonotonic": "1926233849", "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": "17038", "ExecMainStartTimestamp": "Fri 2024-11-22 20:45:00 EST", "ExecMainStartTimestampMonotonic": "1926234627", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-11-22 20:45:00 EST", "InactiveEnterTimestampMonotonic": "1926231817", "InactiveExitTimestamp": "Fri 2024-11-22 20:45:00 EST", "InactiveExitTimestampMonotonic": "1926234717", "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": "17038", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount system.slice basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-11-22 20:45:00 EST", "WatchdogTimestampMonotonic": "1926234682", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 22 November 2024 20:45:54 -0500 (0:00:00.612) 0:03:13.780 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003666", "end": "2024-11-22 20:45:54.651549", "failed_when_result": false, "rc": 1, "start": "2024-11-22 20:45:54.647883" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 22 November 2024 20:45:54 -0500 (0:00:00.490) 0:03:14.271 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003618", "end": "2024-11-22 20:45:55.151719", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:45:55.148101" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 22 November 2024 20:45:55 -0500 (0:00:00.491) 0:03:14.763 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 22 November 2024 20:45:55 -0500 (0:00:00.152) 0:03:14.916 ******* ok: [managed-node1] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7454, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 22 November 2024 20:45:56 -0500 (0:00:01.536) 0:03:16.452 ******* ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools18/bin/sqlcmd", "-No", "-S", "0.0.0.0", "-U", "sa", "-P", "p@55w0rD", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.023630", "end": "2024-11-22 20:45:57.356087", "rc": 0, "start": "2024-11-22 20:45:57.332457" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Enterprise Evaluation Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 22 November 2024 20:45:57 -0500 (0:00:00.529) 0:03:16.982 ******* ok: [managed-node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 22 November 2024 20:45:57 -0500 (0:00:00.141) 0:03:17.123 ******* included: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml for managed-node1 TASK [Gather package facts] **************************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 Friday 22 November 2024 20:45:57 -0500 (0:00:00.227) 0:03:17.351 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:12 Friday 22 November 2024 20:45:59 -0500 (0:00:01.563) 0:03:18.914 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed mssql-server-fts] ***************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:17 Friday 22 November 2024 20:45:59 -0500 (0:00:00.186) 0:03:19.101 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 22 November 2024 20:45:59 -0500 (0:00:00.132) 0:03:19.234 ******* included: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml for managed-node1 TASK [Gather package facts] **************************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 Friday 22 November 2024 20:46:00 -0500 (0:00:00.240) 0:03:19.474 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:12 Friday 22 November 2024 20:46:01 -0500 (0:00:01.590) 0:03:21.065 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify if the package is not installed powershell] *********************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:17 Friday 22 November 2024 20:46:01 -0500 (0:00:00.150) 0:03:21.215 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 22 November 2024 20:46:01 -0500 (0:00:00.129) 0:03:21.345 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004832", "end": "2024-11-22 20:46:02.228395", "rc": 0, "start": "2024-11-22 20:46:02.223563" } STDOUT: traceflag0 = 3979 TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 22 November 2024 20:46:02 -0500 (0:00:00.499) 0:03:21.845 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that the traceflag setting is not set to 3979] ******************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 22 November 2024 20:46:02 -0500 (0:00:00.122) 0:03:21.967 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 22 November 2024 20:46:02 -0500 (0:00:00.087) 0:03:22.055 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 22 November 2024 20:46:02 -0500 (0:00:00.157) 0:03:22.212 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004569", "end": "2024-11-22 20:46:03.075003", "rc": 0, "start": "2024-11-22 20:46:03.070434" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 22 November 2024 20:46:03 -0500 (0:00:00.429) 0:03:22.642 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 22 November 2024 20:46:03 -0500 (0:00:00.084) 0:03:22.726 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 22 November 2024 20:46:03 -0500 (0:00:00.095) 0:03:22.822 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 22 November 2024 20:46:03 -0500 (0:00:00.158) 0:03:22.980 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 22 November 2024 20:46:03 -0500 (0:00:00.149) 0:03:23.130 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004521", "end": "2024-11-22 20:46:03.956630", "rc": 0, "start": "2024-11-22 20:46:03.952109" } STDOUT: writethrough = 1 TASK [Verify the setting when it is type str writethrough] ********************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 22 November 2024 20:46:04 -0500 (0:00:00.387) 0:03:23.517 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 22 November 2024 20:46:04 -0500 (0:00:00.089) 0:03:23.607 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = True] ********************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 22 November 2024 20:46:04 -0500 (0:00:00.160) 0:03:23.768 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 22 November 2024 20:46:04 -0500 (0:00:00.138) 0:03:23.907 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 22 November 2024 20:46:04 -0500 (0:00:00.129) 0:03:24.036 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 22 November 2024 20:46:04 -0500 (0:00:00.131) 0:03:24.168 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 22 November 2024 20:46:04 -0500 (0:00:00.119) 0:03:24.288 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 22 November 2024 20:46:04 -0500 (0:00:00.100) 0:03:24.389 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Run to edit settings] **************************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:52 Friday 22 November 2024 20:46:05 -0500 (0:00:00.091) 0:03:24.480 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 22 November 2024 20:46:06 -0500 (0:00:01.532) 0:03:26.013 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 22 November 2024 20:46:06 -0500 (0:00:00.142) 0:03:26.155 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 22 November 2024 20:46:06 -0500 (0:00:00.141) 0:03:26.297 ******* 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-eOZ/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-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 22 November 2024 20:46:07 -0500 (0:00:00.214) 0:03:26.512 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 22 November 2024 20:46:07 -0500 (0:00:00.129) 0:03:26.641 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 22 November 2024 20:46:07 -0500 (0:00:00.130) 0:03:26.772 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 22 November 2024 20:46:07 -0500 (0:00:00.129) 0:03:26.902 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 22 November 2024 20:46:07 -0500 (0:00:00.132) 0:03:27.034 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 22 November 2024 20:46:07 -0500 (0:00:00.142) 0:03:27.177 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 22 November 2024 20:46:07 -0500 (0:00:00.130) 0:03:27.308 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 22 November 2024 20:46:07 -0500 (0:00:00.132) 0:03:27.441 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 22 November 2024 20:46:08 -0500 (0:00:00.106) 0:03:27.547 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 22 November 2024 20:46:08 -0500 (0:00:00.106) 0:03:27.653 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Friday 22 November 2024 20:46:08 -0500 (0:00:00.085) 0:03:27.739 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Friday 22 November 2024 20:46:08 -0500 (0:00:00.191) 0:03:27.930 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Friday 22 November 2024 20:46:08 -0500 (0:00:00.078) 0:03:28.009 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Friday 22 November 2024 20:46:08 -0500 (0:00:00.080) 0:03:28.090 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 22 November 2024 20:46:08 -0500 (0:00:00.079) 0:03:28.170 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 22 November 2024 20:46:08 -0500 (0:00:00.076) 0:03:28.246 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Friday 22 November 2024 20:46:08 -0500 (0:00:00.082) 0:03:28.329 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Friday 22 November 2024 20:46:08 -0500 (0:00:00.077) 0:03:28.406 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Friday 22 November 2024 20:46:10 -0500 (0:00:01.552) 0:03:29.958 ******* ok: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 22 November 2024 20:46:10 -0500 (0:00:00.268) 0:03:30.227 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 22 November 2024 20:46:10 -0500 (0:00:00.087) 0:03:30.314 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Friday 22 November 2024 20:46:10 -0500 (0:00:00.134) 0:03:30.449 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Friday 22 November 2024 20:46:11 -0500 (0:00:00.344) 0:03:30.793 ******* ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Friday 22 November 2024 20:46:11 -0500 (0:00:00.624) 0:03:31.418 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Friday 22 November 2024 20:46:12 -0500 (0:00:00.084) 0:03:31.503 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 22 November 2024 20:46:12 -0500 (0:00:00.082) 0:03:31.585 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Friday 22 November 2024 20:46:12 -0500 (0:00:00.098) 0:03:31.683 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 22 November 2024 20:46:12 -0500 (0:00:00.137) 0:03:31.821 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 22 November 2024 20:46:12 -0500 (0:00:00.133) 0:03:31.954 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Friday 22 November 2024 20:46:12 -0500 (0:00:00.140) 0:03:32.095 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 22 November 2024 20:46:12 -0500 (0:00:00.172) 0:03:32.268 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 22 November 2024 20:46:12 -0500 (0:00:00.136) 0:03:32.404 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 22 November 2024 20:46:13 -0500 (0:00:00.771) 0:03:33.176 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:296 Friday 22 November 2024 20:46:14 -0500 (0:00:00.727) 0:03:33.903 ******* 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-22 20:46:14.768254", "rc": 0, "start": "2024-11-22 20:46:14.762609" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:312 Friday 22 November 2024 20:46:14 -0500 (0:00:00.477) 0:03:34.381 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:316 Friday 22 November 2024 20:46:16 -0500 (0:00:01.259) 0:03:35.640 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:325 Friday 22 November 2024 20:46:16 -0500 (0:00:00.184) 0:03:35.825 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:341 Friday 22 November 2024 20:46:16 -0500 (0:00:00.132) 0:03:35.957 ******* skipping: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:366 Friday 22 November 2024 20:46:16 -0500 (0:00:00.138) 0:03:36.096 ******* included: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node1 included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 22 November 2024 20:46:16 -0500 (0:00:00.286) 0:03:36.383 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 22 November 2024 20:46:17 -0500 (0:00:00.482) 0:03:36.865 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 22 November 2024 20:46:17 -0500 (0:00:00.104) 0:03:36.969 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 22 November 2024 20:46:17 -0500 (0:00:00.179) 0:03:37.149 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003516", "end": "2024-11-22 20:46:18.034181", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:46:18.030665" } STDOUT: defaultdatadir = /tmp/mssql_data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 22 November 2024 20:46:18 -0500 (0:00:00.453) 0:03:37.602 ******* 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.049792", "end": "2024-11-22 20:46:18.533420", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:46:18.483628" } 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 22 November 2024 20:46:18 -0500 (0:00:00.523) 0:03:38.126 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 22 November 2024 20:46:18 -0500 (0:00:00.082) 0:03:38.208 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 22 November 2024 20:46:19 -0500 (0:00:00.583) 0:03:38.792 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 22 November 2024 20:46:19 -0500 (0:00:00.136) 0:03:38.929 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 22 November 2024 20:46:19 -0500 (0:00:00.246) 0:03:39.175 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003640", "end": "2024-11-22 20:46:20.062885", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:46:20.059245" } STDOUT: defaultlogdir = /tmp/mssql_log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 22 November 2024 20:46:20 -0500 (0:00:00.481) 0:03:39.657 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/var/opt/mssql/log" ], "delta": "0:00:00.050975", "end": "2024-11-22 20:46:20.544322", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:46:20.493347" } 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 22 November 2024 20:46:20 -0500 (0:00:00.522) 0:03:40.180 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:381 Friday 22 November 2024 20:46:20 -0500 (0:00:00.137) 0:03:40.318 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:395 Friday 22 November 2024 20:46:20 -0500 (0:00:00.130) 0:03:40.448 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Friday 22 November 2024 20:46:21 -0500 (0:00:00.133) 0:03:40.581 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:412 Friday 22 November 2024 20:46:21 -0500 (0:00:00.677) 0:03:41.259 ******* ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-22 20:13:02 EST", "ActiveEnterTimestampMonotonic": "9009119", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket basic.target system.slice network.target dbus.service systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-22 20:13:01 EST", "AssertTimestampMonotonic": "7806256", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-11-22 20:13:01 EST", "ConditionTimestampMonotonic": "7806255", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "840", "ExecMainStartTimestamp": "Fri 2024-11-22 20:13:01 EST", "ExecMainStartTimestampMonotonic": "7807090", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-11-22 20:13:01 EST", "InactiveExitTimestampMonotonic": "7807151", "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": "840", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target polkit.service system.slice dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-11-22 20:13:02 EST", "WatchdogTimestampMonotonic": "9009058", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:419 Friday 22 November 2024 20:46:22 -0500 (0:00:00.581) 0:03:41.841 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.092442", "end": "2024-11-22 20:46:22.803065", "rc": 0, "start": "2024-11-22 20:46:22.710623" } 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:432 Friday 22 November 2024 20:46:22 -0500 (0:00:00.582) 0:03:42.423 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:445 Friday 22 November 2024 20:46:23 -0500 (0:00:00.127) 0:03:42.550 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:454 Friday 22 November 2024 20:46:23 -0500 (0:00:00.244) 0:03:42.795 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:464 Friday 22 November 2024 20:46:23 -0500 (0:00:00.113) 0:03:42.909 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 22 November 2024 20:46:23 -0500 (0:00:00.397) 0:03:43.306 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:481 Friday 22 November 2024 20:46:23 -0500 (0:00:00.079) 0:03:43.386 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools18-18.4.1.1-1.x86_64 providing mssql-tools18 is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools18 unixODBC-devel TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:498 Friday 22 November 2024 20:46:24 -0500 (0:00:00.618) 0:03:44.004 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:512 Friday 22 November 2024 20:46:24 -0500 (0:00:00.077) 0:03:44.082 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:517 Friday 22 November 2024 20:46:24 -0500 (0:00:00.080) 0:03:44.162 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 22 November 2024 20:46:24 -0500 (0:00:00.095) 0:03:44.257 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 22 November 2024 20:46:24 -0500 (0:00:00.080) 0:03:44.338 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 22 November 2024 20:46:24 -0500 (0:00:00.078) 0:03:44.416 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:560 Friday 22 November 2024 20:46:25 -0500 (0:00:00.078) 0:03:44.495 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the setting forceencryption] ******* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:569 Friday 22 November 2024 20:46:25 -0500 (0:00:00.080) 0:03:44.575 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.005096", "end": "2024-11-22 20:46:25.404920", "failed_when_result": false, "rc": 1, "start": "2024-11-22 20:46:25.399824" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 22 November 2024 20:46:25 -0500 (0:00:00.390) 0:03:44.966 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Append -C to sqlcmd when TLS is configured but certs are self-signed] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:585 Friday 22 November 2024 20:46:25 -0500 (0:00:00.085) 0:03:45.052 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:598 Friday 22 November 2024 20:46:25 -0500 (0:00:00.081) 0:03:45.134 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 22 November 2024 20:46:25 -0500 (0:00:00.311) 0:03:45.445 ******* ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-22 20:45:00 EST", "ActiveEnterTimestampMonotonic": "1926234717", "ActiveExitTimestamp": "Fri 2024-11-22 20:44:59 EST", "ActiveExitTimestampMonotonic": "1925959857", "ActiveState": "active", "After": "systemd-journald.socket auditd.service basic.target system.slice -.mount network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-22 20:45:00 EST", "AssertTimestampMonotonic": "1926233851", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-11-22 20:45:00 EST", "ConditionTimestampMonotonic": "1926233849", "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": "17038", "ExecMainStartTimestamp": "Fri 2024-11-22 20:45:00 EST", "ExecMainStartTimestampMonotonic": "1926234627", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-11-22 20:45:00 EST", "InactiveEnterTimestampMonotonic": "1926231817", "InactiveExitTimestamp": "Fri 2024-11-22 20:45:00 EST", "InactiveExitTimestampMonotonic": "1926234717", "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": "17038", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount system.slice basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-11-22 20:45:00 EST", "WatchdogTimestampMonotonic": "1926234682", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 22 November 2024 20:46:26 -0500 (0:00:00.607) 0:03:46.053 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003237", "end": "2024-11-22 20:46:26.938315", "failed_when_result": false, "rc": 1, "start": "2024-11-22 20:46:26.935078" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 22 November 2024 20:46:27 -0500 (0:00:00.499) 0:03:46.553 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003685", "end": "2024-11-22 20:46:27.434606", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:46:27.430921" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 22 November 2024 20:46:27 -0500 (0:00:00.455) 0:03:47.008 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:602 Friday 22 November 2024 20:46:27 -0500 (0:00:00.101) 0:03:47.110 ******* ok: [managed-node1] => { "changed": false, "elapsed": 1, "gid": 994, "group": "mssql", "match_groupdict": {}, "match_groups": [], "mode": "0660", "owner": "mssql", "path": "/var/opt/mssql/log/errorlog", "port": null, "search_regex": "SQL Server is now ready for client connections", "secontext": "system_u:object_r:var_t:s0", "size": 7454, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:608 Friday 22 November 2024 20:46:29 -0500 (0:00:01.395) 0:03:48.505 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Friday 22 November 2024 20:46:29 -0500 (0:00:00.424) 0:03:48.929 ******* changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Fri 2024-11-22 20:45:00 EST", "ActiveEnterTimestampMonotonic": "1926234717", "ActiveExitTimestamp": "Fri 2024-11-22 20:44:59 EST", "ActiveExitTimestampMonotonic": "1925959857", "ActiveState": "active", "After": "systemd-journald.socket auditd.service basic.target system.slice -.mount network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-22 20:45:00 EST", "AssertTimestampMonotonic": "1926233851", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-11-22 20:45:00 EST", "ConditionTimestampMonotonic": "1926233849", "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": "17038", "ExecMainStartTimestamp": "Fri 2024-11-22 20:45:00 EST", "ExecMainStartTimestampMonotonic": "1926234627", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-11-22 20:45:00 EST", "InactiveEnterTimestampMonotonic": "1926231817", "InactiveExitTimestamp": "Fri 2024-11-22 20:45:00 EST", "InactiveExitTimestampMonotonic": "1926234717", "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": "17038", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount system.slice basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-11-22 20:45:00 EST", "WatchdogTimestampMonotonic": "1926234682", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:630 Friday 22 November 2024 20:46:30 -0500 (0:00:00.872) 0:03:49.802 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:638 Friday 22 November 2024 20:46:31 -0500 (0:00:01.604) 0:03:51.407 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:659 Friday 22 November 2024 20:46:38 -0500 (0:00:06.748) 0:03:58.156 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:666 Friday 22 November 2024 20:46:38 -0500 (0:00:00.074) 0:03:58.230 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 22 November 2024 20:46:38 -0500 (0:00:00.077) 0:03:58.307 ******* 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.005467", "end": "2024-11-22 20:46:39.140782", "rc": 0, "start": "2024-11-22 20:46:39.135315" } STDOUT: false TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:691 Friday 22 November 2024 20:46:39 -0500 (0:00:00.390) 0:03:58.698 ******* ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "stopped", "status": { "ActiveEnterTimestamp": "Fri 2024-11-22 20:45:00 EST", "ActiveEnterTimestampMonotonic": "1926234717", "ActiveExitTimestamp": "Fri 2024-11-22 20:46:29 EST", "ActiveExitTimestampMonotonic": "2016049965", "ActiveState": "inactive", "After": "systemd-journald.socket auditd.service basic.target system.slice -.mount network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-22 20:45:00 EST", "AssertTimestampMonotonic": "1926233851", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-11-22 20:45:00 EST", "ConditionTimestampMonotonic": "1926233849", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "1", "ExecMainExitTimestamp": "Fri 2024-11-22 20:46:30 EST", "ExecMainExitTimestampMonotonic": "2016395776", "ExecMainPID": "17038", "ExecMainStartTimestamp": "Fri 2024-11-22 20:45:00 EST", "ExecMainStartTimestampMonotonic": "1926234627", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-11-22 20:45:00 EST] ; stop_time=[Fri 2024-11-22 20:46:30 EST] ; pid=17038 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-11-22 20:46:30 EST", "InactiveEnterTimestampMonotonic": "2016395873", "InactiveExitTimestamp": "Fri 2024-11-22 20:45:00 EST", "InactiveExitTimestampMonotonic": "1926234717", "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": "-.mount system.slice basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:698 Friday 22 November 2024 20:46:39 -0500 (0:00:00.491) 0:03:59.190 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 22 November 2024 20:46:41 -0500 (0:00:01.443) 0:04:00.634 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:723 Friday 22 November 2024 20:46:47 -0500 (0:00:05.857) 0:04:06.491 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 22 November 2024 20:46:47 -0500 (0:00:00.136) 0:04:06.627 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003630", "end": "2024-11-22 20:46:47.450071", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:46:47.446441" } STDOUT: ipaddress = 0.0.0.0 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 22 November 2024 20:46:47 -0500 (0:00:00.383) 0:04:07.011 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.ipaddress", "127.0.0.1" ], "delta": "0:00:00.051057", "end": "2024-11-22 20:46:47.889799", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:46:47.838742" } 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 22 November 2024 20:46:47 -0500 (0:00:00.447) 0:04:07.458 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:730 Friday 22 November 2024 20:46:48 -0500 (0:00:00.079) 0:04:07.537 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:737 Friday 22 November 2024 20:46:48 -0500 (0:00:00.074) 0:04:07.612 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Friday 22 November 2024 20:46:48 -0500 (0:00:00.074) 0:04:07.687 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 22 November 2024 20:46:48 -0500 (0:00:00.127) 0:04:07.815 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003522", "end": "2024-11-22 20:46:48.637723", "failed_when_result": false, "rc": 1, "start": "2024-11-22 20:46:48.634201" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 22 November 2024 20:46:48 -0500 (0:00:00.378) 0:04:08.193 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1435" ], "delta": "0:00:00.051156", "end": "2024-11-22 20:46:49.070930", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:46:49.019774" } 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 22 November 2024 20:46:49 -0500 (0:00:00.446) 0:04:08.640 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 22 November 2024 20:46:49 -0500 (0:00:00.073) 0:04:08.713 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:775 Friday 22 November 2024 20:46:49 -0500 (0:00:00.075) 0:04:08.789 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 22 November 2024 20:46:49 -0500 (0:00:00.139) 0:04:08.929 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003754", "end": "2024-11-22 20:46:49.746595", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:46:49.742841" } STDOUT: enabled = True TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 22 November 2024 20:46:49 -0500 (0:00:00.376) 0:04:09.305 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "sqlagent.enabled", "False" ], "delta": "0:00:00.050106", "end": "2024-11-22 20:46:50.180515", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:46:50.130409" } 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 22 November 2024 20:46:50 -0500 (0:00:00.443) 0:04:09.748 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:782 Friday 22 November 2024 20:46:50 -0500 (0:00:00.074) 0:04:09.823 ******* changed: [managed-node1] => { "changed": true, "changes": { "removed": [ "mssql-server-fts" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server-fts.x86_64 0:14.0.3465.1-1 will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server-fts\n x86_64 14.0.3465.1-1 @packages-microsoft-com-mssql-server-2017 554 M\n\nTransaction Summary\n================================================================================\nRemove 1 Package\n\nInstalled size: 554 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-fts-14.0.3465.1-1.x86_64 1/1 \n Verifying : mssql-server-fts-14.0.3465.1-1.x86_64 1/1 \n\nRemoved:\n mssql-server-fts.x86_64 0:14.0.3465.1-1 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:789 Friday 22 November 2024 20:46:51 -0500 (0:00:01.614) 0:04:11.438 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:798 Friday 22 November 2024 20:46:53 -0500 (0:00:01.514) 0:04:12.953 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003726", "end": "2024-11-22 20:46:53.773011", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:46:53.769285" } STDOUT: traceflag0 = 3979 TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 22 November 2024 20:46:53 -0500 (0:00:00.380) 0:04:13.333 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Friday 22 November 2024 20:46:53 -0500 (0:00:00.076) 0:04:13.410 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "traceflag", "3979", "off" ], "delta": "0:00:00.050378", "end": "2024-11-22 20:46:54.282161", "rc": 0, "start": "2024-11-22 20:46:54.231783" } 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:819 Friday 22 November 2024 20:46:54 -0500 (0:00:00.428) 0:04:13.838 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 22 November 2024 20:46:54 -0500 (0:00:00.134) 0:04:13.972 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003639", "end": "2024-11-22 20:46:54.797394", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:46:54.793755" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 22 November 2024 20:46:54 -0500 (0:00:00.384) 0:04:14.357 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 22 November 2024 20:46:54 -0500 (0:00:00.084) 0:04:14.442 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:825 Friday 22 November 2024 20:46:55 -0500 (0:00:00.077) 0:04:14.519 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 22 November 2024 20:46:55 -0500 (0:00:00.141) 0:04:14.661 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003650", "end": "2024-11-22 20:46:55.485334", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:46:55.481684" } STDOUT: writethrough = 1 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 22 November 2024 20:46:55 -0500 (0:00:00.389) 0:04:15.050 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "control.writethrough", "0" ], "delta": "0:00:00.049972", "end": "2024-11-22 20:46:55.933538", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:46:55.883566" } 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 22 November 2024 20:46:56 -0500 (0:00:00.450) 0:04:15.501 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:835 Friday 22 November 2024 20:46:56 -0500 (0:00:00.081) 0:04:15.583 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 22 November 2024 20:46:56 -0500 (0:00:00.076) 0:04:15.659 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:851 Friday 22 November 2024 20:46:56 -0500 (0:00:00.072) 0:04:15.732 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:858 Friday 22 November 2024 20:46:56 -0500 (0:00:00.074) 0:04:15.807 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:865 Friday 22 November 2024 20:46:56 -0500 (0:00:00.076) 0:04:15.883 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:874 Friday 22 November 2024 20:46:56 -0500 (0:00:00.078) 0:04:15.962 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:887 Friday 22 November 2024 20:46:56 -0500 (0:00:00.075) 0:04:16.037 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:896 Friday 22 November 2024 20:46:56 -0500 (0:00:00.074) 0:04:16.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 [fedora.linux_system_roles.mssql : Ensure proper configuration on user] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:910 Friday 22 November 2024 20:46:56 -0500 (0:00:00.075) 0:04:16.187 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Friday 22 November 2024 20:46:56 -0500 (0:00:00.074) 0:04:16.262 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Friday 22 November 2024 20:46:56 -0500 (0:00:00.077) 0:04:16.339 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:942 Friday 22 November 2024 20:46:56 -0500 (0:00:00.073) 0:04:16.413 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:947 Friday 22 November 2024 20:46:57 -0500 (0:00:00.072) 0:04:16.485 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:952 Friday 22 November 2024 20:46:57 -0500 (0:00:00.076) 0:04:16.562 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:958 Friday 22 November 2024 20:46:57 -0500 (0:00:00.074) 0:04:16.636 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:984 Friday 22 November 2024 20:46:57 -0500 (0:00:00.163) 0:04:16.799 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1005 Friday 22 November 2024 20:46:57 -0500 (0:00:00.074) 0:04:16.874 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1013 Friday 22 November 2024 20:46:57 -0500 (0:00:00.075) 0:04:16.950 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 22 November 2024 20:46:57 -0500 (0:00:00.075) 0:04:17.026 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1029 Friday 22 November 2024 20:46:57 -0500 (0:00:00.072) 0:04:17.098 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 22 November 2024 20:46:57 -0500 (0:00:00.074) 0:04:17.173 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1058 Friday 22 November 2024 20:46:57 -0500 (0:00:00.074) 0:04:17.248 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1078 Friday 22 November 2024 20:46:57 -0500 (0:00:00.075) 0:04:17.323 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1131 Friday 22 November 2024 20:46:57 -0500 (0:00:00.075) 0:04:17.399 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1138 Friday 22 November 2024 20:46:58 -0500 (0:00:00.074) 0:04:17.473 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1145 Friday 22 November 2024 20:46:58 -0500 (0:00:00.074) 0:04:17.547 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1155 Friday 22 November 2024 20:46:58 -0500 (0:00:00.078) 0:04:17.625 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1161 Friday 22 November 2024 20:46:58 -0500 (0:00:00.074) 0:04:17.700 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1169 Friday 22 November 2024 20:46:58 -0500 (0:00:00.087) 0:04:17.788 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1178 Friday 22 November 2024 20:46:58 -0500 (0:00:00.073) 0:04:17.861 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1186 Friday 22 November 2024 20:46:58 -0500 (0:00:00.072) 0:04:17.934 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1200 Friday 22 November 2024 20:46:58 -0500 (0:00:00.090) 0:04:18.024 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1206 Friday 22 November 2024 20:46:58 -0500 (0:00:00.073) 0:04:18.097 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1228 Friday 22 November 2024 20:46:58 -0500 (0:00:00.072) 0:04:18.170 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1238 Friday 22 November 2024 20:46:58 -0500 (0:00:00.169) 0:04:18.339 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Friday 22 November 2024 20:46:58 -0500 (0:00:00.076) 0:04:18.416 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 22 November 2024 20:46:59 -0500 (0:00:00.077) 0:04:18.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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1267 Friday 22 November 2024 20:46:59 -0500 (0:00:00.073) 0:04:18.567 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1280 Friday 22 November 2024 20:46:59 -0500 (0:00:00.080) 0:04:18.648 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1289 Friday 22 November 2024 20:46:59 -0500 (0:00:00.077) 0:04:18.726 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1296 Friday 22 November 2024 20:46:59 -0500 (0:00:00.072) 0:04:18.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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Friday 22 November 2024 20:46:59 -0500 (0:00:00.074) 0:04:18.874 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1311 Friday 22 November 2024 20:46:59 -0500 (0:00:00.073) 0:04:18.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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1318 Friday 22 November 2024 20:46:59 -0500 (0:00:00.076) 0:04:19.024 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1330 Friday 22 November 2024 20:46:59 -0500 (0:00:00.094) 0:04:19.119 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1339 Friday 22 November 2024 20:46:59 -0500 (0:00:00.072) 0:04:19.192 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1346 Friday 22 November 2024 20:46:59 -0500 (0:00:00.074) 0:04:19.267 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1352 Friday 22 November 2024 20:46:59 -0500 (0:00:00.072) 0:04:19.339 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1360 Friday 22 November 2024 20:46:59 -0500 (0:00:00.076) 0:04:19.416 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1373 Friday 22 November 2024 20:47:00 -0500 (0:00:00.085) 0:04:19.502 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1385 Friday 22 November 2024 20:47:00 -0500 (0:00:00.074) 0:04:19.576 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1390 Friday 22 November 2024 20:47:00 -0500 (0:00:00.081) 0:04:19.657 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1398 Friday 22 November 2024 20:47:00 -0500 (0:00:00.074) 0:04:19.731 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1407 Friday 22 November 2024 20:47:00 -0500 (0:00:00.165) 0:04:19.897 ******* changed: [managed-node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Friday 22 November 2024 20:47:00 -0500 (0:00:00.496) 0:04:20.393 ******* changed: [managed-node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-22 20:45:00 EST", "ActiveEnterTimestampMonotonic": "1926234717", "ActiveExitTimestamp": "Fri 2024-11-22 20:46:29 EST", "ActiveExitTimestampMonotonic": "2016049965", "ActiveState": "inactive", "After": "systemd-journald.socket auditd.service basic.target system.slice -.mount network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-22 20:45:00 EST", "AssertTimestampMonotonic": "1926233851", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-11-22 20:45:00 EST", "ConditionTimestampMonotonic": "1926233849", "Conflicts": "shutdown.target", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Microsoft SQL Server Database Engine", "DevicePolicy": "auto", "Documentation": "https://docs.microsoft.com/en-us/sql/linux", "ExecMainCode": "1", "ExecMainExitTimestamp": "Fri 2024-11-22 20:46:30 EST", "ExecMainExitTimestampMonotonic": "2016395776", "ExecMainPID": "17038", "ExecMainStartTimestamp": "Fri 2024-11-22 20:45:00 EST", "ExecMainStartTimestampMonotonic": "1926234627", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-11-22 20:45:00 EST] ; stop_time=[Fri 2024-11-22 20:46:30 EST] ; pid=17038 ; code=exited ; status=0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-11-22 20:46:30 EST", "InactiveEnterTimestampMonotonic": "2016395873", "InactiveExitTimestamp": "Fri 2024-11-22 20:45:00 EST", "InactiveExitTimestampMonotonic": "1926234717", "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": "-.mount system.slice basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1420 Friday 22 November 2024 20:47:01 -0500 (0:00:00.577) 0:04:20.971 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1427 Friday 22 November 2024 20:47:01 -0500 (0:00:00.073) 0:04:21.045 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:69 Friday 22 November 2024 20:47:01 -0500 (0:00:00.075) 0:04:21.121 ******* TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Friday 22 November 2024 20:47:02 -0500 (0:00:01.224) 0:04:22.345 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Friday 22 November 2024 20:47:03 -0500 (0:00:00.127) 0:04:22.473 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Friday 22 November 2024 20:47:03 -0500 (0:00:00.106) 0:04:22.580 ******* 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-eOZ/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-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Friday 22 November 2024 20:47:03 -0500 (0:00:00.126) 0:04:22.706 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Friday 22 November 2024 20:47:03 -0500 (0:00:00.073) 0:04:22.779 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Friday 22 November 2024 20:47:03 -0500 (0:00:00.073) 0:04:22.852 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Friday 22 November 2024 20:47:03 -0500 (0:00:00.072) 0:04:22.924 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Friday 22 November 2024 20:47:03 -0500 (0:00:00.073) 0:04:22.998 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Friday 22 November 2024 20:47:03 -0500 (0:00:00.074) 0:04:23.073 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Friday 22 November 2024 20:47:03 -0500 (0:00:00.073) 0:04:23.146 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Friday 22 November 2024 20:47:03 -0500 (0:00:00.075) 0:04:23.222 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Friday 22 November 2024 20:47:03 -0500 (0:00:00.077) 0:04:23.300 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Friday 22 November 2024 20:47:03 -0500 (0:00:00.074) 0:04:23.374 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Friday 22 November 2024 20:47:03 -0500 (0:00:00.078) 0:04:23.453 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Friday 22 November 2024 20:47:04 -0500 (0:00:00.084) 0:04:23.537 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Friday 22 November 2024 20:47:04 -0500 (0:00:00.207) 0:04:23.745 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Friday 22 November 2024 20:47:04 -0500 (0:00:00.076) 0:04:23.822 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Friday 22 November 2024 20:47:04 -0500 (0:00:00.079) 0:04:23.901 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Friday 22 November 2024 20:47:04 -0500 (0:00:00.076) 0:04:23.977 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Friday 22 November 2024 20:47:04 -0500 (0:00:00.082) 0:04:24.060 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Friday 22 November 2024 20:47:04 -0500 (0:00:00.077) 0:04:24.137 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Set fact with the currently installed SQL Server version if any] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Friday 22 November 2024 20:47:06 -0500 (0:00:01.905) 0:04:26.043 ******* ok: [managed-node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_facts": { "__mssql_current_version": "2017" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 } } skipping: [managed-node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 }, "skip_reason": "Conditional result was False" } skipping: [managed-node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Friday 22 November 2024 20:47:06 -0500 (0:00:00.215) 0:04:26.258 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Friday 22 November 2024 20:47:06 -0500 (0:00:00.075) 0:04:26.334 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Friday 22 November 2024 20:47:06 -0500 (0:00:00.085) 0:04:26.420 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Friday 22 November 2024 20:47:07 -0500 (0:00:00.148) 0:04:26.568 ******* ok: [managed-node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Friday 22 November 2024 20:47:07 -0500 (0:00:00.579) 0:04:27.147 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Friday 22 November 2024 20:47:07 -0500 (0:00:00.190) 0:04:27.338 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Friday 22 November 2024 20:47:07 -0500 (0:00:00.080) 0:04:27.419 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2017] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Friday 22 November 2024 20:47:08 -0500 (0:00:00.082) 0:04:27.501 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Friday 22 November 2024 20:47:08 -0500 (0:00:00.079) 0:04:27.581 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2017] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Friday 22 November 2024 20:47:08 -0500 (0:00:00.079) 0:04:27.661 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Friday 22 November 2024 20:47:08 -0500 (0:00:00.088) 0:04:27.749 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2017] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Friday 22 November 2024 20:47:08 -0500 (0:00:00.108) 0:04:27.857 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Friday 22 November 2024 20:47:08 -0500 (0:00:00.075) 0:04:27.932 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Friday 22 November 2024 20:47:09 -0500 (0:00:00.647) 0:04:28.580 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-14.0.3465.1-1.x86_64 providing mssql-server is already installed" ] } lsrpackages: mssql-server TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:296 Friday 22 November 2024 20:47:09 -0500 (0:00:00.627) 0:04:29.207 ******* 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.006147", "end": "2024-11-22 20:47:10.030052", "rc": 0, "start": "2024-11-22 20:47:10.023905" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:312 Friday 22 November 2024 20:47:10 -0500 (0:00:00.380) 0:04:29.588 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:316 Friday 22 November 2024 20:47:11 -0500 (0:00:01.107) 0:04:30.695 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:325 Friday 22 November 2024 20:47:11 -0500 (0:00:00.113) 0:04:30.809 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:341 Friday 22 November 2024 20:47:11 -0500 (0:00:00.079) 0:04:30.888 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:366 Friday 22 November 2024 20:47:11 -0500 (0:00:00.075) 0:04:30.963 ******* included: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed-node1 included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 22 November 2024 20:47:11 -0500 (0:00:00.164) 0:04:31.128 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 22 November 2024 20:47:12 -0500 (0:00:00.395) 0:04:31.523 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 22 November 2024 20:47:12 -0500 (0:00:00.078) 0:04:31.602 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 22 November 2024 20:47:12 -0500 (0:00:00.133) 0:04:31.736 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003648", "end": "2024-11-22 20:47:12.579807", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:47:12.576159" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 22 November 2024 20:47:12 -0500 (0:00:00.406) 0:04:32.143 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 22 November 2024 20:47:12 -0500 (0:00:00.086) 0:04:32.229 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Friday 22 November 2024 20:47:12 -0500 (0:00:00.081) 0:04:32.311 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Friday 22 November 2024 20:47:13 -0500 (0:00:00.387) 0:04:32.699 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Friday 22 November 2024 20:47:13 -0500 (0:00:00.083) 0:04:32.782 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 22 November 2024 20:47:13 -0500 (0:00:00.232) 0:04:33.014 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003413", "end": "2024-11-22 20:47:13.843265", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:47:13.839852" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 22 November 2024 20:47:13 -0500 (0:00:00.390) 0:04:33.405 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 22 November 2024 20:47:14 -0500 (0:00:00.089) 0:04:33.495 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:381 Friday 22 November 2024 20:47:14 -0500 (0:00:00.079) 0:04:33.575 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:395 Friday 22 November 2024 20:47:14 -0500 (0:00:00.077) 0:04:33.653 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Friday 22 November 2024 20:47:14 -0500 (0:00:00.078) 0:04:33.731 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:412 Friday 22 November 2024 20:47:14 -0500 (0:00:00.619) 0:04:34.350 ******* ok: [managed-node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-22 20:13:02 EST", "ActiveEnterTimestampMonotonic": "9009119", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "systemd-journald.socket basic.target system.slice network.target dbus.service systemd-sysctl.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-22 20:13:01 EST", "AssertTimestampMonotonic": "7806256", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-11-22 20:13:01 EST", "ConditionTimestampMonotonic": "7806255", "Conflicts": "shutdown.target cpupower.service", "ControlGroup": "/system.slice/tuned.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "Dynamic System Tuning Daemon", "DevicePolicy": "auto", "Documentation": "man:tuned(8) man:tuned.conf(5) man:tuned-adm(8)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "840", "ExecMainStartTimestamp": "Fri 2024-11-22 20:13:01 EST", "ExecMainStartTimestampMonotonic": "7807090", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-11-22 20:13:01 EST", "InactiveExitTimestampMonotonic": "7807151", "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": "840", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "tuned.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PIDFile": "/run/tuned/tuned.pid", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "basic.target polkit.service system.slice dbus.service", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-11-22 20:13:02 EST", "WatchdogTimestampMonotonic": "9009058", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:419 Friday 22 November 2024 20:47:15 -0500 (0:00:00.495) 0:04:34.846 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.092411", "end": "2024-11-22 20:47:15.758496", "rc": 0, "start": "2024-11-22 20:47:15.666085" } 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:432 Friday 22 November 2024 20:47:15 -0500 (0:00:00.470) 0:04:35.317 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:445 Friday 22 November 2024 20:47:15 -0500 (0:00:00.078) 0:04:35.395 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:454 Friday 22 November 2024 20:47:16 -0500 (0:00:00.078) 0:04:35.474 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:464 Friday 22 November 2024 20:47:16 -0500 (0:00:00.079) 0:04:35.553 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:472 Friday 22 November 2024 20:47:16 -0500 (0:00:00.496) 0:04:36.049 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:481 Friday 22 November 2024 20:47:16 -0500 (0:00:00.075) 0:04:36.125 ******* ok: [managed-node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools18-18.4.1.1-1.x86_64 providing mssql-tools18 is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } lsrpackages: mssql-tools18 unixODBC-devel TASK [Create certificates using the certificate role] ************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:498 Friday 22 November 2024 20:47:17 -0500 (0:00:00.621) 0:04:36.747 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:512 Friday 22 November 2024 20:47:17 -0500 (0:00:00.083) 0:04:36.830 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:517 Friday 22 November 2024 20:47:17 -0500 (0:00:00.074) 0:04:36.905 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:535 Friday 22 November 2024 20:47:17 -0500 (0:00:00.088) 0:04:36.994 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Friday 22 November 2024 20:47:17 -0500 (0:00:00.078) 0:04:37.072 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:553 Friday 22 November 2024 20:47:17 -0500 (0:00:00.075) 0:04:37.147 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:560 Friday 22 November 2024 20:47:17 -0500 (0:00:00.077) 0:04:37.225 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get the setting forceencryption] ******* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:569 Friday 22 November 2024 20:47:17 -0500 (0:00:00.073) 0:04:37.299 ******* ok: [managed-node1] => { "changed": false, "cmd": "set -euo pipefail; grep '^forceencryption' /var/opt/mssql/mssql.conf | sed 's/forceencryption = //g'", "delta": "0:00:00.005439", "end": "2024-11-22 20:47:18.131814", "failed_when_result": false, "rc": 1, "start": "2024-11-22 20:47:18.126375" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Append -No to sqlcmd when TLS is not configured] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:578 Friday 22 November 2024 20:47:18 -0500 (0:00:00.391) 0:04:37.690 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Append -C to sqlcmd when TLS is configured but certs are self-signed] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:585 Friday 22 November 2024 20:47:18 -0500 (0:00:00.083) 0:04:37.774 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:598 Friday 22 November 2024 20:47:18 -0500 (0:00:00.087) 0:04:37.861 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 22 November 2024 20:47:18 -0500 (0:00:00.136) 0:04:37.998 ******* ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-22 20:47:01 EST", "ActiveEnterTimestampMonotonic": "2047560818", "ActiveExitTimestamp": "Fri 2024-11-22 20:46:29 EST", "ActiveExitTimestampMonotonic": "2016049965", "ActiveState": "active", "After": "systemd-journald.socket auditd.service basic.target system.slice -.mount network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-22 20:47:01 EST", "AssertTimestampMonotonic": "2047560017", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-11-22 20:47:01 EST", "ConditionTimestampMonotonic": "2047559999", "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": "22884", "ExecMainStartTimestamp": "Fri 2024-11-22 20:47:01 EST", "ExecMainStartTimestampMonotonic": "2047560744", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-11-22 20:47:01 EST] ; stop_time=[n/a] ; pid=22884 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-11-22 20:46:30 EST", "InactiveEnterTimestampMonotonic": "2016395873", "InactiveExitTimestamp": "Fri 2024-11-22 20:47:01 EST", "InactiveExitTimestampMonotonic": "2047560818", "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": "22884", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount system.slice basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-11-22 20:47:01 EST", "WatchdogTimestampMonotonic": "2047560785", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 22 November 2024 20:47:19 -0500 (0:00:00.590) 0:04:38.588 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003587", "end": "2024-11-22 20:47:19.419006", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:47:19.415419" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 22 November 2024 20:47:19 -0500 (0:00:00.389) 0:04:38.978 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003695", "end": "2024-11-22 20:47:19.804606", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:47:19.800911" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 22 November 2024 20:47:19 -0500 (0:00:00.386) 0:04:39.364 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:602 Friday 22 November 2024 20:47:20 -0500 (0:00:00.098) 0:04:39.462 ******* 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": 6733, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:608 Friday 22 November 2024 20:47:21 -0500 (0:00:01.386) 0:04:40.849 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:623 Friday 22 November 2024 20:47:21 -0500 (0:00:00.428) 0:04:41.277 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:630 Friday 22 November 2024 20:47:21 -0500 (0:00:00.080) 0:04:41.358 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:638 Friday 22 November 2024 20:47:23 -0500 (0:00:01.471) 0:04:42.829 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:659 Friday 22 November 2024 20:47:23 -0500 (0:00:00.092) 0:04:42.922 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:666 Friday 22 November 2024 20:47:23 -0500 (0:00:00.076) 0:04:42.998 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:677 Friday 22 November 2024 20:47:23 -0500 (0:00:00.185) 0:04:43.184 ******* 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.005626", "end": "2024-11-22 20:47:24.012757", "rc": 0, "start": "2024-11-22 20:47:24.007131" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:691 Friday 22 November 2024 20:47:24 -0500 (0:00:00.390) 0:04:43.574 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:698 Friday 22 November 2024 20:47:24 -0500 (0:00:00.082) 0:04:43.657 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Friday 22 November 2024 20:47:25 -0500 (0:00:01.347) 0:04:45.005 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:723 Friday 22 November 2024 20:47:25 -0500 (0:00:00.086) 0:04:45.091 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 22 November 2024 20:47:25 -0500 (0:00:00.143) 0:04:45.234 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003584", "end": "2024-11-22 20:47:26.067958", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:47:26.064374" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Configure the setting network ipaddress] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 22 November 2024 20:47:26 -0500 (0:00:00.395) 0:04:45.629 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 22 November 2024 20:47:26 -0500 (0:00:00.084) 0:04:45.714 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:730 Friday 22 November 2024 20:47:26 -0500 (0:00:00.078) 0:04:45.793 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1435] ************************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:737 Friday 22 November 2024 20:47:26 -0500 (0:00:00.075) 0:04:45.868 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Friday 22 November 2024 20:47:26 -0500 (0:00:00.084) 0:04:45.953 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 22 November 2024 20:47:26 -0500 (0:00:00.245) 0:04:46.199 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003401", "end": "2024-11-22 20:47:27.030360", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:47:27.026959" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 22 November 2024 20:47:27 -0500 (0:00:00.394) 0:04:46.593 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 22 November 2024 20:47:27 -0500 (0:00:00.087) 0:04:46.680 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:755 Friday 22 November 2024 20:47:27 -0500 (0:00:00.081) 0:04:46.761 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:775 Friday 22 November 2024 20:47:27 -0500 (0:00:00.074) 0:04:46.836 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 22 November 2024 20:47:27 -0500 (0:00:00.150) 0:04:46.987 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^enabled = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003468", "end": "2024-11-22 20:47:27.881632", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:47:27.878164" } STDOUT: enabled = False TASK [fedora.linux_system_roles.mssql : Configure the setting sqlagent enabled] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 22 November 2024 20:47:27 -0500 (0:00:00.454) 0:04:47.442 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 22 November 2024 20:47:28 -0500 (0:00:00.084) 0:04:47.526 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:782 Friday 22 November 2024 20:47:28 -0500 (0:00:00.078) 0:04:47.605 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:789 Friday 22 November 2024 20:47:28 -0500 (0:00:00.653) 0:04:48.258 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:798 Friday 22 November 2024 20:47:29 -0500 (0:00:00.558) 0:04:48.817 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^traceflag[0-9] = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003617", "end": "2024-11-22 20:47:29.644060", "failed_when_result": false, "rc": 1, "start": "2024-11-22 20:47:29.640443" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Friday 22 November 2024 20:47:29 -0500 (0:00:00.398) 0:04:49.216 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Friday 22 November 2024 20:47:29 -0500 (0:00:00.080) 0:04:49.297 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:819 Friday 22 November 2024 20:47:29 -0500 (0:00:00.080) 0:04:49.378 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 22 November 2024 20:47:30 -0500 (0:00:00.135) 0:04:49.513 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^alternatewritethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003593", "end": "2024-11-22 20:47:30.344204", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:47:30.340611" } STDOUT: alternatewritethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control alternatewritethrough] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 22 November 2024 20:47:30 -0500 (0:00:00.391) 0:04:49.905 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 22 November 2024 20:47:30 -0500 (0:00:00.091) 0:04:49.997 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:825 Friday 22 November 2024 20:47:30 -0500 (0:00:00.080) 0:04:50.077 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Friday 22 November 2024 20:47:30 -0500 (0:00:00.138) 0:04:50.216 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^writethrough = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003588", "end": "2024-11-22 20:47:31.043541", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:47:31.039953" } STDOUT: writethrough = 0 TASK [fedora.linux_system_roles.mssql : Configure the setting control writethrough] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Friday 22 November 2024 20:47:31 -0500 (0:00:00.385) 0:04:50.602 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Friday 22 November 2024 20:47:31 -0500 (0:00:00.087) 0:04:50.690 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:835 Friday 22 November 2024 20:47:31 -0500 (0:00:00.077) 0:04:50.767 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Friday 22 November 2024 20:47:31 -0500 (0:00:00.076) 0:04:50.844 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:851 Friday 22 November 2024 20:47:31 -0500 (0:00:00.075) 0:04:50.920 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:858 Friday 22 November 2024 20:47:31 -0500 (0:00:00.079) 0:04:50.999 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:865 Friday 22 November 2024 20:47:31 -0500 (0:00:00.189) 0:04:51.189 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:874 Friday 22 November 2024 20:47:31 -0500 (0:00:00.080) 0:04:51.270 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:887 Friday 22 November 2024 20:47:31 -0500 (0:00:00.079) 0:04:51.349 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:896 Friday 22 November 2024 20:47:31 -0500 (0:00:00.076) 0:04:51.426 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:910 Friday 22 November 2024 20:47:32 -0500 (0:00:00.078) 0:04:51.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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Friday 22 November 2024 20:47:32 -0500 (0:00:00.080) 0:04:51.585 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Friday 22 November 2024 20:47:32 -0500 (0:00:00.077) 0:04:51.663 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:942 Friday 22 November 2024 20:47:32 -0500 (0:00:00.080) 0:04:51.743 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:947 Friday 22 November 2024 20:47:32 -0500 (0:00:00.075) 0:04:51.818 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:952 Friday 22 November 2024 20:47:32 -0500 (0:00:00.078) 0:04:51.897 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:958 Friday 22 November 2024 20:47:32 -0500 (0:00:00.084) 0:04:51.981 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:984 Friday 22 November 2024 20:47:32 -0500 (0:00:00.074) 0:04:52.055 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1005 Friday 22 November 2024 20:47:32 -0500 (0:00:00.077) 0:04:52.132 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1013 Friday 22 November 2024 20:47:32 -0500 (0:00:00.073) 0:04:52.206 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1023 Friday 22 November 2024 20:47:32 -0500 (0:00:00.076) 0:04:52.282 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1029 Friday 22 November 2024 20:47:32 -0500 (0:00:00.074) 0:04:52.356 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1047 Friday 22 November 2024 20:47:32 -0500 (0:00:00.076) 0:04:52.433 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1058 Friday 22 November 2024 20:47:33 -0500 (0:00:00.077) 0:04:52.510 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1078 Friday 22 November 2024 20:47:33 -0500 (0:00:00.073) 0:04:52.584 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1131 Friday 22 November 2024 20:47:33 -0500 (0:00:00.190) 0:04:52.775 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1138 Friday 22 November 2024 20:47:33 -0500 (0:00:00.076) 0:04:52.851 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1145 Friday 22 November 2024 20:47:33 -0500 (0:00:00.078) 0:04:52.929 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1155 Friday 22 November 2024 20:47:33 -0500 (0:00:00.082) 0:04:53.012 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1161 Friday 22 November 2024 20:47:33 -0500 (0:00:00.077) 0:04:53.089 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1169 Friday 22 November 2024 20:47:33 -0500 (0:00:00.093) 0:04:53.183 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1178 Friday 22 November 2024 20:47:33 -0500 (0:00:00.075) 0:04:53.258 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1186 Friday 22 November 2024 20:47:33 -0500 (0:00:00.078) 0:04:53.337 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1200 Friday 22 November 2024 20:47:33 -0500 (0:00:00.095) 0:04:53.433 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1206 Friday 22 November 2024 20:47:34 -0500 (0:00:00.076) 0:04:53.509 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1228 Friday 22 November 2024 20:47:34 -0500 (0:00:00.074) 0:04:53.584 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1238 Friday 22 November 2024 20:47:34 -0500 (0:00:00.073) 0:04:53.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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Friday 22 November 2024 20:47:34 -0500 (0:00:00.075) 0:04:53.733 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Friday 22 November 2024 20:47:34 -0500 (0:00:00.074) 0:04:53.808 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1267 Friday 22 November 2024 20:47:34 -0500 (0:00:00.076) 0:04:53.885 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1280 Friday 22 November 2024 20:47:34 -0500 (0:00:00.074) 0:04:53.959 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1289 Friday 22 November 2024 20:47:34 -0500 (0:00:00.084) 0:04:54.043 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1296 Friday 22 November 2024 20:47:34 -0500 (0:00:00.076) 0:04:54.119 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1303 Friday 22 November 2024 20:47:34 -0500 (0:00:00.075) 0:04:54.195 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1311 Friday 22 November 2024 20:47:34 -0500 (0:00:00.187) 0:04:54.382 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1318 Friday 22 November 2024 20:47:35 -0500 (0:00:00.076) 0:04:54.459 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1330 Friday 22 November 2024 20:47:35 -0500 (0:00:00.100) 0:04:54.560 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1339 Friday 22 November 2024 20:47:35 -0500 (0:00:00.076) 0:04:54.636 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1346 Friday 22 November 2024 20:47:35 -0500 (0:00:00.078) 0:04:54.715 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1352 Friday 22 November 2024 20:47:35 -0500 (0:00:00.076) 0:04:54.791 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1360 Friday 22 November 2024 20:47:35 -0500 (0:00:00.080) 0:04:54.872 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1373 Friday 22 November 2024 20:47:35 -0500 (0:00:00.091) 0:04:54.963 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1385 Friday 22 November 2024 20:47:35 -0500 (0:00:00.079) 0:04:55.043 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1390 Friday 22 November 2024 20:47:35 -0500 (0:00:00.076) 0:04:55.120 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1398 Friday 22 November 2024 20:47:35 -0500 (0:00:00.076) 0:04:55.197 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1407 Friday 22 November 2024 20:47:35 -0500 (0:00:00.078) 0:04:55.275 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1420 Friday 22 November 2024 20:47:36 -0500 (0:00:00.546) 0:04:55.822 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1427 Friday 22 November 2024 20:47:36 -0500 (0:00:00.072) 0:04:55.895 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify disabled settings] ************************************************ task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:84 Friday 22 November 2024 20:47:36 -0500 (0:00:00.073) 0:04:55.968 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Friday 22 November 2024 20:47:37 -0500 (0:00:00.781) 0:04:56.750 ******* 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.005996", "end": "2024-11-22 20:47:37.574409", "rc": 0, "start": "2024-11-22 20:47:37.568413" } STDOUT: /var/opt/mssql/log/errorlog TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Friday 22 November 2024 20:47:37 -0500 (0:00:00.381) 0:04:57.132 ******* 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.005630", "end": "2024-11-22 20:47:37.961997", "rc": 0, "start": "2024-11-22 20:47:37.956367" } STDOUT: true TASK [Verify if the edition matches] ******************************************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Friday 22 November 2024 20:47:38 -0500 (0:00:00.391) 0:04:57.523 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Friday 22 November 2024 20:47:38 -0500 (0:00:00.083) 0:04:57.607 ******* included: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml for managed-node1 included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 22 November 2024 20:47:38 -0500 (0:00:00.201) 0:04:57.808 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^ipaddress' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004778", "end": "2024-11-22 20:47:38.632050", "rc": 0, "start": "2024-11-22 20:47:38.627272" } STDOUT: ipaddress = 127.0.0.1 TASK [Verify the setting when it is type str ipaddress] ************************ task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 22 November 2024 20:47:38 -0500 (0:00:00.382) 0:04:58.191 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool ipaddress] *********************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 22 November 2024 20:47:38 -0500 (0:00:00.094) 0:04:58.285 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 127.0.0.1] ***************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 22 November 2024 20:47:38 -0500 (0:00:00.076) 0:04:58.362 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultdatadir] ***************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 22 November 2024 20:47:38 -0500 (0:00:00.076) 0:04:58.438 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^defaultdatadir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004798", "end": "2024-11-22 20:47:39.258636", "rc": 0, "start": "2024-11-22 20:47:39.253838" } STDOUT: defaultdatadir = /var/opt/mssql/data TASK [Verify the setting when it is type str defaultdatadir] ******************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 22 November 2024 20:47:39 -0500 (0:00:00.496) 0:04:58.934 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultdatadir] ****************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 22 November 2024 20:47:39 -0500 (0:00:00.099) 0:04:59.034 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/data] ******************************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 22 November 2024 20:47:39 -0500 (0:00:00.082) 0:04:59.117 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting enabled] ************************************ task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 22 November 2024 20:47:39 -0500 (0:00:00.081) 0:04:59.198 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^enabled' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004743", "end": "2024-11-22 20:47:40.020384", "rc": 0, "start": "2024-11-22 20:47:40.015641" } STDOUT: enabled = False TASK [Verify the setting when it is type str enabled] ************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 22 November 2024 20:47:40 -0500 (0:00:00.383) 0:04:59.582 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 22 November 2024 20:47:40 -0500 (0:00:00.081) 0:04:59.663 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 22 November 2024 20:47:40 -0500 (0:00:00.097) 0:04:59.761 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting defaultlogdir] ****************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 22 November 2024 20:47:40 -0500 (0:00:00.078) 0:04:59.840 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^defaultlogdir' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004819", "end": "2024-11-22 20:47:40.665772", "rc": 0, "start": "2024-11-22 20:47:40.660953" } STDOUT: defaultlogdir = /var/opt/mssql/log TASK [Verify the setting when it is type str defaultlogdir] ******************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 22 November 2024 20:47:40 -0500 (0:00:00.386) 0:05:00.226 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the setting when it is type bool defaultlogdir] ******************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 22 November 2024 20:47:40 -0500 (0:00:00.097) 0:05:00.324 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = /var/opt/mssql/log] ******************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 22 November 2024 20:47:40 -0500 (0:00:00.077) 0:05:00.401 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the setting tcpport] ************************************ task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 22 November 2024 20:47:41 -0500 (0:00:00.079) 0:05:00.481 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^tcpport' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004631", "end": "2024-11-22 20:47:41.308643", "rc": 0, "start": "2024-11-22 20:47:41.304012" } STDOUT: tcpport = 1435 TASK [Verify the setting when it is type str tcpport] ************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 22 November 2024 20:47:41 -0500 (0:00:00.387) 0:05:00.868 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 22 November 2024 20:47:41 -0500 (0:00:00.082) 0:05:00.950 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that tcpport = 1435] ********************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 22 November 2024 20:47:41 -0500 (0:00:00.075) 0:05:01.026 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Friday 22 November 2024 20:47:41 -0500 (0:00:00.222) 0:05:01.248 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732326217.476085, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1732326217.401088, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 524462, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1732326217.401088, "nlink": 2, "path": "/var/opt/mssql/data", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "483604555", "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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Friday 22 November 2024 20:47:42 -0500 (0:00:00.502) 0:05:01.751 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Friday 22 November 2024 20:47:42 -0500 (0:00:00.092) 0:05:01.844 ******* ok: [managed-node1] => { "changed": false, "stat": { "atime": 1732326424.3978004, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1732326424.4098, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 524463, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0755", "mtime": 1732326424.4098, "nlink": 2, "path": "/var/opt/mssql/log", "pw_name": "mssql", "readable": true, "rgrp": true, "roth": true, "rusr": true, "size": 4096, "uid": 996, "version": "483604556", "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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Friday 22 November 2024 20:47:42 -0500 (0:00:00.496) 0:05:02.341 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Friday 22 November 2024 20:47:42 -0500 (0:00:00.091) 0:05:02.432 ******* TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Friday 22 November 2024 20:47:43 -0500 (0:00:00.130) 0:05:02.563 ******* ok: [managed-node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-22 20:47:01 EST", "ActiveEnterTimestampMonotonic": "2047560818", "ActiveExitTimestamp": "Fri 2024-11-22 20:46:29 EST", "ActiveExitTimestampMonotonic": "2016049965", "ActiveState": "active", "After": "systemd-journald.socket auditd.service basic.target system.slice -.mount network.target", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-22 20:47:01 EST", "AssertTimestampMonotonic": "2047560017", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-11-22 20:47:01 EST", "ConditionTimestampMonotonic": "2047559999", "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": "22884", "ExecMainStartTimestamp": "Fri 2024-11-22 20:47:01 EST", "ExecMainStartTimestampMonotonic": "2047560744", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Fri 2024-11-22 20:47:01 EST] ; stop_time=[n/a] ; pid=22884 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Fri 2024-11-22 20:46:30 EST", "InactiveEnterTimestampMonotonic": "2016395873", "InactiveExitTimestamp": "Fri 2024-11-22 20:47:01 EST", "InactiveExitTimestampMonotonic": "2047560818", "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": "22884", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "-.mount system.slice basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "0", "StartLimitInterval": "0", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Fri 2024-11-22 20:47:01 EST", "WatchdogTimestampMonotonic": "2047560785", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Friday 22 November 2024 20:47:43 -0500 (0:00:00.565) 0:05:03.128 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003630", "end": "2024-11-22 20:47:43.952719", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:47:43.949089" } STDOUT: tcpport = 1435 TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Friday 22 November 2024 20:47:44 -0500 (0:00:00.382) 0:05:03.510 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003621", "end": "2024-11-22 20:47:44.334757", "failed_when_result": false, "rc": 0, "start": "2024-11-22 20:47:44.331136" } STDOUT: ipaddress = 127.0.0.1 TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Friday 22 November 2024 20:47:44 -0500 (0:00:00.383) 0:05:03.894 ******* ok: [managed-node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Friday 22 November 2024 20:47:44 -0500 (0:00:00.094) 0:05:03.989 ******* 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": 6733, "state": "file", "uid": 996 } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Friday 22 November 2024 20:47:45 -0500 (0:00:01.381) 0:05:05.371 ******* ok: [managed-node1] => { "attempts": 1, "changed": false, "cmd": [ "/opt/mssql-tools18/bin/sqlcmd", "-No", "-S", "127.0.0.1,1435", "-U", "sa", "-P", "p@55w0rD1", "-Q", "SELECT @@VERSION" ], "delta": "0:00:00.023605", "end": "2024-11-22 20:47:46.218801", "rc": 0, "start": "2024-11-22 20:47:46.195196" } STDOUT: ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ Microsoft SQL Server 2017 (RTM-CU31-GDR) (KB5029376) - 14.0.3465.1 (X64) Jul 30 2023 15:31:58 Copyright (C) 2017 Microsoft Corporation Standard Edition (64-bit) on Linux (CentOS Linux 7 (Core)) (1 rows affected) TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Friday 22 November 2024 20:47:46 -0500 (0:00:00.416) 0:05:05.787 ******* ok: [managed-node1] => { "ansible_facts": { "mssql_password": null }, "changed": false } TASK [Verify the package mssql-server-fts] ************************************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Friday 22 November 2024 20:47:46 -0500 (0:00:00.084) 0:05:05.872 ******* included: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml for managed-node1 TASK [Gather package facts] **************************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 Friday 22 November 2024 20:47:46 -0500 (0:00:00.272) 0:05:06.144 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:12 Friday 22 November 2024 20:47:48 -0500 (0:00:01.337) 0:05:07.482 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:17 Friday 22 November 2024 20:47:48 -0500 (0:00:00.083) 0:05:07.566 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify the package powershell] ******************************************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Friday 22 November 2024 20:47:48 -0500 (0:00:00.119) 0:05:07.685 ******* included: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml for managed-node1 TASK [Gather package facts] **************************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 Friday 22 November 2024 20:47:48 -0500 (0:00:00.141) 0:05:07.827 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:12 Friday 22 November 2024 20:47:49 -0500 (0:00:01.496) 0:05:09.323 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the package is not installed powershell] *********************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:17 Friday 22 November 2024 20:47:49 -0500 (0:00:00.082) 0:05:09.405 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Friday 22 November 2024 20:47:50 -0500 (0:00:00.114) 0:05:09.520 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^traceflag' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.005048", "end": "2024-11-22 20:47:50.381913", "rc": 0, "start": "2024-11-22 20:47:50.376865" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Friday 22 November 2024 20:47:50 -0500 (0:00:00.418) 0:05:09.939 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Friday 22 November 2024 20:47:50 -0500 (0:00:00.080) 0:05:10.019 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Friday 22 November 2024 20:47:50 -0500 (0:00:00.090) 0:05:10.110 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 22 November 2024 20:47:50 -0500 (0:00:00.144) 0:05:10.254 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^alternatewritethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004500", "end": "2024-11-22 20:47:51.080524", "rc": 0, "start": "2024-11-22 20:47:51.076024" } STDOUT: alternatewritethrough = 0 TASK [Verify the setting when it is type str alternatewritethrough] ************ task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 22 November 2024 20:47:51 -0500 (0:00:00.387) 0:05:10.641 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 22 November 2024 20:47:51 -0500 (0:00:00.081) 0:05:10.723 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 22 November 2024 20:47:51 -0500 (0:00:00.094) 0:05:10.817 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Friday 22 November 2024 20:47:51 -0500 (0:00:00.078) 0:05:10.896 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:7 Friday 22 November 2024 20:47:51 -0500 (0:00:00.135) 0:05:11.032 ******* ok: [managed-node1] => { "changed": false, "cmd": "grep '^writethrough' /var/opt/mssql/mssql.conf || true", "delta": "0:00:00.004480", "end": "2024-11-22 20:47:51.865344", "rc": 0, "start": "2024-11-22 20:47:51.860864" } STDOUT: writethrough = 0 TASK [Verify the setting when it is type str writethrough] ********************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:14 Friday 22 November 2024 20:47:51 -0500 (0:00:00.392) 0:05:11.425 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:25 Friday 22 November 2024 20:47:52 -0500 (0:00:00.084) 0:05:11.509 ******* ok: [managed-node1] => { "changed": false } MSG: All assertions passed TASK [Verify that tcpport = False] ********************************************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/mssql_conf_verify.yml:40 Friday 22 November 2024 20:47:52 -0500 (0:00:00.099) 0:05:11.609 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Friday 22 November 2024 20:47:52 -0500 (0:00:00.079) 0:05:11.688 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Friday 22 November 2024 20:47:52 -0500 (0:00:00.076) 0:05:11.764 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Friday 22 November 2024 20:47:52 -0500 (0:00:00.197) 0:05:11.962 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Friday 22 November 2024 20:47:52 -0500 (0:00:00.079) 0:05:12.042 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Friday 22 November 2024 20:47:52 -0500 (0:00:00.078) 0:05:12.120 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:101 Friday 22 November 2024 20:47:52 -0500 (0:00:00.086) 0:05:12.207 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/check_header.yml:4 Friday 22 November 2024 20:47:53 -0500 (0:00:00.710) 0:05:12.917 ******* ok: [managed-node1] => { "changed": false, "cmd": [ "grep", "Ansible managed\n", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003270", "end": "2024-11-22 20:47:53.901914", "rc": 0, "start": "2024-11-22 20:47:53.898644" } 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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_idempotency_2017.yml:18 Friday 22 November 2024 20:47:53 -0500 (0:00:00.540) 0:05:13.458 ******* included: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml for managed-node1 TASK [Gather package facts] **************************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Friday 22 November 2024 20:47:54 -0500 (0:00:00.127) 0:05:13.585 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:6 Friday 22 November 2024 20:47:55 -0500 (0:00:01.460) 0:05:15.046 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:14 Friday 22 November 2024 20:47:55 -0500 (0:00:00.109) 0:05:15.155 ******* ok: [managed-node1] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:18 Friday 22 November 2024 20:47:55 -0500 (0:00:00.089) 0:05:15.244 ******* TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Friday 22 November 2024 20:47:55 -0500 (0:00:00.200) 0:05:15.445 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Friday 22 November 2024 20:47:56 -0500 (0:00:00.142) 0:05:15.588 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Friday 22 November 2024 20:47:56 -0500 (0:00:00.105) 0:05:15.694 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Friday 22 November 2024 20:47:56 -0500 (0:00:00.380) 0:05:16.074 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Friday 22 November 2024 20:47:56 -0500 (0:00:00.086) 0:05:16.161 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Friday 22 November 2024 20:47:57 -0500 (0:00:00.499) 0:05:16.660 ******* ok: [managed-node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Friday 22 November 2024 20:47:57 -0500 (0:00:00.088) 0:05:16.749 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Friday 22 November 2024 20:47:57 -0500 (0:00:00.628) 0:05:17.377 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Friday 22 November 2024 20:47:57 -0500 (0:00:00.079) 0:05:17.457 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Friday 22 November 2024 20:47:58 -0500 (0:00:00.079) 0:05:17.537 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Friday 22 November 2024 20:47:58 -0500 (0:00:00.076) 0:05:17.613 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Friday 22 November 2024 20:47:58 -0500 (0:00:00.079) 0:05:17.693 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Friday 22 November 2024 20:47:58 -0500 (0:00:00.097) 0:05:17.790 ******* ok: [managed-node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Fri 2024-11-22 20:26:48 EST", "ActiveEnterTimestampMonotonic": "834442370", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target polkit.service system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-22 20:26:47 EST", "AssertTimestampMonotonic": "834124500", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-11-22 20:26:47 EST", "ConditionTimestampMonotonic": "834124499", "Conflicts": "ipset.service iptables.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "20817", "ExecMainStartTimestamp": "Fri 2024-11-22 20:26:47 EST", "ExecMainStartTimestampMonotonic": "834126104", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-11-22 20:26:47 EST", "InactiveExitTimestampMonotonic": "834126435", "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": "20817", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.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": "Fri 2024-11-22 20:26:48 EST", "WatchdogTimestampMonotonic": "834442309", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Friday 22 November 2024 20:47:58 -0500 (0:00:00.509) 0:05:18.300 ******* ok: [managed-node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Fri 2024-11-22 20:26:48 EST", "ActiveEnterTimestampMonotonic": "834442370", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target polkit.service system.slice dbus.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Fri 2024-11-22 20:26:47 EST", "AssertTimestampMonotonic": "834124500", "Before": "network-pre.target multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Fri 2024-11-22 20:26:47 EST", "ConditionTimestampMonotonic": "834124499", "Conflicts": "ipset.service iptables.service shutdown.target ip6tables.service ebtables.service", "ControlGroup": "/system.slice/firewalld.service", "ControlPID": "0", "DefaultDependencies": "yes", "Delegate": "no", "Description": "firewalld - dynamic firewall daemon", "DevicePolicy": "auto", "Documentation": "man:firewalld(1)", "EnvironmentFile": "/etc/sysconfig/firewalld (ignore_errors=yes)", "ExecMainCode": "0", "ExecMainExitTimestampMonotonic": "0", "ExecMainPID": "20817", "ExecMainStartTimestamp": "Fri 2024-11-22 20:26:47 EST", "ExecMainStartTimestampMonotonic": "834126104", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Fri 2024-11-22 20:26:47 EST", "InactiveExitTimestampMonotonic": "834126435", "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": "20817", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "firewalld.service dbus-org.fedoraproject.FirewallD1.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": "Fri 2024-11-22 20:26:48 EST", "WatchdogTimestampMonotonic": "834442309", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Friday 22 November 2024 20:47:59 -0500 (0:00:00.491) 0:05:18.791 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Friday 22 November 2024 20:47:59 -0500 (0:00:00.086) 0:05:18.878 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.45.92 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Friday 22 November 2024 20:47:59 -0500 (0:00:00.399) 0:05:19.277 ******* ok: [managed-node1] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Friday 22 November 2024 20:48:00 -0500 (0:00:00.196) 0:05:19.474 ******* TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Friday 22 November 2024 20:48:00 -0500 (0:00:00.079) 0:05:19.553 ******* TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Friday 22 November 2024 20:48:00 -0500 (0:00:00.082) 0:05:19.637 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Friday 22 November 2024 20:48:00 -0500 (0:00:00.088) 0:05:19.725 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Friday 22 November 2024 20:48:00 -0500 (0:00:00.081) 0:05:19.806 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Friday 22 November 2024 20:48:00 -0500 (0:00:00.079) 0:05:19.885 ******* ok: [managed-node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.45.92 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Friday 22 November 2024 20:48:00 -0500 (0:00:00.394) 0:05:20.280 ******* ok: [managed-node1] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Friday 22 November 2024 20:48:00 -0500 (0:00:00.093) 0:05:20.374 ******* skipping: [managed-node1] => {} TASK [Purge selinux configuration] ********************************************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:26 Friday 22 November 2024 20:48:01 -0500 (0:00:00.087) 0:05:20.461 ******* TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Friday 22 November 2024 20:48:01 -0500 (0:00:00.189) 0:05:20.650 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Friday 22 November 2024 20:48:01 -0500 (0:00:00.140) 0:05:20.790 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Friday 22 November 2024 20:48:01 -0500 (0:00:00.106) 0:05:20.897 ******* included: /tmp/collections-eOZ/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-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Friday 22 November 2024 20:48:01 -0500 (0:00:00.143) 0:05:21.041 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Friday 22 November 2024 20:48:02 -0500 (0:00:00.495) 0:05:21.536 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Friday 22 November 2024 20:48:02 -0500 (0:00:00.088) 0:05:21.625 ******* ok: [managed-node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Friday 22 November 2024 20:48:02 -0500 (0:00:00.389) 0:05:22.015 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Friday 22 November 2024 20:48:02 -0500 (0:00:00.088) 0:05:22.103 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Friday 22 November 2024 20:48:03 -0500 (0:00:00.631) 0:05:22.735 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Friday 22 November 2024 20:48:03 -0500 (0:00:00.077) 0:05:22.813 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Friday 22 November 2024 20:48:03 -0500 (0:00:00.080) 0:05:22.893 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Friday 22 November 2024 20:48:03 -0500 (0:00:00.083) 0:05:22.977 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Friday 22 November 2024 20:48:03 -0500 (0:00:00.076) 0:05:23.053 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Friday 22 November 2024 20:48:03 -0500 (0:00:00.080) 0:05:23.133 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Friday 22 November 2024 20:48:03 -0500 (0:00:00.077) 0:05:23.211 ******* ok: [managed-node1] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Friday 22 November 2024 20:48:04 -0500 (0:00:00.617) 0:05:23.829 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Friday 22 November 2024 20:48:04 -0500 (0:00:00.079) 0:05:23.908 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Friday 22 November 2024 20:48:04 -0500 (0:00:00.077) 0:05:23.985 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Friday 22 November 2024 20:48:04 -0500 (0:00:00.197) 0:05:24.183 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Friday 22 November 2024 20:48:04 -0500 (0:00:00.072) 0:05:24.255 ******* skipping: [managed-node1] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Friday 22 November 2024 20:48:04 -0500 (0:00:00.088) 0:05:24.343 ******* NOTIFIED HANDLER fedora.linux_system_roles.selinux : Reload SELinux policy for managed-node1 changed: [managed-node1] => { "changed": true, "cmd": [ "/usr/sbin/semanage", "-i", "-" ], "delta": "0:00:00.389055", "end": "2024-11-22 20:48:05.556931", "rc": 0, "start": "2024-11-22 20:48:05.167876" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Friday 22 November 2024 20:48:05 -0500 (0:00:00.776) 0:05:25.120 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Friday 22 November 2024 20:48:05 -0500 (0:00:00.077) 0:05:25.198 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Friday 22 November 2024 20:48:05 -0500 (0:00:00.080) 0:05:25.278 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Friday 22 November 2024 20:48:05 -0500 (0:00:00.085) 0:05:25.364 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Friday 22 November 2024 20:48:05 -0500 (0:00:00.076) 0:05:25.441 ******* TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Friday 22 November 2024 20:48:06 -0500 (0:00:00.079) 0:05:25.520 ******* TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Friday 22 November 2024 20:48:06 -0500 (0:00:00.075) 0:05:25.596 ******* TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Friday 22 November 2024 20:48:06 -0500 (0:00:00.076) 0:05:25.672 ******* TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Friday 22 November 2024 20:48:06 -0500 (0:00:00.075) 0:05:25.748 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Friday 22 November 2024 20:48:10 -0500 (0:00:03.869) 0:05:29.618 ******* 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-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Friday 22 November 2024 20:48:10 -0500 (0:00:00.107) 0:05:29.725 ******* TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Friday 22 November 2024 20:48:10 -0500 (0:00:00.102) 0:05:29.828 ******* TASK [Leave realm] ************************************************************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:32 Friday 22 November 2024 20:48:10 -0500 (0:00:00.103) 0:05:29.931 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:40 Friday 22 November 2024 20:48:10 -0500 (0:00:00.142) 0:05:30.073 ******* skipping: [managed-node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Remove related packages] ************************************************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:44 Friday 22 November 2024 20:48:10 -0500 (0:00:00.141) 0:05:30.215 ******* changed: [managed-node1] => { "changed": true, "changes": { "removed": [ "mssql-server", "mssql-tools*", "unixODBC-devel" ] }, "rc": 0, "results": [ "adutil is not installed", "mssql-server-fts is not installed", "mssql-server-ha is not installed", "powershell is not installed", "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:14.0.3465.1-1 will be erased\n---> Package mssql-tools18.x86_64 0:18.4.1.1-1 will be erased\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n--> Finding unneeded leftover dependencies\n---> Marking msodbcsql18 to be removed - no longer needed by mssql-tools18\n---> Marking unixODBC to be removed - no longer needed by unixODBC-devel\n---> Marking cyrus-sasl to be removed - no longer needed by mssql-server\n---> Marking gdb to be removed - no longer needed by mssql-server\n---> Marking libatomic to be removed - no longer needed by mssql-server\n---> Marking libsss_nss_idmap to be removed - no longer needed by mssql-server\n---> Marking bzip2 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl-gssapi to be removed - no longer needed by mssql-server\n---> Marking libtool-ltdl to be removed - no longer needed by unixODBC\nFound and removing 9 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package msodbcsql18.x86_64 0:18.4.1.1-1 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 14.0.3465.1-1 @packages-microsoft-com-mssql-server-2017\n 1.0 G\n mssql-tools18 x86_64 18.4.1.1-1 @packages-microsoft-com-prod 718 k\n unixODBC-devel x86_64 2.3.11-1.rh @packages-microsoft-com-prod 223 k\nRemoving for dependencies:\n bzip2 x86_64 1.0.6-13.el7 @base 82 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 @updates 141 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 @updates 36 k\n gdb x86_64 7.6.1-120.el7 @base 7.0 M\n libatomic x86_64 4.8.5-44.el7 @base 26 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 @updates 82 k\n libtool-ltdl x86_64 2.4.2-22.el7_3 @base 66 k\n msodbcsql18 x86_64 18.4.1.1-1 @packages-microsoft-com-prod 2.3 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 3 Packages (+9 Dependent packages)\n\nInstalled size: 1.0 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-14.0.3465.1-1.x86_64 1/12 \n Erasing : mssql-tools18-18.4.1.1-1.x86_64 2/12 \n Erasing : msodbcsql18-18.4.1.1-1.x86_64 3/12 \nODBC Driver 18 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 4/12 \n Erasing : unixODBC-2.3.11-1.rh.x86_64 5/12 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 6/12 \n Erasing : libatomic-4.8.5-44.el7.x86_64 7/12 \n Erasing : bzip2-1.0.6-13.el7.x86_64 8/12 \n Erasing : gdb-7.6.1-120.el7.x86_64 9/12 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 10/12 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 12/12 \n Verifying : msodbcsql18-18.4.1.1-1.x86_64 1/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 2/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 3/12 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 4/12 \n Verifying : mssql-server-14.0.3465.1-1.x86_64 5/12 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 6/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 7/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 8/12 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 9/12 \n Verifying : mssql-tools18-18.4.1.1-1.x86_64 10/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 11/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 12/12 \n\nRemoved:\n mssql-server.x86_64 0:14.0.3465.1-1 mssql-tools18.x86_64 0:18.4.1.1-1 \n unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Removed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 \n msodbcsql18.x86_64 0:18.4.1.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:57 Friday 22 November 2024 20:48:14 -0500 (0:00:03.414) 0:05:33.629 ******* [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.009087", "end": "2024-11-22 20:48:14.460713", "rc": 0, "start": "2024-11-22 20:48:14.451626" } STDOUT: removed ‘/var/opt/mssql/FTData/tsheb.xml’ removed ‘/var/opt/mssql/FTData/tsplk.xml’ removed ‘/var/opt/mssql/FTData/tsptg.xml’ removed ‘/var/opt/mssql/FTData/tsmal.xml’ removed ‘/var/opt/mssql/FTData/tsfra.xml’ removed directory: ‘/var/opt/mssql/FTData/FilterData’ removed ‘/var/opt/mssql/FTData/tsrus.xml’ removed ‘/var/opt/mssql/FTData/tsguj.xml’ removed ‘/var/opt/mssql/FTData/tsnor.xml’ removed ‘/var/opt/mssql/FTData/tsenu.xml’ removed ‘/var/opt/mssql/FTData/tstam.xml’ removed ‘/var/opt/mssql/FTData/tssky.xml’ removed ‘/var/opt/mssql/FTData/tseng.xml’ removed ‘/var/opt/mssql/FTData/tsita.xml’ removed ‘/var/opt/mssql/FTData/tsmar.xml’ removed ‘/var/opt/mssql/FTData/tskan.xml’ removed ‘/var/opt/mssql/FTData/tsglobal.xml’ removed ‘/var/opt/mssql/FTData/tsara.xml’ removed ‘/var/opt/mssql/FTData/tsben.xml’ removed ‘/var/opt/mssql/FTData/tsesn.xml’ removed ‘/var/opt/mssql/FTData/tsnld.xml’ removed ‘/var/opt/mssql/FTData/tsisl.xml’ removed ‘/var/opt/mssql/FTData/tskor.xml’ removed ‘/var/opt/mssql/FTData/tstel.xml’ removed ‘/var/opt/mssql/FTData/tsukr.xml’ removed ‘/var/opt/mssql/FTData/tstrk.xml’ removed ‘/var/opt/mssql/FTData/tshin.xml’ removed ‘/var/opt/mssql/FTData/tscht.xml’ removed ‘/var/opt/mssql/FTData/tstha.xml’ removed ‘/var/opt/mssql/FTData/tslvi.xml’ removed ‘/var/opt/mssql/FTData/tsdan.xml’ removed ‘/var/opt/mssql/FTData/tsvit.xml’ removed ‘/var/opt/mssql/FTData/tsrom.xml’ removed ‘/var/opt/mssql/FTData/tshrv.xml’ removed ‘/var/opt/mssql/FTData/tsmsl.xml’ removed ‘/var/opt/mssql/FTData/tsdeu.xml’ removed ‘/var/opt/mssql/FTData/tschs.xml’ removed ‘/var/opt/mssql/FTData/tsurd.xml’ removed ‘/var/opt/mssql/FTData/tsgrk.xml’ removed ‘/var/opt/mssql/FTData/tssve.xml’ removed ‘/var/opt/mssql/FTData/tsslv.xml’ removed ‘/var/opt/mssql/FTData/tsbgr.xml’ removed ‘/var/opt/mssql/FTData/tssrb.xml’ removed ‘/var/opt/mssql/FTData/tsptb.xml’ removed ‘/var/opt/mssql/FTData/tsjpn.xml’ removed ‘/var/opt/mssql/FTData/tsind.xml’ removed ‘/var/opt/mssql/FTData/tslth.xml’ removed ‘/var/opt/mssql/FTData/tssrl.xml’ removed ‘/var/opt/mssql/FTData/tspan.xml’ removed ‘/var/opt/mssql/FTData/tscat.xml’ removed ‘/var/opt/mssql/FTData/tscze.xml’ removed directory: ‘/var/opt/mssql/FTData’ removed ‘/var/opt/mssql/mssql.conf’ removed ‘/var/opt/mssql/data/model.mdf’ removed ‘/var/opt/mssql/data/templog.ldf’ removed ‘/var/opt/mssql/data/tempdb.mdf’ removed ‘/var/opt/mssql/data/msdbdata.mdf’ removed ‘/var/opt/mssql/data/modellog.ldf’ removed ‘/var/opt/mssql/data/msdblog.ldf’ removed ‘/var/opt/mssql/data/mastlog.ldf’ removed ‘/var/opt/mssql/data/master.mdf’ removed directory: ‘/var/opt/mssql/data’ removed ‘/var/opt/mssql/secrets/machine-key’ removed directory: ‘/var/opt/mssql/secrets’ removed ‘/var/opt/mssql/.system/system/lsa.hiv’ removed directory: ‘/var/opt/mssql/.system/system/Temp’ removed ‘/var/opt/mssql/.system/system/licensing.hiv’ removed ‘/var/opt/mssql/.system/system/lsasetup.log’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/dce39616-9b34-46a2-b614-e7f8fe99a276’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles/Scm’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles’ removed directory: ‘/var/opt/mssql/.system/system/system32’ removed ‘/var/opt/mssql/.system/system/security.hiv’ removed ‘/var/opt/mssql/.system/system/debug/PASSWD.LOG’ removed directory: ‘/var/opt/mssql/.system/system/debug’ removed directory: ‘/var/opt/mssql/.system/system’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Temp’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/LocalLow’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-349851457-1392536247-1217654121-500/42e7704ae40b0d75de00736cc66b813a_addefb98-e57b-4b58-9565-7b2ca7c460d7’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA/S-1-5-21-349851457-1392536247-1217654121-500’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto/RSA’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Crypto’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-349851457-1392536247-1217654121-500/Preferred’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-349851457-1392536247-1217654121-500/21b98fe8-1dff-4d5c-a34c-f53099f72f47’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/S-1-5-21-349851457-1392536247-1217654121-500’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect/CREDHIST’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/Protect’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Desktop’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Documents’ removed directory: ‘/var/opt/mssql/.system/profiles/Client’ removed directory: ‘/var/opt/mssql/.system/profiles’ removed ‘/var/opt/mssql/.system/instance_id’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft’ removed directory: ‘/var/opt/mssql/.system/programdata’ removed directory: ‘/var/opt/mssql/.system’ removed ‘/var/opt/mssql/log/errorlog.6’ removed ‘/var/opt/mssql/log/system_health_0_133768000045280000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133767999953150000.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_133767998159790000.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/HkEngineEventFile_0_133767998208040000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133768000239570000.xel’ removed ‘/var/opt/mssql/log/FDLAUNCHERRORLOG’ removed ‘/var/opt/mssql/log/sqlagent.out’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133767999032050000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133767999036520000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133767999949460000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133768000243850000.xel’ removed ‘/var/opt/mssql/log/log_1.trc’ removed ‘/var/opt/mssql/log/system_health_0_133767998167590000.xel’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/system_health_0_133767998213200000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133768000041730000.xel’ removed directory: ‘/var/opt/mssql/log’ removed directory: ‘/var/opt/mssql’ removed directory: ‘/opt/mssql/misc’ removed directory: ‘/opt/mssql’ removed directory: ‘/opt/mssql-tools18’ removed ‘/etc/yum.repos.d/packages-microsoft-com-mssql-server-2017.repo’ removed ‘/etc/yum.repos.d/packages-microsoft-com-prod.repo’ removed directory: ‘/tmp/mssql_data’ removed directory: ‘/tmp/mssql_log’ removed ‘/etc/systemd/system/multi-user.target.wants/mssql-server.service’ TASK [Stop the mssql-server service] ******************************************* task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:71 Friday 22 November 2024 20:48:14 -0500 (0:00:00.433) 0:05:34.063 ******* ok: [managed-node1] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:01.303333", "end": "2024-11-22 20:48:16.190656", "rc": 0, "start": "2024-11-22 20:48:14.887323" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Friday 22 November 2024 20:48:16 -0500 (0:00:01.635) 0:05:35.698 ******* changed: [managed-node1] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.688287", "end": "2024-11-22 20:48:18.292325", "rc": 0, "start": "2024-11-22 20:48:16.604038" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed-node1 : ok=343 changed=38 unreachable=0 failed=0 skipped=570 rescued=0 ignored=1 Friday 22 November 2024 20:48:18 -0500 (0:00:02.110) 0:05:37.809 ******* =============================================================================== fedora.linux_system_roles.mssql : Change the password of sa user -------- 6.75s /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:638 fedora.linux_system_roles.mssql : Change the edition of MSSQL ----------- 5.86s /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 3.87s /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Remove related packages ------------------------------------------------- 3.41s /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:44 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.11s /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.91s /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.88s /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.76s /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:630 fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 1.68s /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:602 Stop the mssql-server service ------------------------------------------- 1.64s /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:71 fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts --- 1.61s /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:782 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.60s /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:630 Gather package facts ---------------------------------------------------- 1.59s /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 Gather package facts ---------------------------------------------------- 1.56s /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.55s /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Wait for mssql-server to prepare for client connections ----------------- 1.54s /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Run to edit settings ---------------------------------------------------- 1.53s /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_idempotency.yml:52 fedora.linux_system_roles.mssql : Ensure the package powershell --------- 1.51s /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:789 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.51s /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:698 Gather package facts ---------------------------------------------------- 1.50s /tmp/collections-eOZ/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_package.yml:7