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_input_sql_file_2019.yml **************************************** 1 plays in /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_input_sql_file_2019.yml PLAY [Ensure that the role can input sql files to MSSQL] *********************** TASK [Gathering Facts] ********************************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_input_sql_file_2019.yml:3 Tuesday 06 August 2024 09:56:06 -0400 (0:00:00.024) 0:00:00.024 ******** ok: [managed_node1] META: ran handlers TASK [Run tests_input_sql_file with SQL Server 2019] *************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_input_sql_file_2019.yml:15 Tuesday 06 August 2024 09:56:07 -0400 (0:00:00.925) 0:00:00.949 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_input_sql_file.yml for managed_node1 TASK [Assert fail on EL 7 with version = 2022 and EL 9 with version != 2022] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_input_sql_file.yml:2 Tuesday 06 August 2024 09:56:07 -0400 (0:00:00.034) 0:00:00.984 ******** included: /tmp/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:2 Tuesday 06 August 2024 09:56:07 -0400 (0:00:00.083) 0:00:01.068 ******** ok: [managed_node1] TASK [Run the role] ************************************************************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:15 Tuesday 06 August 2024 09:56:07 -0400 (0:00:00.380) 0:00:01.449 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Unreachable task] ******************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/assert_fail_on_unsupported_ver.yml:22 Tuesday 06 August 2024 09:56:07 -0400 (0:00:00.020) 0:00:01.469 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set up MSSQL and input sql files with pre_input] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_input_sql_file.yml:5 Tuesday 06 August 2024 09:56:07 -0400 (0:00:00.020) 0:00:01.490 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Tuesday 06 August 2024 09:56:07 -0400 (0:00:00.309) 0:00:01.799 ******** included: /tmp/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Tuesday 06 August 2024 09:56:07 -0400 (0:00:00.025) 0:00:01.825 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Tuesday 06 August 2024 09:56:07 -0400 (0:00:00.021) 0:00:01.847 ******** 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/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Tuesday 06 August 2024 09:56:07 -0400 (0:00:00.052) 0:00:01.900 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Tuesday 06 August 2024 09:56:08 -0400 (0:00:00.018) 0:00:01.918 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Tuesday 06 August 2024 09:56:08 -0400 (0:00:00.018) 0:00:01.936 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Tuesday 06 August 2024 09:56:08 -0400 (0:00:00.017) 0:00:01.954 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Tuesday 06 August 2024 09:56:08 -0400 (0:00:00.017) 0:00:01.971 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Tuesday 06 August 2024 09:56:08 -0400 (0:00:00.018) 0:00:01.990 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Tuesday 06 August 2024 09:56:08 -0400 (0:00:00.017) 0:00:02.008 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Tuesday 06 August 2024 09:56:08 -0400 (0:00:00.018) 0:00:02.026 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Tuesday 06 August 2024 09:56:08 -0400 (0:00:00.017) 0:00:02.044 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Tuesday 06 August 2024 09:56:08 -0400 (0:00:00.017) 0:00:02.061 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Tuesday 06 August 2024 09:56:08 -0400 (0:00:00.021) 0:00:02.082 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Tuesday 06 August 2024 09:56:08 -0400 (0:00:00.024) 0:00:02.107 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Tuesday 06 August 2024 09:56:08 -0400 (0:00:00.017) 0:00:02.124 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Tuesday 06 August 2024 09:56:08 -0400 (0:00:00.018) 0:00:02.143 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Tuesday 06 August 2024 09:56:08 -0400 (0:00:00.017) 0:00:02.160 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Tuesday 06 August 2024 09:56:08 -0400 (0:00:00.017) 0:00:02.178 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Tuesday 06 August 2024 09:56:08 -0400 (0:00:00.020) 0:00:02.198 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Tuesday 06 August 2024 09:56:08 -0400 (0:00:00.018) 0:00:02.217 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Tuesday 06 August 2024 09:56:09 -0400 (0:00:01.376) 0:00:03.594 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Tuesday 06 August 2024 09:56:09 -0400 (0:00:00.095) 0:00:03.689 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Tuesday 06 August 2024 09:56:09 -0400 (0:00:00.076) 0:00:03.765 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Tuesday 06 August 2024 09:56:09 -0400 (0:00:00.053) 0:00:03.819 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Tuesday 06 August 2024 09:56:09 -0400 (0:00:00.081) 0:00:03.900 ******** changed: [managed_node1] => { "attempts": 1, "changed": true } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version {{ __mssql_current_version }}] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Tuesday 06 August 2024 09:56:10 -0400 (0:00:00.918) 0:00:04.818 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Tuesday 06 August 2024 09:56:10 -0400 (0:00:00.049) 0:00:04.868 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Tuesday 06 August 2024 09:56:11 -0400 (0:00:00.049) 0:00:04.918 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Tuesday 06 August 2024 09:56:11 -0400 (0:00:00.049) 0:00:04.968 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Tuesday 06 August 2024 09:56:11 -0400 (0:00:00.047) 0:00:05.016 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Tuesday 06 August 2024 09:56:11 -0400 (0:00:00.049) 0:00:05.066 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Tuesday 06 August 2024 09:56:11 -0400 (0:00:00.049) 0:00:05.115 ******** changed: [managed_node1] => { "changed": true, "repo": "packages-microsoft-com-mssql-server-2019", "state": "present" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Tuesday 06 August 2024 09:56:11 -0400 (0:00:00.501) 0:00:05.616 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Tuesday 06 August 2024 09:56:11 -0400 (0:00:00.049) 0:00:05.666 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Tuesday 06 August 2024 09:56:12 -0400 (0:00:00.750) 0:00:06.417 ******** 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:15.0.4375.4-1 will be installed\n--> Processing Dependency: libatomic for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: bzip2 for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: gdb for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: python3 for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: libsss_nss_idmap for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: cyrus-sasl for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: cyrus-sasl-gssapi for package: mssql-server-15.0.4375.4-1.x86_64\n--> Processing Dependency: lsof for package: mssql-server-15.0.4375.4-1.x86_64\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be installed\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be installed\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be installed\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be installed\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be installed\n---> Package lsof.x86_64 0:4.87-6.el7 will be installed\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be installed\n--> Processing Dependency: python3-libs(x86-64) = 3.6.8-21.el7_9 for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-setuptools for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: python3-pip for package: python3-3.6.8-21.el7_9.x86_64\n--> Processing Dependency: libpython3.6m.so.1.0()(64bit) for package: python3-3.6.8-21.el7_9.x86_64\n--> Running transaction check\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be installed\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be installed\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server x86_64 15.0.4375.4-1 packages-microsoft-com-mssql-server-2019\n 229 M\nInstalling for dependencies:\n bzip2 x86_64 1.0.6-13.el7 base 52 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 updates 88 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 updates 41 k\n gdb x86_64 7.6.1-120.el7 base 2.4 M\n libatomic x86_64 4.8.5-44.el7 base 51 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 updates 170 k\n lsof x86_64 4.87-6.el7 base 331 k\n python3 x86_64 3.6.8-21.el7_9 updates 71 k\n python3-libs x86_64 3.6.8-21.el7_9 updates 7.0 M\n python3-pip noarch 9.0.3-8.el7 base 1.6 M\n python3-setuptools noarch 39.2.0-10.el7 base 629 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package (+11 Dependent packages)\n\nTotal download size: 241 M\nInstalled size: 1.2 G\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 18 MB/s | 241 MB 00:13 \nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : python3-libs-3.6.8-21.el7_9.x86_64 1/12 \n Installing : python3-setuptools-39.2.0-10.el7.noarch 2/12 \n Installing : python3-pip-9.0.3-8.el7.noarch 3/12 \n Installing : python3-3.6.8-21.el7_9.x86_64 4/12 \n Installing : libatomic-4.8.5-44.el7.x86_64 5/12 \n Installing : cyrus-sasl-2.1.26-24.el7_9.x86_64 6/12 \n Installing : gdb-7.6.1-120.el7.x86_64 7/12 \n Installing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 8/12 \n Installing : lsof-4.87-6.el7.x86_64 9/12 \n Installing : bzip2-1.0.6-13.el7.x86_64 10/12 \n Installing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 11/12 \n Installing : mssql-server-15.0.4375.4-1.x86_64 12/12 \n\n+--------------------------------------------------------------+\nPlease run 'sudo /opt/mssql/bin/mssql-conf setup'\nto complete the setup of Microsoft SQL Server\n+--------------------------------------------------------------+\n\n Verifying : python3-3.6.8-21.el7_9.x86_64 1/12 \n Verifying : mssql-server-15.0.4375.4-1.x86_64 2/12 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 3/12 \n Verifying : bzip2-1.0.6-13.el7.x86_64 4/12 \n Verifying : lsof-4.87-6.el7.x86_64 5/12 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 6/12 \n Verifying : gdb-7.6.1-120.el7.x86_64 7/12 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 8/12 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 9/12 \n Verifying : python3-pip-9.0.3-8.el7.noarch 10/12 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 11/12 \n Verifying : libatomic-4.8.5-44.el7.x86_64 12/12 \n\nInstalled:\n mssql-server.x86_64 0:15.0.4375.4-1 \n\nDependency Installed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n lsof.x86_64 0:4.87-6.el7 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Tuesday 06 August 2024 09:57:17 -0400 (0:01:04.797) 0:01:11.215 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Tuesday 06 August 2024 09:57:17 -0400 (0:00:00.049) 0:01:11.264 ******** 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.005745", "end": "2024-08-06 09:57:17.722862", "rc": 0, "start": "2024-08-06 09:57:17.717117" } TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Tuesday 06 August 2024 09:57:17 -0400 (0:00:00.441) 0:01:11.706 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Tuesday 06 August 2024 09:57:19 -0400 (0:00:01.204) 0:01:12.911 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Tuesday 06 August 2024 09:57:19 -0400 (0:00:00.108) 0:01:13.020 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Tuesday 06 August 2024 09:57:19 -0400 (0:00:00.063) 0:01:13.083 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Tuesday 06 August 2024 09:57:26 -0400 (0:00:07.658) 0:01:20.742 ******** skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Tuesday 06 August 2024 09:57:26 -0400 (0:00:00.066) 0:01:20.809 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Tuesday 06 August 2024 09:57:26 -0400 (0:00:00.055) 0:01:20.865 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Tuesday 06 August 2024 09:57:27 -0400 (0:00:00.055) 0:01:20.920 ******** changed: [managed_node1] => { "changed": true, "changes": { "installed": [ "tuned-profiles-mssql" ] }, "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 tuned-profiles-mssql.noarch 0:2.11.0-12.el7_9 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n tuned-profiles-mssql noarch 2.11.0-12.el7_9 updates 30 k\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 30 k\nInstalled size: 1.1 k\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : tuned-profiles-mssql-2.11.0-12.el7_9.noarch 1/1 \n Verifying : tuned-profiles-mssql-2.11.0-12.el7_9.noarch 1/1 \n\nInstalled:\n tuned-profiles-mssql.noarch 0:2.11.0-12.el7_9 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Tuesday 06 August 2024 09:57:31 -0400 (0:00:04.476) 0:01:25.397 ******** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 09:43:06 EDT", "ActiveEnterTimestampMonotonic": "18449931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network.target systemd-journald.socket systemd-sysctl.service dbus.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 09:43:04 EDT", "AssertTimestampMonotonic": "17161376", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 09:43:04 EDT", "ConditionTimestampMonotonic": "17161374", "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": "851", "ExecMainStartTimestamp": "Tue 2024-08-06 09:43:04 EDT", "ExecMainStartTimestampMonotonic": "17162038", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 09:43:04 EDT", "InactiveExitTimestampMonotonic": "17162082", "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": "851", "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 dbus.service polkit.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 09:43:06 EDT", "WatchdogTimestampMonotonic": "18449888", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Tuesday 06 August 2024 09:57:32 -0400 (0:00:00.797) 0:01:26.195 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.098065", "end": "2024-08-06 09:57:32.643538", "rc": 0, "start": "2024-08-06 09:57:32.545473" } STDOUT: Current active profile: virtual-guest TASK [fedora.linux_system_roles.mssql : Attempt to add mssql to the list of Tuned profiles] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Tuesday 06 August 2024 09:57:32 -0400 (0:00:00.443) 0:01:26.638 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:00.117834", "end": "2024-08-06 09:57:33.097871", "failed_when_result": false, "rc": 1, "start": "2024-08-06 09:57:32.980037" } STDERR: Cannot load profile(s) 'virtual-guest mssql': Cannot find profile 'throughput-performance' in '['/etc/tuned', '/usr/lib/tuned']'. MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Remove troublemaking include from the mssql profile] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Tuesday 06 August 2024 09:57:33 -0400 (0:00:00.455) 0:01:27.093 ******** changed: [managed_node1] => { "backup": "", "changed": true, "found": 1 } MSG: 1 line(s) removed TASK [fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Tuesday 06 August 2024 09:57:33 -0400 (0:00:00.422) 0:01:27.515 ******** changed: [managed_node1] => { "changed": true, "cmd": [ "tuned-adm", "profile", "virtual-guest", "mssql" ], "delta": "0:00:01.289880", "end": "2024-08-06 09:57:35.139293", "rc": 0, "start": "2024-08-06 09:57:33.849413" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server Tools repository] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Tuesday 06 August 2024 09:57:35 -0400 (0:00:01.620) 0:01:29.136 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Tuesday 06 August 2024 09:57:35 -0400 (0:00:00.368) 0:01:29.505 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Tuesday 06 August 2024 09:57:35 -0400 (0:00:00.055) 0:01:29.560 ******** changed: [managed_node1] => { "changed": true, "changes": { "installed": [ "mssql-tools", "unixODBC-devel" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be installed\n--> Processing Dependency: msodbcsql17 >= 17.3.0.0 for package: mssql-tools-17.10.1.1-1.x86_64\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: unixODBC = 2.3.11 for package: unixODBC-devel-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package msodbcsql17.x86_64 0:17.10.6.1-1 will be installed\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be installed\n--> Processing Dependency: libltdl.so.7()(64bit) for package: unixODBC-2.3.11-1.rh.x86_64\n--> Running transaction check\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-tools x86_64 17.10.1.1-1 packages-microsoft-com-prod 291 k\n unixODBC-devel x86_64 2.3.11-1.rh packages-microsoft-com-prod 53 k\nInstalling for dependencies:\n libtool-ltdl x86_64 2.4.2-22.el7_3 base 49 k\n msodbcsql17 x86_64 17.10.6.1-1 packages-microsoft-com-prod 911 k\n unixODBC x86_64 2.3.11-1.rh packages-microsoft-com-prod 274 k\n\nTransaction Summary\n================================================================================\nInstall 2 Packages (+3 Dependent packages)\n\nTotal download size: 1.5 M\nInstalled size: 3.8 M\nDownloading packages:\n--------------------------------------------------------------------------------\nTotal 3.5 MB/s | 1.5 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 : msodbcsql17-17.10.6.1-1.x86_64 3/5 \nodbcinst: Driver installed. Usage count increased to 1. \n Target directory is /etc\n Installing : mssql-tools-17.10.1.1-1.x86_64 4/5 \n Installing : unixODBC-devel-2.3.11-1.rh.x86_64 5/5 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/5 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 2/5 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 3/5 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 4/5 \n Verifying : msodbcsql17-17.10.6.1-1.x86_64 5/5 \n\nInstalled:\n mssql-tools.x86_64 0:17.10.1.1-1 unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Installed:\n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 msodbcsql17.x86_64 0:17.10.6.1-1 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Tuesday 06 August 2024 09:57:43 -0400 (0:00:07.570) 0:01:37.131 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Tuesday 06 August 2024 09:57:43 -0400 (0:00:00.093) 0:01:37.225 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Tuesday 06 August 2024 09:57:43 -0400 (0:00:00.056) 0:01:37.281 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Tuesday 06 August 2024 09:57:43 -0400 (0:00:00.056) 0:01:37.337 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Tuesday 06 August 2024 09:57:43 -0400 (0:00:00.056) 0:01:37.394 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Tuesday 06 August 2024 09:57:43 -0400 (0:00:00.055) 0:01:37.449 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Tuesday 06 August 2024 09:57:43 -0400 (0:00:00.055) 0:01:37.505 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 09:57:43 -0400 (0:00:00.102) 0:01:37.608 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 09:57:43 -0400 (0:00:00.055) 0:01:37.663 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 09:57:43 -0400 (0:00:00.059) 0:01:37.723 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 09:57:26 EDT", "ActiveEnterTimestampMonotonic": "878909942", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target systemd-journald.socket network.target -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 09:57:26 EDT", "AssertTimestampMonotonic": "878908547", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 09:57:26 EDT", "ConditionTimestampMonotonic": "878908545", "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": "12457", "ExecMainStartTimestamp": "Tue 2024-08-06 09:57:26 EDT", "ExecMainStartTimestampMonotonic": "878909261", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 09:57:26 EDT", "InactiveExitTimestampMonotonic": "878909942", "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": "12457", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 09:57:26 EDT", "WatchdogTimestampMonotonic": "878909920", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 09:57:44 -0400 (0:00:00.438) 0:01:38.162 ******** 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": 8058, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 09:57:45 -0400 (0:00:01.493) 0:01:39.655 ******** included: /tmp/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Tuesday 06 August 2024 09:57:45 -0400 (0:00:00.145) 0:01:39.801 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 09:57:26 EDT", "ActiveEnterTimestampMonotonic": "878909942", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target systemd-journald.socket network.target -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 09:57:26 EDT", "AssertTimestampMonotonic": "878908547", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 09:57:26 EDT", "ConditionTimestampMonotonic": "878908545", "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": "12457", "ExecMainStartTimestamp": "Tue 2024-08-06 09:57:26 EDT", "ExecMainStartTimestampMonotonic": "878909261", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 09:57:26 EDT", "InactiveExitTimestampMonotonic": "878909942", "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": "12457", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 09:57:26 EDT", "WatchdogTimestampMonotonic": "878909920", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Tuesday 06 August 2024 09:57:46 -0400 (0:00:00.439) 0:01:40.240 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003445", "end": "2024-08-06 09:57:46.563961", "failed_when_result": false, "rc": 1, "start": "2024-08-06 09:57:46.560516" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Tuesday 06 August 2024 09:57:46 -0400 (0:00:00.316) 0:01:40.556 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003185", "end": "2024-08-06 09:57:46.881596", "failed_when_result": false, "rc": 1, "start": "2024-08-06 09:57:46.878411" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Tuesday 06 August 2024 09:57:46 -0400 (0:00:00.316) 0:01:40.873 ******** 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 : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 09:57:47 -0400 (0:00:00.067) 0:01:40.941 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for create_example_db.j2] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 09:57:47 -0400 (0:00:00.137) 0:01:41.079 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_example_db.j2_yXyXR0.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host create_example_db.j2] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 09:57:47 -0400 (0:00:00.460) 0:01:41.540 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for create_example_db.j2] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 09:57:47 -0400 (0:00:00.058) 0:01:41.598 ******** ok: [managed_node1] => { "changed": false, "checksum": "01e12e2023db8e40fe4ae7ef2965811c47e20292", "dest": "/tmp/create_example_db.j2_yXyXR0.sql", "gid": 0, "group": "root", "md5sum": "7c0c7d727a2dd24b642249e3f26f11cb", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 891, "src": "/root/.ansible/tmp/ansible-tmp-1722952667.73-11078-14514221397504/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command create_example_db.j2] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 09:57:48 -0400 (0:00:00.797) 0:01:42.396 ******** 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 : Print file location and output from inputting create_example_db.j2] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 09:57:50 -0400 (0:00:01.536) 0:01:43.933 ******** ok: [managed_node1] => (item=/tmp/create_example_db.j2_yXyXR0.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_example_db.j2_yXyXR0.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=[u'Creating the ExampleDB1 database', u'The ExampleDB1 database created successfully', u"Changed database context to 'ExampleDB1'.", u'Adding the Inventory table to the ExampleDB1 database', u'', u'(1 rows affected)', u'', u'(1 rows affected)', u'', u'(1 rows affected)', u'', u'(1 rows affected)', u'The Inventory table created successfully']) => { "__mssql_sqlcmd_loop": [ "Creating the ExampleDB1 database", "The ExampleDB1 database created successfully", "Changed database context to 'ExampleDB1'.", "Adding the Inventory table to the ExampleDB1 database", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)", "The Inventory table created successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile create_example_db.j2] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 09:57:50 -0400 (0:00:00.090) 0:01:44.024 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for create_example_db.j2] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 09:57:50 -0400 (0:00:00.059) 0:01:44.083 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/create_example_db.j2_hwjSzk.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host create_example_db.j2] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 09:57:50 -0400 (0:00:00.310) 0:01:44.394 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for create_example_db.j2] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 09:57:50 -0400 (0:00:00.058) 0:01:44.453 ******** ok: [managed_node1] => { "changed": false, "checksum": "01e12e2023db8e40fe4ae7ef2965811c47e20292", "dest": "/tmp/create_example_db.j2_hwjSzk.sql", "gid": 0, "group": "root", "md5sum": "7c0c7d727a2dd24b642249e3f26f11cb", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 891, "src": "/root/.ansible/tmp/ansible-tmp-1722952670.59-11118-127274736039038/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command create_example_db.j2] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 09:57:51 -0400 (0:00:00.599) 0:01:45.052 ******** 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 : Print file location and output from inputting create_example_db.j2] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 09:57:51 -0400 (0:00:00.376) 0:01:45.429 ******** ok: [managed_node1] => (item=/tmp/create_example_db.j2_hwjSzk.sql) => { "__mssql_sqlcmd_loop": "/tmp/create_example_db.j2_hwjSzk.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=[u'The ExampleDB1 database already exists, skipping', u"Changed database context to 'ExampleDB1'.", u'The Inventory table already exists, skipping']) => { "__mssql_sqlcmd_loop": [ "The ExampleDB1 database already exists, skipping", "Changed database context to 'ExampleDB1'.", "The Inventory table already exists, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile create_example_db.j2] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 09:57:51 -0400 (0:00:00.090) 0:01:45.519 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 09:57:51 -0400 (0:00:00.059) 0:01:45.578 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Tuesday 06 August 2024 09:57:51 -0400 (0:00:00.056) 0:01:45.635 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Tuesday 06 August 2024 09:57:51 -0400 (0:00:00.094) 0:01:45.730 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Tuesday 06 August 2024 09:57:51 -0400 (0:00:00.057) 0:01:45.787 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Tuesday 06 August 2024 09:57:51 -0400 (0:00:00.054) 0:01:45.842 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Tuesday 06 August 2024 09:57:51 -0400 (0:00:00.057) 0:01:45.900 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Tuesday 06 August 2024 09:57:52 -0400 (0:00:00.055) 0:01:45.955 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Tuesday 06 August 2024 09:57:52 -0400 (0:00:00.057) 0:01:46.012 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Tuesday 06 August 2024 09:57:52 -0400 (0:00:00.056) 0:01:46.069 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Tuesday 06 August 2024 09:57:52 -0400 (0:00:00.057) 0:01:46.127 ******** included: /tmp/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 09:57:52 -0400 (0:00:00.101) 0:01:46.228 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003163", "end": "2024-08-06 09:57:52.558863", "failed_when_result": false, "rc": 1, "start": "2024-08-06 09:57:52.555700" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 09:57:52 -0400 (0:00:00.322) 0:01:46.551 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.119885", "end": "2024-08-06 09:57:53.005663", "failed_when_result": false, "rc": 0, "start": "2024-08-06 09:57:52.885778" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 09:57:53 -0400 (0:00:00.459) 0:01:47.010 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Tuesday 06 August 2024 09:57:53 -0400 (0:00:00.056) 0:01:47.067 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Tuesday 06 August 2024 09:57:53 -0400 (0:00:00.056) 0:01:47.123 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Tuesday 06 August 2024 09:57:53 -0400 (0:00:00.056) 0:01:47.180 ******** NOTIFIED HANDLER fedora.linux_system_roles.mssql : Restart the mssql-server service for managed_node1 changed: [managed_node1] => { "changed": true, "changes": { "installed": [ "mssql-server-fts" ] }, "rc": 0, "results": [ "Loaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * epel: d2lzkl7pfhq30w.cloudfront.net\n * epel-debuginfo: d2lzkl7pfhq30w.cloudfront.net\n * epel-source: d2lzkl7pfhq30w.cloudfront.net\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server-fts.x86_64 0:15.0.4375.4-1 will be installed\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nInstalling:\n mssql-server-fts\n x86_64 15.0.4375.4-1 packages-microsoft-com-mssql-server-2019 225 M\n\nTransaction Summary\n================================================================================\nInstall 1 Package\n\nTotal download size: 225 M\nInstalled size: 554 M\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Installing : mssql-server-fts-15.0.4375.4-1.x86_64 1/1 \n\n+-------------------------------------------------------------------------------------+\nPlease restart mssql-server to enable Microsoft SQL Server Full Text Search.\n+-------------------------------------------------------------------------------------+\n\n Verifying : mssql-server-fts-15.0.4375.4-1.x86_64 1/1 \n\nInstalled:\n mssql-server-fts.x86_64 0:15.0.4375.4-1 \n\nComplete!\n" ] } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Tuesday 06 August 2024 09:58:27 -0400 (0:00:34.420) 0:02:21.601 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Tuesday 06 August 2024 09:58:27 -0400 (0:00:00.055) 0:02:21.657 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Tuesday 06 August 2024 09:58:27 -0400 (0:00:00.056) 0:02:21.713 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Tuesday 06 August 2024 09:58:27 -0400 (0:00:00.054) 0:02:21.768 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Tuesday 06 August 2024 09:58:27 -0400 (0:00:00.055) 0:02:21.824 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Tuesday 06 August 2024 09:58:27 -0400 (0:00:00.056) 0:02:21.881 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Tuesday 06 August 2024 09:58:28 -0400 (0:00:00.086) 0:02:21.968 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Tuesday 06 August 2024 09:58:28 -0400 (0:00:00.057) 0:02:22.025 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Tuesday 06 August 2024 09:58:28 -0400 (0:00:00.055) 0:02:22.081 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Tuesday 06 August 2024 09:58:28 -0400 (0:00:00.062) 0:02:22.143 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Tuesday 06 August 2024 09:58:28 -0400 (0:00:00.054) 0:02:22.198 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Tuesday 06 August 2024 09:58:28 -0400 (0:00:00.055) 0:02:22.254 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Tuesday 06 August 2024 09:58:28 -0400 (0:00:00.056) 0:02:22.311 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Tuesday 06 August 2024 09:58:28 -0400 (0:00:00.054) 0:02:22.365 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Tuesday 06 August 2024 09:58:28 -0400 (0:00:00.057) 0:02:22.422 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Tuesday 06 August 2024 09:58:28 -0400 (0:00:00.054) 0:02:22.477 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Tuesday 06 August 2024 09:58:28 -0400 (0:00:00.056) 0:02:22.533 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Tuesday 06 August 2024 09:58:28 -0400 (0:00:00.058) 0:02:22.592 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Tuesday 06 August 2024 09:58:28 -0400 (0:00:00.058) 0:02:22.651 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Tuesday 06 August 2024 09:58:28 -0400 (0:00:00.056) 0:02:22.707 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Tuesday 06 August 2024 09:58:28 -0400 (0:00:00.056) 0:02:22.764 ******** 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 : Get SPNs for the principal] ************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Tuesday 06 August 2024 09:58:28 -0400 (0:00:00.057) 0:02:22.822 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Tuesday 06 August 2024 09:58:28 -0400 (0:00:00.056) 0:02:22.878 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Tuesday 06 August 2024 09:58:29 -0400 (0:00:00.056) 0:02:22.934 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Tuesday 06 August 2024 09:58:29 -0400 (0:00:00.055) 0:02:22.989 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Tuesday 06 August 2024 09:58:29 -0400 (0:00:00.098) 0:02:23.087 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Tuesday 06 August 2024 09:58:29 -0400 (0:00:00.056) 0:02:23.143 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Tuesday 06 August 2024 09:58:29 -0400 (0:00:00.055) 0:02:23.199 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Tuesday 06 August 2024 09:58:29 -0400 (0:00:00.056) 0:02:23.256 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Tuesday 06 August 2024 09:58:29 -0400 (0:00:00.054) 0:02:23.310 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Tuesday 06 August 2024 09:58:29 -0400 (0:00:00.056) 0:02:23.367 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Tuesday 06 August 2024 09:58:29 -0400 (0:00:00.054) 0:02:23.421 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Tuesday 06 August 2024 09:58:29 -0400 (0:00:00.056) 0:02:23.477 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Tuesday 06 August 2024 09:58:29 -0400 (0:00:00.055) 0:02:23.533 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Tuesday 06 August 2024 09:58:29 -0400 (0:00:00.056) 0:02:23.590 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Tuesday 06 August 2024 09:58:29 -0400 (0:00:00.058) 0:02:23.648 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Tuesday 06 August 2024 09:58:29 -0400 (0:00:00.055) 0:02:23.703 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Tuesday 06 August 2024 09:58:29 -0400 (0:00:00.055) 0:02:23.759 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Tuesday 06 August 2024 09:58:29 -0400 (0:00:00.054) 0:02:23.813 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Tuesday 06 August 2024 09:58:29 -0400 (0:00:00.055) 0:02:23.869 ******** skipping: [managed_node1] => (item=/var/opt/mssql/data/.cer) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.cer", "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item=/var/opt/mssql/data/.pvk) => { "ansible_loop_var": "item", "changed": false, "item": "/var/opt/mssql/data/.pvk", "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure SQL entities on the primary replica] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Tuesday 06 August 2024 09:58:30 -0400 (0:00:00.065) 0:02:23.934 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Tuesday 06 August 2024 09:58:30 -0400 (0:00:00.055) 0:02:23.990 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Tuesday 06 August 2024 09:58:30 -0400 (0:00:00.055) 0:02:24.046 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Tuesday 06 August 2024 09:58:30 -0400 (0:00:00.070) 0:02:24.116 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1180 Tuesday 06 August 2024 09:58:30 -0400 (0:00:00.056) 0:02:24.173 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1205 Tuesday 06 August 2024 09:58:30 -0400 (0:00:00.099) 0:02:24.273 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1214 Tuesday 06 August 2024 09:58:30 -0400 (0:00:00.057) 0:02:24.330 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Tuesday 06 August 2024 09:58:30 -0400 (0:00:00.054) 0:02:24.385 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Tuesday 06 August 2024 09:58:30 -0400 (0:00:00.055) 0:02:24.441 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Tuesday 06 August 2024 09:58:30 -0400 (0:00:00.054) 0:02:24.496 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Tuesday 06 August 2024 09:58:30 -0400 (0:00:00.056) 0:02:24.553 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1263 Tuesday 06 August 2024 09:58:30 -0400 (0:00:00.055) 0:02:24.608 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1270 Tuesday 06 August 2024 09:58:30 -0400 (0:00:00.056) 0:02:24.664 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1278 Tuesday 06 August 2024 09:58:30 -0400 (0:00:00.056) 0:02:24.721 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Tuesday 06 August 2024 09:58:30 -0400 (0:00:00.055) 0:02:24.776 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1297 Tuesday 06 August 2024 09:58:30 -0400 (0:00:00.069) 0:02:24.846 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1306 Tuesday 06 August 2024 09:58:30 -0400 (0:00:00.054) 0:02:24.900 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1313 Tuesday 06 August 2024 09:58:31 -0400 (0:00:00.055) 0:02:24.956 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Tuesday 06 August 2024 09:58:31 -0400 (0:00:00.055) 0:02:25.012 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1327 Tuesday 06 August 2024 09:58:31 -0400 (0:00:00.057) 0:02:25.069 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1340 Tuesday 06 August 2024 09:58:31 -0400 (0:00:00.064) 0:02:25.133 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1352 Tuesday 06 August 2024 09:58:31 -0400 (0:00:00.054) 0:02:25.188 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Tuesday 06 August 2024 09:58:31 -0400 (0:00:00.056) 0:02:25.245 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Tuesday 06 August 2024 09:58:31 -0400 (0:00:00.056) 0:02:25.301 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1372 Tuesday 06 August 2024 09:58:31 -0400 (0:00:00.100) 0:02:25.401 ******** changed: [managed_node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Tuesday 06 August 2024 09:58:32 -0400 (0:00:00.623) 0:02:26.025 ******** changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 09:57:26 EDT", "ActiveEnterTimestampMonotonic": "878909942", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "system.slice basic.target systemd-journald.socket network.target -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 09:57:26 EDT", "AssertTimestampMonotonic": "878908547", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 09:57:26 EDT", "ConditionTimestampMonotonic": "878908545", "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": "12457", "ExecMainStartTimestamp": "Tue 2024-08-06 09:57:26 EDT", "ExecMainStartTimestampMonotonic": "878909261", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 09:57:26 EDT", "InactiveExitTimestampMonotonic": "878909942", "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": "12457", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 09:57:26 EDT", "WatchdogTimestampMonotonic": "878909920", "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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1385 Tuesday 06 August 2024 09:58:32 -0400 (0:00:00.863) 0:02:26.889 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1392 Tuesday 06 August 2024 09:58:33 -0400 (0:00:00.056) 0:02:26.945 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert the latest script invocation resulted in no changes] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_input_sql_file.yml:20 Tuesday 06 August 2024 09:58:33 -0400 (0:00:00.056) 0:02:27.001 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Input sql files with post_input into custom storage directory] *********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_input_sql_file.yml:30 Tuesday 06 August 2024 09:58:33 -0400 (0:00:00.062) 0:02:27.063 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Tuesday 06 August 2024 09:58:33 -0400 (0:00:00.415) 0:02:27.479 ******** included: /tmp/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Tuesday 06 August 2024 09:58:33 -0400 (0:00:00.145) 0:02:27.625 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Tuesday 06 August 2024 09:58:33 -0400 (0:00:00.076) 0:02:27.701 ******** 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/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Tuesday 06 August 2024 09:58:33 -0400 (0:00:00.092) 0:02:27.794 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Tuesday 06 August 2024 09:58:33 -0400 (0:00:00.056) 0:02:27.850 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Tuesday 06 August 2024 09:58:33 -0400 (0:00:00.057) 0:02:27.907 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Tuesday 06 August 2024 09:58:34 -0400 (0:00:00.055) 0:02:27.962 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Tuesday 06 August 2024 09:58:34 -0400 (0:00:00.056) 0:02:28.019 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Tuesday 06 August 2024 09:58:34 -0400 (0:00:00.057) 0:02:28.077 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Tuesday 06 August 2024 09:58:34 -0400 (0:00:00.055) 0:02:28.132 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Tuesday 06 August 2024 09:58:34 -0400 (0:00:00.056) 0:02:28.189 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Tuesday 06 August 2024 09:58:34 -0400 (0:00:00.055) 0:02:28.244 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Tuesday 06 August 2024 09:58:34 -0400 (0:00:00.056) 0:02:28.301 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Tuesday 06 August 2024 09:58:34 -0400 (0:00:00.058) 0:02:28.359 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Tuesday 06 August 2024 09:58:34 -0400 (0:00:00.065) 0:02:28.425 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Tuesday 06 August 2024 09:58:34 -0400 (0:00:00.055) 0:02:28.481 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Tuesday 06 August 2024 09:58:34 -0400 (0:00:00.056) 0:02:28.538 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Tuesday 06 August 2024 09:58:34 -0400 (0:00:00.057) 0:02:28.595 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Tuesday 06 August 2024 09:58:34 -0400 (0:00:00.055) 0:02:28.651 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Tuesday 06 August 2024 09:58:34 -0400 (0:00:00.115) 0:02:28.766 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Tuesday 06 August 2024 09:58:34 -0400 (0:00:00.059) 0:02:28.826 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Tuesday 06 August 2024 09:58:37 -0400 (0:00:02.132) 0:02:30.958 ******** skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Tuesday 06 August 2024 09:58:37 -0400 (0:00:00.157) 0:02:31.115 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Tuesday 06 August 2024 09:58:37 -0400 (0:00:00.060) 0:02:31.176 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Tuesday 06 August 2024 09:58:37 -0400 (0:00:00.065) 0:02:31.242 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Tuesday 06 August 2024 09:58:37 -0400 (0:00:00.107) 0:02:31.349 ******** ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Tuesday 06 August 2024 09:58:38 -0400 (0:00:00.657) 0:02:32.007 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Tuesday 06 August 2024 09:58:38 -0400 (0:00:00.063) 0:02:32.070 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Tuesday 06 August 2024 09:58:38 -0400 (0:00:00.062) 0:02:32.133 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Tuesday 06 August 2024 09:58:38 -0400 (0:00:00.064) 0:02:32.197 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Tuesday 06 August 2024 09:58:38 -0400 (0:00:00.060) 0:02:32.258 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Tuesday 06 August 2024 09:58:38 -0400 (0:00:00.063) 0:02:32.321 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Tuesday 06 August 2024 09:58:38 -0400 (0:00:00.061) 0:02:32.383 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Tuesday 06 August 2024 09:58:38 -0400 (0:00:00.082) 0:02:32.465 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Tuesday 06 August 2024 09:58:38 -0400 (0:00:00.058) 0:02:32.524 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Tuesday 06 August 2024 09:58:39 -0400 (0:00:00.685) 0:02:33.210 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Tuesday 06 August 2024 09:58:40 -0400 (0:00:00.757) 0:02:33.967 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Tuesday 06 August 2024 09:58:40 -0400 (0:00:00.059) 0:02:34.026 ******** 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.005544", "end": "2024-08-06 09:58:40.428123", "rc": 0, "start": "2024-08-06 09:58:40.422579" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Tuesday 06 August 2024 09:58:40 -0400 (0:00:00.428) 0:02:34.454 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Tuesday 06 August 2024 09:58:41 -0400 (0:00:00.975) 0:02:35.430 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Tuesday 06 August 2024 09:58:41 -0400 (0:00:00.081) 0:02:35.511 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Tuesday 06 August 2024 09:58:41 -0400 (0:00:00.059) 0:02:35.571 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Tuesday 06 August 2024 09:58:41 -0400 (0:00:00.057) 0:02:35.629 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml for managed_node1 included: /tmp/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Tuesday 06 August 2024 09:58:41 -0400 (0:00:00.133) 0:02:35.762 ******** changed: [managed_node1] => { "changed": true, "gid": 994, "group": "mssql", "mode": "0700", "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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Tuesday 06 August 2024 09:58:42 -0400 (0:00:00.509) 0:02:36.271 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultdatadir] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Tuesday 06 August 2024 09:58:42 -0400 (0:00:00.062) 0:02:36.334 ******** included: /tmp/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 09:58:42 -0400 (0:00:00.104) 0:02:36.438 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^defaultdatadir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003609", "end": "2024-08-06 09:58:42.786447", "failed_when_result": false, "rc": 1, "start": "2024-08-06 09:58:42.782838" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultdatadir] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 09:58:42 -0400 (0:00:00.374) 0:02:36.813 ******** 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.118615", "end": "2024-08-06 09:58:43.281219", "failed_when_result": false, "rc": 0, "start": "2024-08-06 09:58:43.162604" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 09:58:43 -0400 (0:00:00.475) 0:02:37.289 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:3 Tuesday 06 August 2024 09:58:43 -0400 (0:00:00.064) 0:02:37.353 ******** changed: [managed_node1] => { "changed": true, "gid": 994, "group": "mssql", "mode": "0700", "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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:12 Tuesday 06 August 2024 09:58:43 -0400 (0:00:00.345) 0:02:37.698 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the setting defaultlogdir] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/configure_storage_paths.yml:28 Tuesday 06 August 2024 09:58:43 -0400 (0:00:00.061) 0:02:37.760 ******** included: /tmp/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 09:58:43 -0400 (0:00:00.105) 0:02:37.865 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^defaultlogdir = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003222", "end": "2024-08-06 09:58:44.218080", "failed_when_result": false, "rc": 1, "start": "2024-08-06 09:58:44.214858" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting filelocation defaultlogdir] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 09:58:44 -0400 (0:00:00.347) 0:02:38.213 ******** changed: [managed_node1] => { "changed": true, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "filelocation.defaultlogdir", "/tmp/mssql_log" ], "delta": "0:00:00.122080", "end": "2024-08-06 09:58:44.690185", "failed_when_result": false, "rc": 0, "start": "2024-08-06 09:58:44.568105" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 09:58:44 -0400 (0:00:00.480) 0:02:38.693 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Tuesday 06 August 2024 09:58:44 -0400 (0:00:00.062) 0:02:38.756 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Tuesday 06 August 2024 09:58:44 -0400 (0:00:00.057) 0:02:38.813 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Tuesday 06 August 2024 09:58:44 -0400 (0:00:00.060) 0:02:38.873 ******** 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" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Tuesday 06 August 2024 09:58:45 -0400 (0:00:00.563) 0:02:39.437 ******** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 09:43:06 EDT", "ActiveEnterTimestampMonotonic": "18449931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network.target systemd-journald.socket systemd-sysctl.service dbus.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 09:43:04 EDT", "AssertTimestampMonotonic": "17161376", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 09:43:04 EDT", "ConditionTimestampMonotonic": "17161374", "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": "851", "ExecMainStartTimestamp": "Tue 2024-08-06 09:43:04 EDT", "ExecMainStartTimestampMonotonic": "17162038", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 09:43:04 EDT", "InactiveExitTimestampMonotonic": "17162082", "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": "851", "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 dbus.service polkit.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 09:43:06 EDT", "WatchdogTimestampMonotonic": "18449888", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Tuesday 06 August 2024 09:58:45 -0400 (0:00:00.421) 0:02:39.859 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.114154", "end": "2024-08-06 09:58:46.306356", "rc": 0, "start": "2024-08-06 09:58:46.192202" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Tuesday 06 August 2024 09:58:46 -0400 (0:00:00.445) 0:02:40.305 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Tuesday 06 August 2024 09:58:46 -0400 (0:00:00.062) 0:02:40.368 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Tuesday 06 August 2024 09:58:46 -0400 (0:00:00.060) 0:02:40.428 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Tuesday 06 August 2024 09:58:46 -0400 (0:00:00.062) 0:02:40.491 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Tuesday 06 August 2024 09:58:46 -0400 (0:00:00.341) 0:02:40.832 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Tuesday 06 August 2024 09:58:46 -0400 (0:00:00.059) 0:02:40.892 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Tuesday 06 August 2024 09:58:47 -0400 (0:00:00.549) 0:02:41.442 ******** included: /tmp/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Tuesday 06 August 2024 09:58:47 -0400 (0:00:00.113) 0:02:41.555 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 09:58:32 EDT", "ActiveEnterTimestampMonotonic": "945218812", "ActiveExitTimestamp": "Tue 2024-08-06 09:58:32 EDT", "ActiveExitTimestampMonotonic": "944902074", "ActiveState": "active", "After": "system.slice basic.target systemd-journald.socket network.target -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 09:58:32 EDT", "AssertTimestampMonotonic": "945217791", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 09:58:32 EDT", "ConditionTimestampMonotonic": "945217790", "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": "14138", "ExecMainStartTimestamp": "Tue 2024-08-06 09:58:32 EDT", "ExecMainStartTimestampMonotonic": "945218752", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 09:58:32 EDT] ; stop_time=[n/a] ; pid=14138 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 09:58:32 EDT", "InactiveEnterTimestampMonotonic": "945216387", "InactiveExitTimestamp": "Tue 2024-08-06 09:58:32 EDT", "InactiveExitTimestampMonotonic": "945218812", "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": "14138", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 09:58:32 EDT", "WatchdogTimestampMonotonic": "945218793", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Tuesday 06 August 2024 09:58:48 -0400 (0:00:00.526) 0:02:42.081 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003250", "end": "2024-08-06 09:58:48.425165", "failed_when_result": false, "rc": 1, "start": "2024-08-06 09:58:48.421915" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Tuesday 06 August 2024 09:58:48 -0400 (0:00:00.343) 0:02:42.425 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003097", "end": "2024-08-06 09:58:48.763184", "failed_when_result": false, "rc": 1, "start": "2024-08-06 09:58:48.760087" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Tuesday 06 August 2024 09:58:48 -0400 (0:00:00.333) 0:02:42.758 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Tuesday 06 August 2024 09:58:48 -0400 (0:00:00.076) 0:02:42.835 ******** 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": 7784, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Tuesday 06 August 2024 09:58:50 -0400 (0:00:01.355) 0:02:44.191 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Tuesday 06 August 2024 09:58:50 -0400 (0:00:00.395) 0:02:44.586 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Tuesday 06 August 2024 09:58:50 -0400 (0:00:00.063) 0:02:44.649 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Tuesday 06 August 2024 09:58:52 -0400 (0:00:01.298) 0:02:45.948 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Tuesday 06 August 2024 09:58:52 -0400 (0:00:00.069) 0:02:46.017 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Tuesday 06 August 2024 09:58:52 -0400 (0:00:00.060) 0:02:46.078 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Tuesday 06 August 2024 09:58:52 -0400 (0:00:00.058) 0:02:46.137 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Tuesday 06 August 2024 09:58:52 -0400 (0:00:00.062) 0:02:46.199 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Tuesday 06 August 2024 09:58:52 -0400 (0:00:00.062) 0:02:46.262 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Tuesday 06 August 2024 09:58:52 -0400 (0:00:00.061) 0:02:46.324 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Tuesday 06 August 2024 09:58:52 -0400 (0:00:00.063) 0:02:46.387 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Tuesday 06 August 2024 09:58:52 -0400 (0:00:00.060) 0:02:46.448 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Tuesday 06 August 2024 09:58:52 -0400 (0:00:00.063) 0:02:46.511 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Tuesday 06 August 2024 09:58:52 -0400 (0:00:00.060) 0:02:46.571 ******** included: /tmp/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 09:58:52 -0400 (0:00:00.110) 0:02:46.682 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003822", "end": "2024-08-06 09:58:53.070892", "failed_when_result": false, "rc": 1, "start": "2024-08-06 09:58:53.067070" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 09:58:53 -0400 (0:00:00.384) 0:02:47.067 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.124644", "end": "2024-08-06 09:58:53.541503", "failed_when_result": false, "rc": 0, "start": "2024-08-06 09:58:53.416859" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 09:58:53 -0400 (0:00:00.482) 0:02:47.550 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Close the previously set SQL Server TCP port if it changed] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Tuesday 06 August 2024 09:58:53 -0400 (0:00:00.116) 0:02:47.667 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Tuesday 06 August 2024 09:58:53 -0400 (0:00:00.065) 0:02:47.732 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Tuesday 06 August 2024 09:58:53 -0400 (0:00:00.063) 0:02:47.795 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Tuesday 06 August 2024 09:58:53 -0400 (0:00:00.064) 0:02:47.860 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Tuesday 06 August 2024 09:58:54 -0400 (0:00:00.059) 0:02:47.920 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Tuesday 06 August 2024 09:58:54 -0400 (0:00:00.060) 0:02:47.981 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Tuesday 06 August 2024 09:58:54 -0400 (0:00:00.059) 0:02:48.040 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Tuesday 06 August 2024 09:58:54 -0400 (0:00:00.060) 0:02:48.101 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Tuesday 06 August 2024 09:58:54 -0400 (0:00:00.061) 0:02:48.162 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Tuesday 06 August 2024 09:58:54 -0400 (0:00:00.059) 0:02:48.221 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Tuesday 06 August 2024 09:58:54 -0400 (0:00:00.061) 0:02:48.282 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Tuesday 06 August 2024 09:58:54 -0400 (0:00:00.059) 0:02:48.342 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Tuesday 06 August 2024 09:58:54 -0400 (0:00:00.068) 0:02:48.410 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Tuesday 06 August 2024 09:58:54 -0400 (0:00:00.060) 0:02:48.471 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Tuesday 06 August 2024 09:58:54 -0400 (0:00:00.059) 0:02:48.531 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Tuesday 06 August 2024 09:58:54 -0400 (0:00:00.060) 0:02:48.591 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Tuesday 06 August 2024 09:58:54 -0400 (0:00:00.058) 0:02:48.650 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Tuesday 06 August 2024 09:58:54 -0400 (0:00:00.061) 0:02:48.712 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Tuesday 06 August 2024 09:58:54 -0400 (0:00:00.059) 0:02:48.772 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Tuesday 06 August 2024 09:58:54 -0400 (0:00:00.119) 0:02:48.891 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Tuesday 06 August 2024 09:58:55 -0400 (0:00:00.066) 0:02:48.957 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Tuesday 06 August 2024 09:58:55 -0400 (0:00:00.063) 0:02:49.021 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Tuesday 06 August 2024 09:58:55 -0400 (0:00:00.063) 0:02:49.084 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Tuesday 06 August 2024 09:58:55 -0400 (0:00:00.060) 0:02:49.145 ******** 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 : Get SPNs for the principal] ************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Tuesday 06 August 2024 09:58:55 -0400 (0:00:00.062) 0:02:49.207 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Tuesday 06 August 2024 09:58:55 -0400 (0:00:00.061) 0:02:49.268 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Tuesday 06 August 2024 09:58:55 -0400 (0:00:00.060) 0:02:49.329 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Tuesday 06 August 2024 09:58:55 -0400 (0:00:00.061) 0:02:49.390 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Tuesday 06 August 2024 09:58:55 -0400 (0:00:00.059) 0:02:49.450 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Tuesday 06 August 2024 09:58:55 -0400 (0:00:00.060) 0:02:49.511 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Tuesday 06 August 2024 09:58:55 -0400 (0:00:00.058) 0:02:49.570 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Tuesday 06 August 2024 09:58:55 -0400 (0:00:00.060) 0:02:49.630 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Tuesday 06 August 2024 09:58:55 -0400 (0:00:00.060) 0:02:49.691 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Tuesday 06 August 2024 09:58:55 -0400 (0:00:00.059) 0:02:49.750 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Tuesday 06 August 2024 09:58:55 -0400 (0:00:00.061) 0:02:49.811 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Tuesday 06 August 2024 09:58:55 -0400 (0:00:00.059) 0:02:49.871 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Tuesday 06 August 2024 09:58:56 -0400 (0:00:00.062) 0:02:49.934 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Tuesday 06 August 2024 09:58:56 -0400 (0:00:00.059) 0:02:49.993 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Tuesday 06 August 2024 09:58:56 -0400 (0:00:00.116) 0:02:50.110 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Tuesday 06 August 2024 09:58:56 -0400 (0:00:00.063) 0:02:50.173 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Tuesday 06 August 2024 09:58:56 -0400 (0:00:00.060) 0:02:50.234 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Tuesday 06 August 2024 09:58:56 -0400 (0:00:00.062) 0:02:50.297 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Tuesday 06 August 2024 09:58:56 -0400 (0:00:00.060) 0:02:50.357 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Tuesday 06 August 2024 09:58:56 -0400 (0:00:00.073) 0:02:50.430 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Tuesday 06 August 2024 09:58:56 -0400 (0:00:00.059) 0:02:50.490 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Tuesday 06 August 2024 09:58:56 -0400 (0:00:00.060) 0:02:50.550 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Tuesday 06 August 2024 09:58:56 -0400 (0:00:00.076) 0:02:50.626 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1180 Tuesday 06 August 2024 09:58:56 -0400 (0:00:00.060) 0:02:50.687 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1205 Tuesday 06 August 2024 09:58:56 -0400 (0:00:00.061) 0:02:50.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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1214 Tuesday 06 August 2024 09:58:56 -0400 (0:00:00.059) 0:02:50.808 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Tuesday 06 August 2024 09:58:56 -0400 (0:00:00.060) 0:02:50.869 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Tuesday 06 August 2024 09:58:57 -0400 (0:00:00.061) 0:02:50.931 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Tuesday 06 August 2024 09:58:57 -0400 (0:00:00.059) 0:02:50.990 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Tuesday 06 August 2024 09:58:57 -0400 (0:00:00.062) 0:02:51.053 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1263 Tuesday 06 August 2024 09:58:57 -0400 (0:00:00.058) 0:02:51.112 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1270 Tuesday 06 August 2024 09:58:57 -0400 (0:00:00.061) 0:02:51.173 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1278 Tuesday 06 August 2024 09:58:57 -0400 (0:00:00.058) 0:02:51.232 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Tuesday 06 August 2024 09:58:57 -0400 (0:00:00.116) 0:02:51.349 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1297 Tuesday 06 August 2024 09:58:57 -0400 (0:00:00.077) 0:02:51.427 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1306 Tuesday 06 August 2024 09:58:57 -0400 (0:00:00.060) 0:02:51.487 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1313 Tuesday 06 August 2024 09:58:57 -0400 (0:00:00.061) 0:02:51.548 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Tuesday 06 August 2024 09:58:57 -0400 (0:00:00.059) 0:02:51.608 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1327 Tuesday 06 August 2024 09:58:57 -0400 (0:00:00.063) 0:02:51.672 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1340 Tuesday 06 August 2024 09:58:57 -0400 (0:00:00.070) 0:02:51.742 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1352 Tuesday 06 August 2024 09:58:57 -0400 (0:00:00.059) 0:02:51.801 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Tuesday 06 August 2024 09:58:57 -0400 (0:00:00.061) 0:02:51.863 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Tuesday 06 August 2024 09:58:58 -0400 (0:00:00.060) 0:02:51.924 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1372 Tuesday 06 August 2024 09:58:58 -0400 (0:00:00.062) 0:02:51.987 ******** changed: [managed_node1] => { "changed": true } MSG: Block inserted RUNNING HANDLER [fedora.linux_system_roles.mssql : Restart the mssql-server service] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 Tuesday 06 August 2024 09:58:58 -0400 (0:00:00.430) 0:02:52.417 ******** changed: [managed_node1] => { "changed": true, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 09:58:32 EDT", "ActiveEnterTimestampMonotonic": "945218812", "ActiveExitTimestamp": "Tue 2024-08-06 09:58:32 EDT", "ActiveExitTimestampMonotonic": "944902074", "ActiveState": "active", "After": "system.slice basic.target systemd-journald.socket network.target -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 09:58:32 EDT", "AssertTimestampMonotonic": "945217791", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 09:58:32 EDT", "ConditionTimestampMonotonic": "945217790", "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": "14138", "ExecMainStartTimestamp": "Tue 2024-08-06 09:58:32 EDT", "ExecMainStartTimestampMonotonic": "945218752", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 09:58:32 EDT] ; stop_time=[n/a] ; pid=14138 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 09:58:32 EDT", "InactiveEnterTimestampMonotonic": "945216387", "InactiveExitTimestamp": "Tue 2024-08-06 09:58:32 EDT", "InactiveExitTimestampMonotonic": "945218812", "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": "14138", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 09:58:32 EDT", "WatchdogTimestampMonotonic": "945218793", "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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1385 Tuesday 06 August 2024 09:59:00 -0400 (0:00:01.605) 0:02:54.022 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 09:59:00 -0400 (0:00:00.113) 0:02:54.136 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 09:59:00 -0400 (0:00:00.062) 0:02:54.198 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 09:59:00 -0400 (0:00:00.065) 0:02:54.263 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 09:58:59 EDT", "ActiveEnterTimestampMonotonic": "972298741", "ActiveExitTimestamp": "Tue 2024-08-06 09:58:58 EDT", "ActiveExitTimestampMonotonic": "971285123", "ActiveState": "active", "After": "system.slice basic.target systemd-journald.socket network.target -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 09:58:59 EDT", "AssertTimestampMonotonic": "972297786", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 09:58:59 EDT", "ConditionTimestampMonotonic": "972297785", "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": "15832", "ExecMainStartTimestamp": "Tue 2024-08-06 09:58:59 EDT", "ExecMainStartTimestampMonotonic": "972298683", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 09:58:59 EDT] ; stop_time=[n/a] ; pid=15832 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 09:58:59 EDT", "InactiveEnterTimestampMonotonic": "972296793", "InactiveExitTimestamp": "Tue 2024-08-06 09:58:59 EDT", "InactiveExitTimestampMonotonic": "972298741", "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": "15832", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 09:58:59 EDT", "WatchdogTimestampMonotonic": "972298722", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 09:59:00 -0400 (0:00:00.537) 0:02:54.801 ******** 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": 8492, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 09:59:02 -0400 (0:00:01.447) 0:02:56.248 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 09:59:02 -0400 (0:00:00.061) 0:02:56.309 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for sql_script.sql] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 09:59:02 -0400 (0:00:00.141) 0:02:56.451 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/sql_script.sql_6Eo8wO.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host sql_script.sql] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 09:59:03 -0400 (0:00:00.521) 0:02:56.973 ******** ok: [managed_node1] => { "changed": false, "checksum": "67de8f18f6fcaa09e738d8c66f024167f8a33041", "dest": "/tmp/sql_script.sql_6Eo8wO.sql", "gid": 0, "group": "root", "md5sum": "1b9811caa61ae40c1e20f7b8b059f23c", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1481, "src": "/root/.ansible/tmp/ansible-tmp-1722952743.26-11896-157576753015713/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for sql_script.sql] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 09:59:04 -0400 (0:00:01.320) 0:02:58.293 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command sql_script.sql] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 09:59:04 -0400 (0:00:00.061) 0:02:58.355 ******** 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 : Print file location and output from inputting sql_script.sql] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 09:59:07 -0400 (0:00:03.140) 0:03:01.496 ******** ok: [managed_node1] => (item=/tmp/sql_script.sql_6Eo8wO.sql) => { "__mssql_sqlcmd_loop": "/tmp/sql_script.sql_6Eo8wO.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=[u'Creating the MyLogin login', u'The MyLogin login created successfully', u'Creating the MyUser user', u'The MyUser user created successfully', u'Creating the ExampleDB database', u'The ExampleDB database created successfully', u"Changed database context to 'ExampleDB'.", u'Adding the Inventory table to the ExampleDB database', u'', u'(1 rows affected)', u'', u'(1 rows affected)', u'', u'(1 rows affected)', u'', u'(1 rows affected)', u'The Inventory table created successfully']) => { "__mssql_sqlcmd_loop": [ "Creating the MyLogin login", "The MyLogin login created successfully", "Creating the MyUser user", "The MyUser user created successfully", "Creating the ExampleDB database", "The ExampleDB database created successfully", "Changed database context to 'ExampleDB'.", "Adding the Inventory table to the ExampleDB database", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)", "The Inventory table created successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile sql_script.sql] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 09:59:07 -0400 (0:00:00.097) 0:03:01.594 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for sql_script.sql] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 09:59:07 -0400 (0:00:00.063) 0:03:01.658 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/sql_script.sql_M7EvoG.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host sql_script.sql] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 09:59:08 -0400 (0:00:00.318) 0:03:01.976 ******** ok: [managed_node1] => { "changed": false, "checksum": "67de8f18f6fcaa09e738d8c66f024167f8a33041", "dest": "/tmp/sql_script.sql_M7EvoG.sql", "gid": 0, "group": "root", "md5sum": "1b9811caa61ae40c1e20f7b8b059f23c", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 1481, "src": "/root/.ansible/tmp/ansible-tmp-1722952748.11-11936-214132792142090/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for sql_script.sql] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 09:59:08 -0400 (0:00:00.605) 0:03:02.582 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command sql_script.sql] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 09:59:08 -0400 (0:00:00.061) 0:03:02.643 ******** 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 : Print file location and output from inputting sql_script.sql] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 09:59:09 -0400 (0:00:00.381) 0:03:03.025 ******** ok: [managed_node1] => (item=/tmp/sql_script.sql_M7EvoG.sql) => { "__mssql_sqlcmd_loop": "/tmp/sql_script.sql_M7EvoG.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=[u'The MyLogin login already exists, skipping', u'The MyUser user already exists, skipping', u'The ExampleDB database already exists, skipping', u"Changed database context to 'ExampleDB'.", u'The Inventory table already exists, skipping']) => { "__mssql_sqlcmd_loop": [ "The MyLogin login already exists, skipping", "The MyUser user already exists, skipping", "The ExampleDB database already exists, skipping", "Changed database context to 'ExampleDB'.", "The Inventory table already exists, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile sql_script.sql] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 09:59:09 -0400 (0:00:00.095) 0:03:03.120 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 09:59:09 -0400 (0:00:00.063) 0:03:03.183 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1392 Tuesday 06 August 2024 09:59:09 -0400 (0:00:00.060) 0:03:03.244 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert the latest script invocation resulted in no changes] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_input_sql_file.yml:43 Tuesday 06 August 2024 09:59:09 -0400 (0:00:00.059) 0:03:03.304 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify custom storage] *************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_input_sql_file.yml:53 Tuesday 06 August 2024 09:59:09 -0400 (0:00:00.066) 0:03:03.370 ******** included: /tmp/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:8 Tuesday 06 August 2024 09:59:09 -0400 (0:00:00.308) 0:03:03.679 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set edition matches the existing edition] ******************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:23 Tuesday 06 August 2024 09:59:09 -0400 (0:00:00.058) 0:03:03.737 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify if the edition matches] ******************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:35 Tuesday 06 August 2024 09:59:09 -0400 (0:00:00.058) 0:03:03.795 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the setting {{ item.key }}] *************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:39 Tuesday 06 August 2024 09:59:09 -0400 (0:00:00.059) 0:03:03.855 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get stat of mssql_datadir] *********************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:55 Tuesday 06 August 2024 09:59:10 -0400 (0:00:00.113) 0:03:03.968 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722952747.0955143, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1722952746.798513, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 393288, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1722952746.798513, "nlink": 2, "path": "/tmp/mssql_data", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 4096, "uid": 996, "version": "18446744072301382139", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [Assert that mssql_datadir has proper permissions and ownership] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:60 Tuesday 06 August 2024 09:59:10 -0400 (0:00:00.355) 0:03:04.323 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Get stat of mssql_logdir] ************************************************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:70 Tuesday 06 August 2024 09:59:10 -0400 (0:00:00.071) 0:03:04.395 ******** ok: [managed_node1] => { "changed": false, "stat": { "atime": 1722952747.1015143, "attr_flags": "e", "attributes": [ "extents" ], "block_size": 4096, "blocks": 8, "charset": "binary", "ctime": 1722952746.8915133, "dev": 51713, "device_type": 0, "executable": true, "exists": true, "gid": 994, "gr_name": "mssql", "inode": 393289, "isblk": false, "ischr": false, "isdir": true, "isfifo": false, "isgid": false, "islnk": false, "isreg": false, "issock": false, "isuid": false, "mimetype": "inode/directory", "mode": "0700", "mtime": 1722952746.8915133, "nlink": 2, "path": "/tmp/mssql_log", "pw_name": "mssql", "readable": true, "rgrp": false, "roth": false, "rusr": true, "size": 4096, "uid": 996, "version": "18446744072301382155", "wgrp": false, "woth": false, "writeable": true, "wusr": true, "xgrp": false, "xoth": false, "xusr": true } } TASK [Assert that mssql_logdir has proper permissions and ownership] *********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:75 Tuesday 06 August 2024 09:59:10 -0400 (0:00:00.336) 0:03:04.732 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Prepare MSSQL and facts for logging in] ********************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:85 Tuesday 06 August 2024 09:59:10 -0400 (0:00:00.071) 0:03:04.804 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Wait for mssql-server to prepare for client connections] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:93 Tuesday 06 August 2024 09:59:10 -0400 (0:00:00.057) 0:03:04.861 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Check if the set password matches the existing password] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:99 Tuesday 06 August 2024 09:59:11 -0400 (0:00:00.059) 0:03:04.921 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set the mssql_password variable to default null] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:118 Tuesday 06 August 2024 09:59:11 -0400 (0:00:00.057) 0:03:04.979 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package {{ __mssql_server_fts_packages }}] ******************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:122 Tuesday 06 August 2024 09:59:11 -0400 (0:00:00.059) 0:03:05.038 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the package {{ __mssql_powershell_packages }}] ******************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:129 Tuesday 06 August 2024 09:59:11 -0400 (0:00:00.060) 0:03:05.098 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Get the value of the traceflag setting] ********************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:140 Tuesday 06 August 2024 09:59:11 -0400 (0:00:00.057) 0:03:05.156 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the traceflag setting is set to 3979] ************************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:145 Tuesday 06 August 2024 09:59:11 -0400 (0:00:00.059) 0:03:05.215 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:150 Tuesday 06 August 2024 09:59:11 -0400 (0:00:00.057) 0:03:05.273 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify that the alternatewritethrough setting is false] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:156 Tuesday 06 August 2024 09:59:11 -0400 (0:00:00.058) 0:03:05.332 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the writethrough setting] ***************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:162 Tuesday 06 August 2024 09:59:11 -0400 (0:00:00.057) 0:03:05.389 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlscert setting] ********************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:172 Tuesday 06 August 2024 09:59:11 -0400 (0:00:00.058) 0:03:05.448 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlskey setting] *********************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:183 Tuesday 06 August 2024 09:59:11 -0400 (0:00:00.120) 0:03:05.568 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the tlsprotocols setting] ***************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:195 Tuesday 06 August 2024 09:59:11 -0400 (0:00:00.061) 0:03:05.630 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify the forceencryption setting] ************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:203 Tuesday 06 August 2024 09:59:11 -0400 (0:00:00.061) 0:03:05.691 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Verify configuration for confined application] *************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/verify_settings.yml:210 Tuesday 06 August 2024 09:59:11 -0400 (0:00:00.058) 0:03:05.750 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Set up MSSQL and input sql content with pre_input] *********************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_input_sql_file.yml:61 Tuesday 06 August 2024 09:59:11 -0400 (0:00:00.060) 0:03:05.810 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Tuesday 06 August 2024 09:59:12 -0400 (0:00:00.692) 0:03:06.502 ******** included: /tmp/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Tuesday 06 August 2024 09:59:12 -0400 (0:00:00.101) 0:03:06.603 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Tuesday 06 August 2024 09:59:12 -0400 (0:00:00.078) 0:03:06.682 ******** 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/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Tuesday 06 August 2024 09:59:12 -0400 (0:00:00.164) 0:03:06.847 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Tuesday 06 August 2024 09:59:13 -0400 (0:00:00.063) 0:03:06.911 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Tuesday 06 August 2024 09:59:13 -0400 (0:00:00.059) 0:03:06.970 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Tuesday 06 August 2024 09:59:13 -0400 (0:00:00.060) 0:03:07.031 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Tuesday 06 August 2024 09:59:13 -0400 (0:00:00.058) 0:03:07.090 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Tuesday 06 August 2024 09:59:13 -0400 (0:00:00.060) 0:03:07.150 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Tuesday 06 August 2024 09:59:13 -0400 (0:00:00.058) 0:03:07.209 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Tuesday 06 August 2024 09:59:13 -0400 (0:00:00.060) 0:03:07.269 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Tuesday 06 August 2024 09:59:13 -0400 (0:00:00.059) 0:03:07.329 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Tuesday 06 August 2024 09:59:13 -0400 (0:00:00.058) 0:03:07.387 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Tuesday 06 August 2024 09:59:13 -0400 (0:00:00.062) 0:03:07.449 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Tuesday 06 August 2024 09:59:13 -0400 (0:00:00.066) 0:03:07.515 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Tuesday 06 August 2024 09:59:13 -0400 (0:00:00.059) 0:03:07.575 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Tuesday 06 August 2024 09:59:13 -0400 (0:00:00.059) 0:03:07.635 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Tuesday 06 August 2024 09:59:13 -0400 (0:00:00.057) 0:03:07.692 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Tuesday 06 August 2024 09:59:13 -0400 (0:00:00.060) 0:03:07.753 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Tuesday 06 August 2024 09:59:13 -0400 (0:00:00.059) 0:03:07.813 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Tuesday 06 August 2024 09:59:13 -0400 (0:00:00.058) 0:03:07.872 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Tuesday 06 August 2024 09:59:15 -0400 (0:00:01.248) 0:03:09.120 ******** skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Tuesday 06 August 2024 09:59:15 -0400 (0:00:00.166) 0:03:09.286 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Tuesday 06 August 2024 09:59:15 -0400 (0:00:00.060) 0:03:09.347 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Tuesday 06 August 2024 09:59:15 -0400 (0:00:00.066) 0:03:09.413 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Tuesday 06 August 2024 09:59:15 -0400 (0:00:00.113) 0:03:09.527 ******** ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Tuesday 06 August 2024 09:59:16 -0400 (0:00:00.551) 0:03:10.078 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Tuesday 06 August 2024 09:59:16 -0400 (0:00:00.062) 0:03:10.141 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Tuesday 06 August 2024 09:59:16 -0400 (0:00:00.062) 0:03:10.203 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Tuesday 06 August 2024 09:59:16 -0400 (0:00:00.063) 0:03:10.267 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Tuesday 06 August 2024 09:59:16 -0400 (0:00:00.126) 0:03:10.393 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Tuesday 06 August 2024 09:59:16 -0400 (0:00:00.067) 0:03:10.461 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Tuesday 06 August 2024 09:59:16 -0400 (0:00:00.065) 0:03:10.527 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Tuesday 06 August 2024 09:59:16 -0400 (0:00:00.084) 0:03:10.611 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Tuesday 06 August 2024 09:59:16 -0400 (0:00:00.062) 0:03:10.673 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Tuesday 06 August 2024 09:59:17 -0400 (0:00:00.589) 0:03:11.263 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Tuesday 06 August 2024 09:59:17 -0400 (0:00:00.549) 0:03:11.813 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Tuesday 06 August 2024 09:59:17 -0400 (0:00:00.060) 0:03:11.874 ******** 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.005122", "end": "2024-08-06 09:59:18.224868", "rc": 0, "start": "2024-08-06 09:59:18.219746" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Tuesday 06 August 2024 09:59:18 -0400 (0:00:00.344) 0:03:12.218 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Tuesday 06 August 2024 09:59:19 -0400 (0:00:00.875) 0:03:13.094 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Tuesday 06 August 2024 09:59:19 -0400 (0:00:00.084) 0:03:13.179 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Tuesday 06 August 2024 09:59:19 -0400 (0:00:00.122) 0:03:13.302 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Tuesday 06 August 2024 09:59:19 -0400 (0:00:00.064) 0:03:13.366 ******** skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Tuesday 06 August 2024 09:59:19 -0400 (0:00:00.072) 0:03:13.439 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Tuesday 06 August 2024 09:59:19 -0400 (0:00:00.061) 0:03:13.500 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Tuesday 06 August 2024 09:59:19 -0400 (0:00:00.058) 0:03:13.559 ******** 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" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Tuesday 06 August 2024 09:59:20 -0400 (0:00:00.547) 0:03:14.107 ******** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 09:43:06 EDT", "ActiveEnterTimestampMonotonic": "18449931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network.target systemd-journald.socket systemd-sysctl.service dbus.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 09:43:04 EDT", "AssertTimestampMonotonic": "17161376", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 09:43:04 EDT", "ConditionTimestampMonotonic": "17161374", "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": "851", "ExecMainStartTimestamp": "Tue 2024-08-06 09:43:04 EDT", "ExecMainStartTimestampMonotonic": "17162038", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 09:43:04 EDT", "InactiveExitTimestampMonotonic": "17162082", "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": "851", "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 dbus.service polkit.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 09:43:06 EDT", "WatchdogTimestampMonotonic": "18449888", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Tuesday 06 August 2024 09:59:20 -0400 (0:00:00.439) 0:03:14.546 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.087095", "end": "2024-08-06 09:59:20.963324", "rc": 0, "start": "2024-08-06 09:59:20.876229" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Tuesday 06 August 2024 09:59:21 -0400 (0:00:00.415) 0:03:14.962 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Tuesday 06 August 2024 09:59:21 -0400 (0:00:00.062) 0:03:15.025 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Tuesday 06 August 2024 09:59:21 -0400 (0:00:00.063) 0:03:15.088 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Tuesday 06 August 2024 09:59:21 -0400 (0:00:00.060) 0:03:15.149 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Tuesday 06 August 2024 09:59:21 -0400 (0:00:00.350) 0:03:15.500 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Tuesday 06 August 2024 09:59:21 -0400 (0:00:00.059) 0:03:15.559 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Tuesday 06 August 2024 09:59:22 -0400 (0:00:00.541) 0:03:16.101 ******** included: /tmp/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Tuesday 06 August 2024 09:59:22 -0400 (0:00:00.113) 0:03:16.214 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 09:58:59 EDT", "ActiveEnterTimestampMonotonic": "972298741", "ActiveExitTimestamp": "Tue 2024-08-06 09:58:58 EDT", "ActiveExitTimestampMonotonic": "971285123", "ActiveState": "active", "After": "system.slice basic.target systemd-journald.socket network.target -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 09:58:59 EDT", "AssertTimestampMonotonic": "972297786", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 09:58:59 EDT", "ConditionTimestampMonotonic": "972297785", "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": "15832", "ExecMainStartTimestamp": "Tue 2024-08-06 09:58:59 EDT", "ExecMainStartTimestampMonotonic": "972298683", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 09:58:59 EDT] ; stop_time=[n/a] ; pid=15832 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 09:58:59 EDT", "InactiveEnterTimestampMonotonic": "972296793", "InactiveExitTimestamp": "Tue 2024-08-06 09:58:59 EDT", "InactiveExitTimestampMonotonic": "972298741", "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": "15832", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 09:58:59 EDT", "WatchdogTimestampMonotonic": "972298722", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Tuesday 06 August 2024 09:59:22 -0400 (0:00:00.420) 0:03:16.635 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003134", "end": "2024-08-06 09:59:22.974744", "failed_when_result": false, "rc": 1, "start": "2024-08-06 09:59:22.971610" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Tuesday 06 August 2024 09:59:23 -0400 (0:00:00.331) 0:03:16.967 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003162", "end": "2024-08-06 09:59:23.301420", "failed_when_result": false, "rc": 1, "start": "2024-08-06 09:59:23.298258" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Tuesday 06 August 2024 09:59:23 -0400 (0:00:00.330) 0:03:17.297 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Tuesday 06 August 2024 09:59:23 -0400 (0:00:00.076) 0:03:17.374 ******** 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": 8178, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Tuesday 06 August 2024 09:59:24 -0400 (0:00:01.349) 0:03:18.723 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Tuesday 06 August 2024 09:59:25 -0400 (0:00:00.428) 0:03:19.152 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Tuesday 06 August 2024 09:59:25 -0400 (0:00:00.067) 0:03:19.220 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Tuesday 06 August 2024 09:59:26 -0400 (0:00:01.204) 0:03:20.425 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Tuesday 06 August 2024 09:59:26 -0400 (0:00:00.071) 0:03:20.496 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Tuesday 06 August 2024 09:59:26 -0400 (0:00:00.061) 0:03:20.558 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 09:59:27 -0400 (0:00:00.428) 0:03:20.987 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 09:59:27 -0400 (0:00:00.060) 0:03:21.048 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 09:59:27 -0400 (0:00:00.065) 0:03:21.113 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 09:58:59 EDT", "ActiveEnterTimestampMonotonic": "972298741", "ActiveExitTimestamp": "Tue 2024-08-06 09:58:58 EDT", "ActiveExitTimestampMonotonic": "971285123", "ActiveState": "active", "After": "system.slice basic.target systemd-journald.socket network.target -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 09:58:59 EDT", "AssertTimestampMonotonic": "972297786", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 09:58:59 EDT", "ConditionTimestampMonotonic": "972297785", "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": "15832", "ExecMainStartTimestamp": "Tue 2024-08-06 09:58:59 EDT", "ExecMainStartTimestampMonotonic": "972298683", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 09:58:59 EDT] ; stop_time=[n/a] ; pid=15832 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 09:58:59 EDT", "InactiveEnterTimestampMonotonic": "972296793", "InactiveExitTimestamp": "Tue 2024-08-06 09:58:59 EDT", "InactiveExitTimestampMonotonic": "972298741", "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": "15832", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 09:58:59 EDT", "WatchdogTimestampMonotonic": "972298722", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 09:59:27 -0400 (0:00:00.512) 0:03:21.626 ******** 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": 8178, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 09:59:29 -0400 (0:00:01.347) 0:03:22.974 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 09:59:29 -0400 (0:00:00.062) 0:03:23.036 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 09:59:29 -0400 (0:00:00.064) 0:03:23.100 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_content.yml for managed_node1 included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_content.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Input script content] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_content.yml:4 Tuesday 06 August 2024 09:59:30 -0400 (0:00:00.870) 0:03:23.971 ******** 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 : Print results and clean up after inputting script content] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_content.yml:19 Tuesday 06 August 2024 09:59:30 -0400 (0:00:00.883) 0:03:24.854 ******** ok: [managed_node1] => (item=[u'Creating the ExampleDB2 database', u'The ExampleDB2 database created successfully', u"Changed database context to 'ExampleDB2'.", u'Adding the Inventory table to the ExampleDB2 database', u'', u'(1 rows affected)', u'', u'(1 rows affected)', u'', u'(1 rows affected)', u'', u'(1 rows affected)', u'The Inventory table created successfully']) => { "__mssql_sqlcmd_loop": [ "Creating the ExampleDB2 database", "The ExampleDB2 database created successfully", "Changed database context to 'ExampleDB2'.", "Adding the Inventory table to the ExampleDB2 database", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)", "", "(1 rows affected)", "The Inventory table created successfully" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [fedora.linux_system_roles.mssql : Input script content] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_content.yml:4 Tuesday 06 August 2024 09:59:31 -0400 (0:00:00.086) 0:03:24.940 ******** 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 : Print results and clean up after inputting script content] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_content.yml:19 Tuesday 06 August 2024 09:59:31 -0400 (0:00:00.392) 0:03:25.333 ******** ok: [managed_node1] => (item=[u'The ExampleDB2 database already exists, skipping', u"Changed database context to 'ExampleDB2'.", u'The Inventory table already exists, skipping']) => { "__mssql_sqlcmd_loop": [ "The ExampleDB2 database already exists, skipping", "Changed database context to 'ExampleDB2'.", "The Inventory table already exists, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [fedora.linux_system_roles.mssql : Check if the set edition matches the existing edition] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Tuesday 06 August 2024 09:59:31 -0400 (0:00:00.084) 0:03:25.418 ******** 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.004911", "end": "2024-08-06 09:59:31.764231", "rc": 0, "start": "2024-08-06 09:59:31.759320" } STDOUT: true TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is stopped] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Tuesday 06 August 2024 09:59:31 -0400 (0:00:00.343) 0:03:25.761 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Tuesday 06 August 2024 09:59:31 -0400 (0:00:00.066) 0:03:25.828 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Tuesday 06 August 2024 09:59:33 -0400 (0:00:01.180) 0:03:27.009 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Tuesday 06 August 2024 09:59:33 -0400 (0:00:00.068) 0:03:27.077 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Tuesday 06 August 2024 09:59:33 -0400 (0:00:00.059) 0:03:27.137 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Tuesday 06 August 2024 09:59:33 -0400 (0:00:00.061) 0:03:27.199 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Tuesday 06 August 2024 09:59:33 -0400 (0:00:00.060) 0:03:27.259 ******** included: /tmp/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 09:59:33 -0400 (0:00:00.169) 0:03:27.428 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003186", "end": "2024-08-06 09:59:33.769986", "failed_when_result": false, "rc": 1, "start": "2024-08-06 09:59:33.766800" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 09:59:33 -0400 (0:00:00.340) 0:03:27.768 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.119373", "end": "2024-08-06 09:59:34.225032", "failed_when_result": false, "rc": 0, "start": "2024-08-06 09:59:34.105659" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 09:59:34 -0400 (0:00:00.464) 0:03:28.233 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Tuesday 06 August 2024 09:59:34 -0400 (0:00:00.061) 0:03:28.295 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Tuesday 06 August 2024 09:59:34 -0400 (0:00:00.059) 0:03:28.354 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Tuesday 06 August 2024 09:59:34 -0400 (0:00:00.062) 0:03:28.417 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Tuesday 06 August 2024 09:59:34 -0400 (0:00:00.061) 0:03:28.478 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Tuesday 06 August 2024 09:59:34 -0400 (0:00:00.058) 0:03:28.537 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Tuesday 06 August 2024 09:59:34 -0400 (0:00:00.060) 0:03:28.597 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Tuesday 06 August 2024 09:59:34 -0400 (0:00:00.059) 0:03:28.656 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Tuesday 06 August 2024 09:59:34 -0400 (0:00:00.060) 0:03:28.717 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Tuesday 06 August 2024 09:59:34 -0400 (0:00:00.058) 0:03:28.776 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Tuesday 06 August 2024 09:59:34 -0400 (0:00:00.060) 0:03:28.836 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Tuesday 06 August 2024 09:59:34 -0400 (0:00:00.061) 0:03:28.897 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Tuesday 06 August 2024 09:59:35 -0400 (0:00:00.059) 0:03:28.957 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Tuesday 06 August 2024 09:59:35 -0400 (0:00:00.136) 0:03:29.093 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Tuesday 06 August 2024 09:59:35 -0400 (0:00:00.062) 0:03:29.155 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Tuesday 06 August 2024 09:59:35 -0400 (0:00:00.060) 0:03:29.216 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Tuesday 06 August 2024 09:59:35 -0400 (0:00:00.060) 0:03:29.277 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Tuesday 06 August 2024 09:59:35 -0400 (0:00:00.058) 0:03:29.336 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Tuesday 06 August 2024 09:59:35 -0400 (0:00:00.061) 0:03:29.398 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Tuesday 06 August 2024 09:59:35 -0400 (0:00:00.058) 0:03:29.456 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Tuesday 06 August 2024 09:59:35 -0400 (0:00:00.061) 0:03:29.518 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Tuesday 06 August 2024 09:59:35 -0400 (0:00:00.061) 0:03:29.580 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Tuesday 06 August 2024 09:59:35 -0400 (0:00:00.063) 0:03:29.644 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Tuesday 06 August 2024 09:59:35 -0400 (0:00:00.062) 0:03:29.706 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Tuesday 06 August 2024 09:59:35 -0400 (0:00:00.060) 0:03:29.766 ******** 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 : Get SPNs for the principal] ************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Tuesday 06 August 2024 09:59:35 -0400 (0:00:00.062) 0:03:29.829 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Tuesday 06 August 2024 09:59:35 -0400 (0:00:00.059) 0:03:29.889 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Tuesday 06 August 2024 09:59:36 -0400 (0:00:00.059) 0:03:29.948 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Tuesday 06 August 2024 09:59:36 -0400 (0:00:00.060) 0:03:30.009 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Tuesday 06 August 2024 09:59:36 -0400 (0:00:00.059) 0:03:30.068 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Tuesday 06 August 2024 09:59:36 -0400 (0:00:00.061) 0:03:30.129 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Tuesday 06 August 2024 09:59:36 -0400 (0:00:00.059) 0:03:30.188 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure correct permissions and ownership on the keytab] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Tuesday 06 August 2024 09:59:36 -0400 (0:00:00.127) 0:03:30.315 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Tuesday 06 August 2024 09:59:36 -0400 (0:00:00.062) 0:03:30.378 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Tuesday 06 August 2024 09:59:36 -0400 (0:00:00.060) 0:03:30.438 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Tuesday 06 August 2024 09:59:36 -0400 (0:00:00.060) 0:03:30.499 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Tuesday 06 August 2024 09:59:36 -0400 (0:00:00.059) 0:03:30.558 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Tuesday 06 August 2024 09:59:36 -0400 (0:00:00.061) 0:03:30.620 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Tuesday 06 August 2024 09:59:36 -0400 (0:00:00.059) 0:03:30.680 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Tuesday 06 August 2024 09:59:36 -0400 (0:00:00.064) 0:03:30.744 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Tuesday 06 August 2024 09:59:36 -0400 (0:00:00.059) 0:03:30.803 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Tuesday 06 August 2024 09:59:36 -0400 (0:00:00.060) 0:03:30.863 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Tuesday 06 August 2024 09:59:37 -0400 (0:00:00.059) 0:03:30.923 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Tuesday 06 August 2024 09:59:37 -0400 (0:00:00.059) 0:03:30.982 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Tuesday 06 August 2024 09:59:37 -0400 (0:00:00.072) 0:03:31.055 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Tuesday 06 August 2024 09:59:37 -0400 (0:00:00.059) 0:03:31.115 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Tuesday 06 August 2024 09:59:37 -0400 (0:00:00.061) 0:03:31.176 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Tuesday 06 August 2024 09:59:37 -0400 (0:00:00.075) 0:03:31.251 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1180 Tuesday 06 August 2024 09:59:37 -0400 (0:00:00.058) 0:03:31.310 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1205 Tuesday 06 August 2024 09:59:37 -0400 (0:00:00.060) 0:03:31.370 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1214 Tuesday 06 August 2024 09:59:37 -0400 (0:00:00.058) 0:03:31.428 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Tuesday 06 August 2024 09:59:37 -0400 (0:00:00.126) 0:03:31.555 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Tuesday 06 August 2024 09:59:37 -0400 (0:00:00.062) 0:03:31.617 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Tuesday 06 August 2024 09:59:37 -0400 (0:00:00.061) 0:03:31.679 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Tuesday 06 August 2024 09:59:37 -0400 (0:00:00.063) 0:03:31.742 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1263 Tuesday 06 August 2024 09:59:37 -0400 (0:00:00.059) 0:03:31.802 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1270 Tuesday 06 August 2024 09:59:37 -0400 (0:00:00.061) 0:03:31.863 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1278 Tuesday 06 August 2024 09:59:38 -0400 (0:00:00.059) 0:03:31.923 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Tuesday 06 August 2024 09:59:38 -0400 (0:00:00.060) 0:03:31.984 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1297 Tuesday 06 August 2024 09:59:38 -0400 (0:00:00.074) 0:03:32.058 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1306 Tuesday 06 August 2024 09:59:38 -0400 (0:00:00.061) 0:03:32.119 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1313 Tuesday 06 August 2024 09:59:38 -0400 (0:00:00.060) 0:03:32.180 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Tuesday 06 August 2024 09:59:38 -0400 (0:00:00.058) 0:03:32.239 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1327 Tuesday 06 August 2024 09:59:38 -0400 (0:00:00.062) 0:03:32.301 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1340 Tuesday 06 August 2024 09:59:38 -0400 (0:00:00.068) 0:03:32.369 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1352 Tuesday 06 August 2024 09:59:38 -0400 (0:00:00.059) 0:03:32.429 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Tuesday 06 August 2024 09:59:38 -0400 (0:00:00.059) 0:03:32.489 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Tuesday 06 August 2024 09:59:38 -0400 (0:00:00.059) 0:03:32.549 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1372 Tuesday 06 August 2024 09:59:38 -0400 (0:00:00.060) 0:03:32.610 ******** ok: [managed_node1] => { "changed": false } META: ran handlers TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1385 Tuesday 06 August 2024 09:59:39 -0400 (0:00:00.543) 0:03:33.153 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1392 Tuesday 06 August 2024 09:59:39 -0400 (0:00:00.062) 0:03:33.215 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert the latest script invocation resulted in no changes] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_input_sql_file.yml:72 Tuesday 06 August 2024 09:59:39 -0400 (0:00:00.059) 0:03:33.274 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Set up MSSQL and input sql content with post_input] ********************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_input_sql_file.yml:78 Tuesday 06 August 2024 09:59:39 -0400 (0:00:00.064) 0:03:33.339 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Tuesday 06 August 2024 09:59:40 -0400 (0:00:00.845) 0:03:34.185 ******** included: /tmp/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Tuesday 06 August 2024 09:59:40 -0400 (0:00:00.182) 0:03:34.368 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Tuesday 06 August 2024 09:59:40 -0400 (0:00:00.085) 0:03:34.453 ******** 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/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Tuesday 06 August 2024 09:59:40 -0400 (0:00:00.097) 0:03:34.551 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Tuesday 06 August 2024 09:59:40 -0400 (0:00:00.059) 0:03:34.610 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Tuesday 06 August 2024 09:59:40 -0400 (0:00:00.061) 0:03:34.672 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Tuesday 06 August 2024 09:59:40 -0400 (0:00:00.058) 0:03:34.730 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Tuesday 06 August 2024 09:59:40 -0400 (0:00:00.060) 0:03:34.790 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Tuesday 06 August 2024 09:59:40 -0400 (0:00:00.061) 0:03:34.852 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Tuesday 06 August 2024 09:59:41 -0400 (0:00:00.059) 0:03:34.911 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Tuesday 06 August 2024 09:59:41 -0400 (0:00:00.061) 0:03:34.973 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Tuesday 06 August 2024 09:59:41 -0400 (0:00:00.058) 0:03:35.032 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Tuesday 06 August 2024 09:59:41 -0400 (0:00:00.059) 0:03:35.091 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Tuesday 06 August 2024 09:59:41 -0400 (0:00:00.061) 0:03:35.152 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Tuesday 06 August 2024 09:59:41 -0400 (0:00:00.068) 0:03:35.221 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Tuesday 06 August 2024 09:59:41 -0400 (0:00:00.060) 0:03:35.282 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Tuesday 06 August 2024 09:59:41 -0400 (0:00:00.058) 0:03:35.340 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Tuesday 06 August 2024 09:59:41 -0400 (0:00:00.059) 0:03:35.400 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Tuesday 06 August 2024 09:59:41 -0400 (0:00:00.058) 0:03:35.459 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Tuesday 06 August 2024 09:59:41 -0400 (0:00:00.153) 0:03:35.612 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Tuesday 06 August 2024 09:59:41 -0400 (0:00:00.064) 0:03:35.676 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Tuesday 06 August 2024 09:59:42 -0400 (0:00:01.187) 0:03:36.864 ******** skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Tuesday 06 August 2024 09:59:43 -0400 (0:00:00.167) 0:03:37.031 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Tuesday 06 August 2024 09:59:43 -0400 (0:00:00.060) 0:03:37.091 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Tuesday 06 August 2024 09:59:43 -0400 (0:00:00.067) 0:03:37.159 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Tuesday 06 August 2024 09:59:43 -0400 (0:00:00.113) 0:03:37.273 ******** ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Tuesday 06 August 2024 09:59:43 -0400 (0:00:00.535) 0:03:37.808 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Tuesday 06 August 2024 09:59:43 -0400 (0:00:00.064) 0:03:37.872 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Tuesday 06 August 2024 09:59:44 -0400 (0:00:00.141) 0:03:38.014 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Tuesday 06 August 2024 09:59:44 -0400 (0:00:00.068) 0:03:38.083 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Tuesday 06 August 2024 09:59:44 -0400 (0:00:00.062) 0:03:38.145 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Tuesday 06 August 2024 09:59:44 -0400 (0:00:00.065) 0:03:38.211 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Tuesday 06 August 2024 09:59:44 -0400 (0:00:00.063) 0:03:38.274 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Tuesday 06 August 2024 09:59:44 -0400 (0:00:00.091) 0:03:38.365 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Tuesday 06 August 2024 09:59:44 -0400 (0:00:00.061) 0:03:38.427 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Tuesday 06 August 2024 09:59:45 -0400 (0:00:00.579) 0:03:39.007 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Tuesday 06 August 2024 09:59:45 -0400 (0:00:00.548) 0:03:39.555 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Tuesday 06 August 2024 09:59:45 -0400 (0:00:00.061) 0:03:39.617 ******** 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.005187", "end": "2024-08-06 09:59:45.953255", "rc": 0, "start": "2024-08-06 09:59:45.948068" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Tuesday 06 August 2024 09:59:46 -0400 (0:00:00.336) 0:03:39.954 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Tuesday 06 August 2024 09:59:47 -0400 (0:00:00.976) 0:03:40.930 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Tuesday 06 August 2024 09:59:47 -0400 (0:00:00.088) 0:03:41.018 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Tuesday 06 August 2024 09:59:47 -0400 (0:00:00.063) 0:03:41.081 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Tuesday 06 August 2024 09:59:47 -0400 (0:00:00.060) 0:03:41.141 ******** skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Tuesday 06 August 2024 09:59:47 -0400 (0:00:00.085) 0:03:41.226 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Tuesday 06 August 2024 09:59:47 -0400 (0:00:00.062) 0:03:41.289 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Tuesday 06 August 2024 09:59:47 -0400 (0:00:00.059) 0:03:41.348 ******** 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" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Tuesday 06 August 2024 09:59:47 -0400 (0:00:00.541) 0:03:41.890 ******** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 09:43:06 EDT", "ActiveEnterTimestampMonotonic": "18449931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network.target systemd-journald.socket systemd-sysctl.service dbus.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 09:43:04 EDT", "AssertTimestampMonotonic": "17161376", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 09:43:04 EDT", "ConditionTimestampMonotonic": "17161374", "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": "851", "ExecMainStartTimestamp": "Tue 2024-08-06 09:43:04 EDT", "ExecMainStartTimestampMonotonic": "17162038", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 09:43:04 EDT", "InactiveExitTimestampMonotonic": "17162082", "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": "851", "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 dbus.service polkit.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 09:43:06 EDT", "WatchdogTimestampMonotonic": "18449888", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Tuesday 06 August 2024 09:59:48 -0400 (0:00:00.426) 0:03:42.316 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.083123", "end": "2024-08-06 09:59:48.732808", "rc": 0, "start": "2024-08-06 09:59:48.649685" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Tuesday 06 August 2024 09:59:48 -0400 (0:00:00.414) 0:03:42.731 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Tuesday 06 August 2024 09:59:48 -0400 (0:00:00.062) 0:03:42.793 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Tuesday 06 August 2024 09:59:48 -0400 (0:00:00.063) 0:03:42.857 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Tuesday 06 August 2024 09:59:49 -0400 (0:00:00.061) 0:03:42.918 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Tuesday 06 August 2024 09:59:49 -0400 (0:00:00.363) 0:03:43.282 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Tuesday 06 August 2024 09:59:49 -0400 (0:00:00.064) 0:03:43.346 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Tuesday 06 August 2024 09:59:49 -0400 (0:00:00.549) 0:03:43.896 ******** included: /tmp/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Tuesday 06 August 2024 09:59:50 -0400 (0:00:00.116) 0:03:44.013 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 09:58:59 EDT", "ActiveEnterTimestampMonotonic": "972298741", "ActiveExitTimestamp": "Tue 2024-08-06 09:58:58 EDT", "ActiveExitTimestampMonotonic": "971285123", "ActiveState": "active", "After": "system.slice basic.target systemd-journald.socket network.target -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 09:58:59 EDT", "AssertTimestampMonotonic": "972297786", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 09:58:59 EDT", "ConditionTimestampMonotonic": "972297785", "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": "15832", "ExecMainStartTimestamp": "Tue 2024-08-06 09:58:59 EDT", "ExecMainStartTimestampMonotonic": "972298683", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 09:58:59 EDT] ; stop_time=[n/a] ; pid=15832 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 09:58:59 EDT", "InactiveEnterTimestampMonotonic": "972296793", "InactiveExitTimestamp": "Tue 2024-08-06 09:58:59 EDT", "InactiveExitTimestampMonotonic": "972298741", "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": "15832", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 09:58:59 EDT", "WatchdogTimestampMonotonic": "972298722", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Tuesday 06 August 2024 09:59:50 -0400 (0:00:00.432) 0:03:44.445 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003132", "end": "2024-08-06 09:59:50.781973", "failed_when_result": false, "rc": 1, "start": "2024-08-06 09:59:50.778841" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Tuesday 06 August 2024 09:59:50 -0400 (0:00:00.333) 0:03:44.778 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003108", "end": "2024-08-06 09:59:51.120887", "failed_when_result": false, "rc": 1, "start": "2024-08-06 09:59:51.117779" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Tuesday 06 August 2024 09:59:51 -0400 (0:00:00.340) 0:03:45.119 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Tuesday 06 August 2024 09:59:51 -0400 (0:00:00.077) 0:03:45.197 ******** 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": 8575, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Tuesday 06 August 2024 09:59:52 -0400 (0:00:01.379) 0:03:46.576 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Tuesday 06 August 2024 09:59:53 -0400 (0:00:00.443) 0:03:47.020 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Tuesday 06 August 2024 09:59:53 -0400 (0:00:00.067) 0:03:47.088 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Tuesday 06 August 2024 09:59:54 -0400 (0:00:01.188) 0:03:48.276 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Tuesday 06 August 2024 09:59:54 -0400 (0:00:00.072) 0:03:48.349 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Tuesday 06 August 2024 09:59:54 -0400 (0:00:00.064) 0:03:48.413 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Tuesday 06 August 2024 09:59:54 -0400 (0:00:00.060) 0:03:48.474 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Tuesday 06 August 2024 09:59:54 -0400 (0:00:00.064) 0:03:48.539 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Tuesday 06 August 2024 09:59:54 -0400 (0:00:00.062) 0:03:48.602 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Tuesday 06 August 2024 09:59:54 -0400 (0:00:00.065) 0:03:48.668 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Tuesday 06 August 2024 09:59:54 -0400 (0:00:00.064) 0:03:48.732 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Tuesday 06 August 2024 09:59:54 -0400 (0:00:00.060) 0:03:48.792 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Tuesday 06 August 2024 09:59:55 -0400 (0:00:00.139) 0:03:48.932 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Tuesday 06 August 2024 09:59:55 -0400 (0:00:00.066) 0:03:48.998 ******** included: /tmp/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 09:59:55 -0400 (0:00:00.110) 0:03:49.109 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003123", "end": "2024-08-06 09:59:55.445239", "failed_when_result": false, "rc": 1, "start": "2024-08-06 09:59:55.442116" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 09:59:55 -0400 (0:00:00.340) 0:03:49.449 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.122404", "end": "2024-08-06 09:59:55.921379", "failed_when_result": false, "rc": 0, "start": "2024-08-06 09:59:55.798975" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 09:59:56 -0400 (0:00:00.487) 0:03:49.936 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Tuesday 06 August 2024 09:59:56 -0400 (0:00:00.063) 0:03:50.000 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Tuesday 06 August 2024 09:59:56 -0400 (0:00:00.060) 0:03:50.060 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Tuesday 06 August 2024 09:59:56 -0400 (0:00:00.063) 0:03:50.123 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Tuesday 06 August 2024 09:59:56 -0400 (0:00:00.061) 0:03:50.185 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Tuesday 06 August 2024 09:59:56 -0400 (0:00:00.061) 0:03:50.246 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Tuesday 06 August 2024 09:59:56 -0400 (0:00:00.061) 0:03:50.307 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Tuesday 06 August 2024 09:59:56 -0400 (0:00:00.059) 0:03:50.367 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Tuesday 06 August 2024 09:59:56 -0400 (0:00:00.061) 0:03:50.429 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Tuesday 06 August 2024 09:59:56 -0400 (0:00:00.059) 0:03:50.489 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Tuesday 06 August 2024 09:59:56 -0400 (0:00:00.060) 0:03:50.549 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Tuesday 06 August 2024 09:59:56 -0400 (0:00:00.061) 0:03:50.611 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Tuesday 06 August 2024 09:59:56 -0400 (0:00:00.143) 0:03:50.754 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Tuesday 06 August 2024 09:59:56 -0400 (0:00:00.072) 0:03:50.827 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Tuesday 06 August 2024 09:59:56 -0400 (0:00:00.061) 0:03:50.889 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Tuesday 06 August 2024 09:59:57 -0400 (0:00:00.062) 0:03:50.951 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Tuesday 06 August 2024 09:59:57 -0400 (0:00:00.059) 0:03:51.011 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Tuesday 06 August 2024 09:59:57 -0400 (0:00:00.061) 0:03:51.073 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Tuesday 06 August 2024 09:59:57 -0400 (0:00:00.062) 0:03:51.135 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Tuesday 06 August 2024 09:59:57 -0400 (0:00:00.059) 0:03:51.195 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Tuesday 06 August 2024 09:59:57 -0400 (0:00:00.061) 0:03:51.256 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Tuesday 06 August 2024 09:59:57 -0400 (0:00:00.062) 0:03:51.319 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Tuesday 06 August 2024 09:59:57 -0400 (0:00:00.063) 0:03:51.382 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Tuesday 06 August 2024 09:59:57 -0400 (0:00:00.060) 0:03:51.443 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Tuesday 06 August 2024 09:59:57 -0400 (0:00:00.061) 0:03:51.505 ******** 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 : Get SPNs for the principal] ************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Tuesday 06 August 2024 09:59:57 -0400 (0:00:00.061) 0:03:51.566 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Tuesday 06 August 2024 09:59:57 -0400 (0:00:00.059) 0:03:51.626 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Tuesday 06 August 2024 09:59:57 -0400 (0:00:00.062) 0:03:51.688 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Tuesday 06 August 2024 09:59:57 -0400 (0:00:00.059) 0:03:51.748 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Tuesday 06 August 2024 09:59:57 -0400 (0:00:00.060) 0:03:51.808 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Tuesday 06 August 2024 09:59:57 -0400 (0:00:00.061) 0:03:51.870 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Tuesday 06 August 2024 09:59:58 -0400 (0:00:00.141) 0:03:52.012 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Tuesday 06 August 2024 09:59:58 -0400 (0:00:00.065) 0:03:52.077 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Tuesday 06 August 2024 09:59:58 -0400 (0:00:00.061) 0:03:52.139 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Tuesday 06 August 2024 09:59:58 -0400 (0:00:00.062) 0:03:52.201 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Tuesday 06 August 2024 09:59:58 -0400 (0:00:00.060) 0:03:52.261 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Tuesday 06 August 2024 09:59:58 -0400 (0:00:00.063) 0:03:52.325 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Tuesday 06 August 2024 09:59:58 -0400 (0:00:00.063) 0:03:52.388 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Tuesday 06 August 2024 09:59:58 -0400 (0:00:00.059) 0:03:52.448 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Tuesday 06 August 2024 09:59:58 -0400 (0:00:00.063) 0:03:52.511 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Tuesday 06 August 2024 09:59:58 -0400 (0:00:00.059) 0:03:52.571 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Tuesday 06 August 2024 09:59:58 -0400 (0:00:00.060) 0:03:52.632 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Tuesday 06 August 2024 09:59:58 -0400 (0:00:00.059) 0:03:52.691 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Tuesday 06 August 2024 09:59:58 -0400 (0:00:00.061) 0:03:52.752 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Tuesday 06 August 2024 09:59:58 -0400 (0:00:00.073) 0:03:52.826 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Tuesday 06 August 2024 09:59:58 -0400 (0:00:00.059) 0:03:52.886 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Tuesday 06 August 2024 09:59:59 -0400 (0:00:00.061) 0:03:52.947 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Tuesday 06 August 2024 09:59:59 -0400 (0:00:00.073) 0:03:53.021 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1180 Tuesday 06 August 2024 09:59:59 -0400 (0:00:00.061) 0:03:53.082 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1205 Tuesday 06 August 2024 09:59:59 -0400 (0:00:00.060) 0:03:53.143 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1214 Tuesday 06 August 2024 09:59:59 -0400 (0:00:00.142) 0:03:53.286 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Tuesday 06 August 2024 09:59:59 -0400 (0:00:00.065) 0:03:53.352 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Tuesday 06 August 2024 09:59:59 -0400 (0:00:00.061) 0:03:53.414 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Tuesday 06 August 2024 09:59:59 -0400 (0:00:00.062) 0:03:53.476 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Tuesday 06 August 2024 09:59:59 -0400 (0:00:00.061) 0:03:53.537 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1263 Tuesday 06 August 2024 09:59:59 -0400 (0:00:00.061) 0:03:53.599 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1270 Tuesday 06 August 2024 09:59:59 -0400 (0:00:00.062) 0:03:53.661 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1278 Tuesday 06 August 2024 09:59:59 -0400 (0:00:00.059) 0:03:53.720 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Tuesday 06 August 2024 09:59:59 -0400 (0:00:00.062) 0:03:53.783 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1297 Tuesday 06 August 2024 09:59:59 -0400 (0:00:00.075) 0:03:53.859 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1306 Tuesday 06 August 2024 10:00:00 -0400 (0:00:00.061) 0:03:53.921 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1313 Tuesday 06 August 2024 10:00:00 -0400 (0:00:00.061) 0:03:53.982 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Tuesday 06 August 2024 10:00:00 -0400 (0:00:00.063) 0:03:54.045 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1327 Tuesday 06 August 2024 10:00:00 -0400 (0:00:00.064) 0:03:54.110 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1340 Tuesday 06 August 2024 10:00:00 -0400 (0:00:00.069) 0:03:54.180 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [Run ha_cluster to configure pacemaker] *********************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1352 Tuesday 06 August 2024 10:00:00 -0400 (0:00:00.062) 0:03:54.242 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Tuesday 06 August 2024 10:00:00 -0400 (0:00:00.060) 0:03:54.302 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Tuesday 06 August 2024 10:00:00 -0400 (0:00:00.063) 0:03:54.366 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1372 Tuesday 06 August 2024 10:00:00 -0400 (0:00:00.062) 0:03:54.428 ******** ok: [managed_node1] => { "changed": false } META: ran handlers TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1385 Tuesday 06 August 2024 10:00:01 -0400 (0:00:00.618) 0:03:55.046 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1392 Tuesday 06 August 2024 10:00:01 -0400 (0:00:00.064) 0:03:55.110 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 10:00:01 -0400 (0:00:00.115) 0:03:55.225 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 10:00:01 -0400 (0:00:00.061) 0:03:55.287 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 10:00:01 -0400 (0:00:00.068) 0:03:55.355 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 09:58:59 EDT", "ActiveEnterTimestampMonotonic": "972298741", "ActiveExitTimestamp": "Tue 2024-08-06 09:58:58 EDT", "ActiveExitTimestampMonotonic": "971285123", "ActiveState": "active", "After": "system.slice basic.target systemd-journald.socket network.target -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 09:58:59 EDT", "AssertTimestampMonotonic": "972297786", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 09:58:59 EDT", "ConditionTimestampMonotonic": "972297785", "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": "15832", "ExecMainStartTimestamp": "Tue 2024-08-06 09:58:59 EDT", "ExecMainStartTimestampMonotonic": "972298683", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 09:58:59 EDT] ; stop_time=[n/a] ; pid=15832 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 09:58:59 EDT", "InactiveEnterTimestampMonotonic": "972296793", "InactiveExitTimestamp": "Tue 2024-08-06 09:58:59 EDT", "InactiveExitTimestampMonotonic": "972298741", "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": "15832", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 09:58:59 EDT", "WatchdogTimestampMonotonic": "972298722", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 10:00:01 -0400 (0:00:00.552) 0:03:55.908 ******** 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": 8575, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 10:00:03 -0400 (0:00:01.720) 0:03:57.628 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 10:00:03 -0400 (0:00:00.063) 0:03:57.692 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 10:00:03 -0400 (0:00:00.062) 0:03:57.755 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_content.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Input script content] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_content.yml:4 Tuesday 06 August 2024 10:00:04 -0400 (0:00:00.201) 0:03:57.957 ******** 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 : Print results and clean up after inputting script content] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_content.yml:19 Tuesday 06 August 2024 10:00:04 -0400 (0:00:00.520) 0:03:58.478 ******** ok: [managed_node1] => (item=[u'The MyLogin login already exists, skipping', u'The MyUser user already exists, skipping', u'The ExampleDB database already exists, skipping', u"Changed database context to 'ExampleDB'.", u'The Inventory table already exists, skipping']) => { "__mssql_sqlcmd_loop": [ "The MyLogin login already exists, skipping", "The MyUser user already exists, skipping", "The ExampleDB database already exists, skipping", "Changed database context to 'ExampleDB'.", "The Inventory table already exists, skipping" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [Assert the latest script invocation resulted in no changes] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_input_sql_file.yml:86 Tuesday 06 August 2024 10:00:04 -0400 (0:00:00.086) 0:03:58.564 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Input the sql file without the mssql_password variable] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_input_sql_file.yml:94 Tuesday 06 August 2024 10:00:04 -0400 (0:00:00.067) 0:03:58.632 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Tuesday 06 August 2024 10:00:04 -0400 (0:00:00.260) 0:03:58.892 ******** included: /tmp/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Tuesday 06 August 2024 10:00:05 -0400 (0:00:00.104) 0:03:58.996 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Tuesday 06 August 2024 10:00:05 -0400 (0:00:00.083) 0:03:59.080 ******** 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/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Tuesday 06 August 2024 10:00:05 -0400 (0:00:00.097) 0:03:59.178 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Tuesday 06 August 2024 10:00:05 -0400 (0:00:00.059) 0:03:59.237 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Tuesday 06 August 2024 10:00:05 -0400 (0:00:00.060) 0:03:59.298 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Tuesday 06 August 2024 10:00:05 -0400 (0:00:00.058) 0:03:59.356 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Tuesday 06 August 2024 10:00:05 -0400 (0:00:00.147) 0:03:59.504 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Tuesday 06 August 2024 10:00:05 -0400 (0:00:00.063) 0:03:59.568 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Tuesday 06 August 2024 10:00:05 -0400 (0:00:00.063) 0:03:59.631 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Tuesday 06 August 2024 10:00:05 -0400 (0:00:00.062) 0:03:59.694 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Tuesday 06 August 2024 10:00:05 -0400 (0:00:00.060) 0:03:59.754 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Tuesday 06 August 2024 10:00:05 -0400 (0:00:00.061) 0:03:59.816 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Tuesday 06 August 2024 10:00:05 -0400 (0:00:00.062) 0:03:59.879 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Tuesday 06 August 2024 10:00:06 -0400 (0:00:00.071) 0:03:59.950 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Tuesday 06 August 2024 10:00:06 -0400 (0:00:00.060) 0:04:00.010 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Tuesday 06 August 2024 10:00:06 -0400 (0:00:00.063) 0:04:00.073 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Tuesday 06 August 2024 10:00:06 -0400 (0:00:00.062) 0:04:00.135 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Tuesday 06 August 2024 10:00:06 -0400 (0:00:00.059) 0:04:00.195 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Tuesday 06 August 2024 10:00:06 -0400 (0:00:00.195) 0:04:00.391 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Tuesday 06 August 2024 10:00:06 -0400 (0:00:00.061) 0:04:00.453 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Tuesday 06 August 2024 10:00:07 -0400 (0:00:01.367) 0:04:01.821 ******** skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Tuesday 06 August 2024 10:00:08 -0400 (0:00:00.169) 0:04:01.990 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Tuesday 06 August 2024 10:00:08 -0400 (0:00:00.062) 0:04:02.053 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Tuesday 06 August 2024 10:00:08 -0400 (0:00:00.069) 0:04:02.122 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Tuesday 06 August 2024 10:00:08 -0400 (0:00:00.115) 0:04:02.237 ******** ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Tuesday 06 August 2024 10:00:08 -0400 (0:00:00.631) 0:04:02.868 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Tuesday 06 August 2024 10:00:09 -0400 (0:00:00.065) 0:04:02.934 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Tuesday 06 August 2024 10:00:09 -0400 (0:00:00.062) 0:04:02.997 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Tuesday 06 August 2024 10:00:09 -0400 (0:00:00.064) 0:04:03.062 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Tuesday 06 August 2024 10:00:09 -0400 (0:00:00.063) 0:04:03.125 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Tuesday 06 August 2024 10:00:09 -0400 (0:00:00.062) 0:04:03.188 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Tuesday 06 August 2024 10:00:09 -0400 (0:00:00.065) 0:04:03.253 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Tuesday 06 August 2024 10:00:09 -0400 (0:00:00.084) 0:04:03.338 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Tuesday 06 August 2024 10:00:09 -0400 (0:00:00.137) 0:04:03.475 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Tuesday 06 August 2024 10:00:10 -0400 (0:00:00.593) 0:04:04.068 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Tuesday 06 August 2024 10:00:10 -0400 (0:00:00.545) 0:04:04.614 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Tuesday 06 August 2024 10:00:10 -0400 (0:00:00.063) 0:04:04.677 ******** 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.005301", "end": "2024-08-06 10:00:11.019473", "rc": 0, "start": "2024-08-06 10:00:11.014172" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Tuesday 06 August 2024 10:00:11 -0400 (0:00:00.374) 0:04:05.052 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Tuesday 06 August 2024 10:00:12 -0400 (0:00:00.948) 0:04:06.000 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Tuesday 06 August 2024 10:00:12 -0400 (0:00:00.087) 0:04:06.088 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Tuesday 06 August 2024 10:00:12 -0400 (0:00:00.060) 0:04:06.148 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Tuesday 06 August 2024 10:00:12 -0400 (0:00:00.061) 0:04:06.210 ******** skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Tuesday 06 August 2024 10:00:12 -0400 (0:00:00.074) 0:04:06.285 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Tuesday 06 August 2024 10:00:12 -0400 (0:00:00.061) 0:04:06.346 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Tuesday 06 August 2024 10:00:12 -0400 (0:00:00.136) 0:04:06.482 ******** 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" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Tuesday 06 August 2024 10:00:13 -0400 (0:00:00.544) 0:04:07.027 ******** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 09:43:06 EDT", "ActiveEnterTimestampMonotonic": "18449931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network.target systemd-journald.socket systemd-sysctl.service dbus.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 09:43:04 EDT", "AssertTimestampMonotonic": "17161376", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 09:43:04 EDT", "ConditionTimestampMonotonic": "17161374", "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": "851", "ExecMainStartTimestamp": "Tue 2024-08-06 09:43:04 EDT", "ExecMainStartTimestampMonotonic": "17162038", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 09:43:04 EDT", "InactiveExitTimestampMonotonic": "17162082", "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": "851", "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 dbus.service polkit.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 09:43:06 EDT", "WatchdogTimestampMonotonic": "18449888", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Tuesday 06 August 2024 10:00:13 -0400 (0:00:00.434) 0:04:07.461 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.084352", "end": "2024-08-06 10:00:13.878938", "rc": 0, "start": "2024-08-06 10:00:13.794586" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Tuesday 06 August 2024 10:00:13 -0400 (0:00:00.429) 0:04:07.891 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Tuesday 06 August 2024 10:00:14 -0400 (0:00:00.065) 0:04:07.956 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Tuesday 06 August 2024 10:00:14 -0400 (0:00:00.062) 0:04:08.019 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Tuesday 06 August 2024 10:00:14 -0400 (0:00:00.064) 0:04:08.083 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Tuesday 06 August 2024 10:00:14 -0400 (0:00:00.334) 0:04:08.418 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Tuesday 06 August 2024 10:00:14 -0400 (0:00:00.063) 0:04:08.481 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Tuesday 06 August 2024 10:00:15 -0400 (0:00:00.546) 0:04:09.028 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Tuesday 06 August 2024 10:00:15 -0400 (0:00:00.064) 0:04:09.093 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Tuesday 06 August 2024 10:00:15 -0400 (0:00:00.062) 0:04:09.155 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Tuesday 06 August 2024 10:00:15 -0400 (0:00:00.138) 0:04:09.293 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Tuesday 06 August 2024 10:00:15 -0400 (0:00:00.067) 0:04:09.361 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Tuesday 06 August 2024 10:00:15 -0400 (0:00:00.065) 0:04:09.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 : Pre-input SQL script files to SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Tuesday 06 August 2024 10:00:15 -0400 (0:00:00.067) 0:04:09.493 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 10:00:15 -0400 (0:00:00.111) 0:04:09.605 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 10:00:15 -0400 (0:00:00.060) 0:04:09.665 ******** fatal: [managed_node1]: FAILED! => { "assertion": "mssql_password is not none", "changed": false, "evaluated_to": false } MSG: You must define the mssql_password variable because MSSQL requires the sa user to authenticate to input SQL files. TASK [Assert that the role failed with mssql_password not defined] ************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_input_sql_file.yml:105 Tuesday 06 August 2024 10:00:15 -0400 (0:00:00.066) 0:04:09.732 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Input the sql file without the mssql_password variable] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_input_sql_file.yml:113 Tuesday 06 August 2024 10:00:15 -0400 (0:00:00.064) 0:04:09.797 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Tuesday 06 August 2024 10:00:16 -0400 (0:00:00.257) 0:04:10.054 ******** included: /tmp/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Tuesday 06 August 2024 10:00:16 -0400 (0:00:00.101) 0:04:10.156 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Tuesday 06 August 2024 10:00:16 -0400 (0:00:00.079) 0:04:10.236 ******** 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/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Tuesday 06 August 2024 10:00:16 -0400 (0:00:00.095) 0:04:10.331 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Tuesday 06 August 2024 10:00:16 -0400 (0:00:00.143) 0:04:10.475 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Tuesday 06 August 2024 10:00:16 -0400 (0:00:00.064) 0:04:10.539 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Tuesday 06 August 2024 10:00:16 -0400 (0:00:00.063) 0:04:10.602 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Tuesday 06 August 2024 10:00:16 -0400 (0:00:00.062) 0:04:10.665 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Tuesday 06 August 2024 10:00:16 -0400 (0:00:00.060) 0:04:10.726 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Tuesday 06 August 2024 10:00:16 -0400 (0:00:00.062) 0:04:10.788 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Tuesday 06 August 2024 10:00:16 -0400 (0:00:00.060) 0:04:10.849 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Tuesday 06 August 2024 10:00:17 -0400 (0:00:00.061) 0:04:10.910 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Tuesday 06 August 2024 10:00:17 -0400 (0:00:00.061) 0:04:10.971 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Tuesday 06 August 2024 10:00:17 -0400 (0:00:00.065) 0:04:11.037 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Tuesday 06 August 2024 10:00:17 -0400 (0:00:00.070) 0:04:11.107 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Tuesday 06 August 2024 10:00:17 -0400 (0:00:00.059) 0:04:11.167 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Tuesday 06 August 2024 10:00:17 -0400 (0:00:00.061) 0:04:11.228 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Tuesday 06 August 2024 10:00:17 -0400 (0:00:00.059) 0:04:11.288 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Tuesday 06 August 2024 10:00:17 -0400 (0:00:00.060) 0:04:11.349 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Tuesday 06 August 2024 10:00:17 -0400 (0:00:00.063) 0:04:11.412 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Tuesday 06 August 2024 10:00:17 -0400 (0:00:00.059) 0:04:11.472 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Tuesday 06 August 2024 10:00:18 -0400 (0:00:01.267) 0:04:12.739 ******** skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Tuesday 06 August 2024 10:00:18 -0400 (0:00:00.169) 0:04:12.908 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Tuesday 06 August 2024 10:00:19 -0400 (0:00:00.064) 0:04:12.973 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Tuesday 06 August 2024 10:00:19 -0400 (0:00:00.067) 0:04:13.040 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Tuesday 06 August 2024 10:00:19 -0400 (0:00:00.122) 0:04:13.163 ******** ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Tuesday 06 August 2024 10:00:19 -0400 (0:00:00.498) 0:04:13.662 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Tuesday 06 August 2024 10:00:19 -0400 (0:00:00.064) 0:04:13.726 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Tuesday 06 August 2024 10:00:19 -0400 (0:00:00.065) 0:04:13.791 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Tuesday 06 August 2024 10:00:19 -0400 (0:00:00.063) 0:04:13.855 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Tuesday 06 August 2024 10:00:20 -0400 (0:00:00.064) 0:04:13.919 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Tuesday 06 August 2024 10:00:20 -0400 (0:00:00.063) 0:04:13.983 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Tuesday 06 August 2024 10:00:20 -0400 (0:00:00.142) 0:04:14.126 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Tuesday 06 August 2024 10:00:20 -0400 (0:00:00.093) 0:04:14.219 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Tuesday 06 August 2024 10:00:20 -0400 (0:00:00.062) 0:04:14.282 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Tuesday 06 August 2024 10:00:20 -0400 (0:00:00.594) 0:04:14.876 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Tuesday 06 August 2024 10:00:21 -0400 (0:00:00.550) 0:04:15.426 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Tuesday 06 August 2024 10:00:21 -0400 (0:00:00.061) 0:04:15.488 ******** 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.005283", "end": "2024-08-06 10:00:21.861366", "rc": 0, "start": "2024-08-06 10:00:21.856083" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Tuesday 06 August 2024 10:00:21 -0400 (0:00:00.373) 0:04:15.861 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Tuesday 06 August 2024 10:00:22 -0400 (0:00:00.912) 0:04:16.774 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Tuesday 06 August 2024 10:00:22 -0400 (0:00:00.088) 0:04:16.863 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Tuesday 06 August 2024 10:00:23 -0400 (0:00:00.138) 0:04:17.001 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Tuesday 06 August 2024 10:00:23 -0400 (0:00:00.064) 0:04:17.065 ******** skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Tuesday 06 August 2024 10:00:23 -0400 (0:00:00.078) 0:04:17.144 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Tuesday 06 August 2024 10:00:23 -0400 (0:00:00.061) 0:04:17.206 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Tuesday 06 August 2024 10:00:23 -0400 (0:00:00.063) 0:04:17.270 ******** 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" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Tuesday 06 August 2024 10:00:23 -0400 (0:00:00.552) 0:04:17.823 ******** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 09:43:06 EDT", "ActiveEnterTimestampMonotonic": "18449931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network.target systemd-journald.socket systemd-sysctl.service dbus.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 09:43:04 EDT", "AssertTimestampMonotonic": "17161376", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 09:43:04 EDT", "ConditionTimestampMonotonic": "17161374", "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": "851", "ExecMainStartTimestamp": "Tue 2024-08-06 09:43:04 EDT", "ExecMainStartTimestampMonotonic": "17162038", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 09:43:04 EDT", "InactiveExitTimestampMonotonic": "17162082", "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": "851", "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 dbus.service polkit.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 09:43:06 EDT", "WatchdogTimestampMonotonic": "18449888", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Tuesday 06 August 2024 10:00:24 -0400 (0:00:00.440) 0:04:18.264 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.087170", "end": "2024-08-06 10:00:24.692049", "rc": 0, "start": "2024-08-06 10:00:24.604879" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Tuesday 06 August 2024 10:00:24 -0400 (0:00:00.425) 0:04:18.690 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Tuesday 06 August 2024 10:00:24 -0400 (0:00:00.064) 0:04:18.754 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Tuesday 06 August 2024 10:00:24 -0400 (0:00:00.062) 0:04:18.817 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Tuesday 06 August 2024 10:00:24 -0400 (0:00:00.064) 0:04:18.881 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Tuesday 06 August 2024 10:00:25 -0400 (0:00:00.346) 0:04:19.227 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Tuesday 06 August 2024 10:00:25 -0400 (0:00:00.062) 0:04:19.290 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Tuesday 06 August 2024 10:00:25 -0400 (0:00:00.553) 0:04:19.843 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Tuesday 06 August 2024 10:00:26 -0400 (0:00:00.067) 0:04:19.911 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Tuesday 06 August 2024 10:00:26 -0400 (0:00:00.066) 0:04:19.977 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Tuesday 06 August 2024 10:00:26 -0400 (0:00:00.062) 0:04:20.040 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Tuesday 06 August 2024 10:00:26 -0400 (0:00:00.065) 0:04:20.105 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Tuesday 06 August 2024 10:00:26 -0400 (0:00:00.064) 0:04:20.169 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Pre-input SQL script files to SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Tuesday 06 August 2024 10:00:26 -0400 (0:00:00.064) 0:04:20.233 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Tuesday 06 August 2024 10:00:26 -0400 (0:00:00.059) 0:04:20.293 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Tuesday 06 August 2024 10:00:26 -0400 (0:00:00.061) 0:04:20.355 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Tuesday 06 August 2024 10:00:26 -0400 (0:00:00.063) 0:04:20.418 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Tuesday 06 August 2024 10:00:26 -0400 (0:00:00.061) 0:04:20.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 : Change the edition of MSSQL] *********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Tuesday 06 August 2024 10:00:26 -0400 (0:00:00.066) 0:04:20.546 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Tuesday 06 August 2024 10:00:26 -0400 (0:00:00.062) 0:04:20.608 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Tuesday 06 August 2024 10:00:26 -0400 (0:00:00.060) 0:04:20.669 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Tuesday 06 August 2024 10:00:26 -0400 (0:00:00.062) 0:04:20.731 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Tuesday 06 August 2024 10:00:26 -0400 (0:00:00.060) 0:04:20.792 ******** included: /tmp/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:00:26 -0400 (0:00:00.107) 0:04:20.900 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003288", "end": "2024-08-06 10:00:27.240216", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:00:27.236928" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:00:27 -0400 (0:00:00.339) 0:04:21.240 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.123059", "end": "2024-08-06 10:00:27.706777", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:00:27.583718" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:00:27 -0400 (0:00:00.476) 0:04:21.716 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Tuesday 06 August 2024 10:00:27 -0400 (0:00:00.061) 0:04:21.778 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Tuesday 06 August 2024 10:00:27 -0400 (0:00:00.062) 0:04:21.840 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Tuesday 06 August 2024 10:00:27 -0400 (0:00:00.064) 0:04:21.905 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Tuesday 06 August 2024 10:00:28 -0400 (0:00:00.061) 0:04:21.967 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Tuesday 06 August 2024 10:00:28 -0400 (0:00:00.063) 0:04:22.031 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Tuesday 06 August 2024 10:00:28 -0400 (0:00:00.061) 0:04:22.092 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Tuesday 06 August 2024 10:00:28 -0400 (0:00:00.062) 0:04:22.155 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Tuesday 06 August 2024 10:00:28 -0400 (0:00:00.059) 0:04:22.215 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Tuesday 06 August 2024 10:00:28 -0400 (0:00:00.060) 0:04:22.276 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Tuesday 06 August 2024 10:00:28 -0400 (0:00:00.061) 0:04:22.337 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Tuesday 06 August 2024 10:00:28 -0400 (0:00:00.060) 0:04:22.398 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Tuesday 06 August 2024 10:00:28 -0400 (0:00:00.062) 0:04:22.461 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Tuesday 06 August 2024 10:00:28 -0400 (0:00:00.067) 0:04:22.529 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Tuesday 06 August 2024 10:00:28 -0400 (0:00:00.061) 0:04:22.590 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Tuesday 06 August 2024 10:00:28 -0400 (0:00:00.062) 0:04:22.652 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Tuesday 06 August 2024 10:00:28 -0400 (0:00:00.140) 0:04:22.793 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Tuesday 06 August 2024 10:00:28 -0400 (0:00:00.065) 0:04:22.859 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Tuesday 06 August 2024 10:00:29 -0400 (0:00:00.062) 0:04:22.922 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure adutil and krb5-workstation] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Tuesday 06 August 2024 10:00:29 -0400 (0:00:00.063) 0:04:22.985 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Print credential caches to check if AD principal exists] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Tuesday 06 August 2024 10:00:29 -0400 (0:00:00.061) 0:04:23.046 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Tuesday 06 August 2024 10:00:29 -0400 (0:00:00.067) 0:04:23.114 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Obtain Kerberos ticket for {{ __mssql_ad_kinit_user }}] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Tuesday 06 August 2024 10:00:29 -0400 (0:00:00.065) 0:04:23.180 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Check if AD user exists] *************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Tuesday 06 August 2024 10:00:29 -0400 (0:00:00.061) 0:04:23.241 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Tuesday 06 August 2024 10:00:29 -0400 (0:00:00.063) 0:04:23.305 ******** 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 : Get SPNs for the principal] ************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Tuesday 06 August 2024 10:00:29 -0400 (0:00:00.062) 0:04:23.367 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Tuesday 06 August 2024 10:00:29 -0400 (0:00:00.062) 0:04:23.430 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Tuesday 06 August 2024 10:00:29 -0400 (0:00:00.059) 0:04:23.490 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Tuesday 06 August 2024 10:00:29 -0400 (0:00:00.060) 0:04:23.551 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Tuesday 06 August 2024 10:00:29 -0400 (0:00:00.061) 0:04:23.612 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Tuesday 06 August 2024 10:00:29 -0400 (0:00:00.059) 0:04:23.671 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Tuesday 06 August 2024 10:00:29 -0400 (0:00:00.060) 0:04:23.732 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Tuesday 06 August 2024 10:00:29 -0400 (0:00:00.059) 0:04:23.791 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Tuesday 06 August 2024 10:00:29 -0400 (0:00:00.060) 0:04:23.852 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Tuesday 06 August 2024 10:00:30 -0400 (0:00:00.060) 0:04:23.913 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Tuesday 06 August 2024 10:00:30 -0400 (0:00:00.139) 0:04:24.053 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Tuesday 06 August 2024 10:00:30 -0400 (0:00:00.066) 0:04:24.119 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Tuesday 06 August 2024 10:00:30 -0400 (0:00:00.063) 0:04:24.182 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Tuesday 06 August 2024 10:00:30 -0400 (0:00:00.063) 0:04:24.246 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Tuesday 06 August 2024 10:00:30 -0400 (0:00:00.063) 0:04:24.309 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Tuesday 06 August 2024 10:00:30 -0400 (0:00:00.062) 0:04:24.372 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Tuesday 06 August 2024 10:00:30 -0400 (0:00:00.062) 0:04:24.434 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Tuesday 06 August 2024 10:00:30 -0400 (0:00:00.059) 0:04:24.494 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Tuesday 06 August 2024 10:00:30 -0400 (0:00:00.063) 0:04:24.557 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Tuesday 06 August 2024 10:00:30 -0400 (0:00:00.073) 0:04:24.631 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Tuesday 06 August 2024 10:00:30 -0400 (0:00:00.061) 0:04:24.693 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Tuesday 06 August 2024 10:00:30 -0400 (0:00:00.059) 0:04:24.753 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Tuesday 06 August 2024 10:00:30 -0400 (0:00:00.081) 0:04:24.834 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1180 Tuesday 06 August 2024 10:00:30 -0400 (0:00:00.061) 0:04:24.895 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1205 Tuesday 06 August 2024 10:00:31 -0400 (0:00:00.059) 0:04:24.954 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1214 Tuesday 06 August 2024 10:00:31 -0400 (0:00:00.060) 0:04:25.015 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Tuesday 06 August 2024 10:00:31 -0400 (0:00:00.059) 0:04:25.075 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Tuesday 06 August 2024 10:00:31 -0400 (0:00:00.061) 0:04:25.136 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Tuesday 06 August 2024 10:00:31 -0400 (0:00:00.144) 0:04:25.280 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Tuesday 06 August 2024 10:00:31 -0400 (0:00:00.065) 0:04:25.346 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1263 Tuesday 06 August 2024 10:00:31 -0400 (0:00:00.064) 0:04:25.410 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1270 Tuesday 06 August 2024 10:00:31 -0400 (0:00:00.060) 0:04:25.471 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1278 Tuesday 06 August 2024 10:00:31 -0400 (0:00:00.063) 0:04:25.534 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Tuesday 06 August 2024 10:00:31 -0400 (0:00:00.061) 0:04:25.595 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1297 Tuesday 06 August 2024 10:00:31 -0400 (0:00:00.084) 0:04:25.680 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1306 Tuesday 06 August 2024 10:00:31 -0400 (0:00:00.062) 0:04:25.743 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1313 Tuesday 06 August 2024 10:00:31 -0400 (0:00:00.060) 0:04:25.804 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Tuesday 06 August 2024 10:00:31 -0400 (0:00:00.064) 0:04:25.868 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1327 Tuesday 06 August 2024 10:00:32 -0400 (0:00:00.062) 0:04:25.931 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1340 Tuesday 06 August 2024 10:00:32 -0400 (0:00:00.071) 0:04:26.002 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1352 Tuesday 06 August 2024 10:00:32 -0400 (0:00:00.062) 0:04:26.064 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Tuesday 06 August 2024 10:00:32 -0400 (0:00:00.060) 0:04:26.125 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Tuesday 06 August 2024 10:00:32 -0400 (0:00:00.062) 0:04:26.188 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1372 Tuesday 06 August 2024 10:00:32 -0400 (0:00:00.062) 0:04:26.250 ******** ok: [managed_node1] => { "changed": false } META: ran handlers TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1385 Tuesday 06 August 2024 10:00:32 -0400 (0:00:00.576) 0:04:26.827 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 10:00:33 -0400 (0:00:00.192) 0:04:27.019 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 10:00:33 -0400 (0:00:00.065) 0:04:27.085 ******** fatal: [managed_node1]: FAILED! => { "assertion": "mssql_password is not none", "changed": false, "evaluated_to": false } MSG: You must define the mssql_password variable because MSSQL requires the sa user to authenticate to input SQL files. TASK [Assert that the role failed with mssql_password not defined] ************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_input_sql_file.yml:124 Tuesday 06 August 2024 10:00:33 -0400 (0:00:00.066) 0:04:27.151 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Verify that FTS was enabled in the beginning of this test playbook] ****** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_input_sql_file.yml:130 Tuesday 06 August 2024 10:00:33 -0400 (0:00:00.067) 0:04:27.218 ******** TASK [fedora.linux_system_roles.mssql : Ensure ansible_facts and variables used by role] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:3 Tuesday 06 August 2024 10:00:33 -0400 (0:00:00.259) 0:04:27.478 ******** included: /tmp/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:3 Tuesday 06 August 2024 10:00:33 -0400 (0:00:00.103) 0:04:27.582 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/set_vars.yml:8 Tuesday 06 August 2024 10:00:33 -0400 (0:00:00.085) 0:04:27.667 ******** 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/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:8 Tuesday 06 August 2024 10:00:33 -0400 (0:00:00.098) 0:04:27.765 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:15 Tuesday 06 August 2024 10:00:33 -0400 (0:00:00.059) 0:04:27.825 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_input_sql_file fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:23 Tuesday 06 August 2024 10:00:33 -0400 (0:00:00.060) 0:04:27.885 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:30 Tuesday 06 August 2024 10:00:34 -0400 (0:00:00.061) 0:04:27.946 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_listener_port fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:37 Tuesday 06 August 2024 10:00:34 -0400 (0:00:00.060) 0:04:28.007 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:44 Tuesday 06 August 2024 10:00:34 -0400 (0:00:00.147) 0:04:28.154 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ad_sql_user_name fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:51 Tuesday 06 August 2024 10:00:34 -0400 (0:00:00.064) 0:04:28.218 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:58 Tuesday 06 August 2024 10:00:34 -0400 (0:00:00.064) 0:04:28.283 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.mssql : Link the deprecated mssql_ha_cluster_run_role fact] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:65 Tuesday 06 August 2024 10:00:34 -0400 (0:00:00.062) 0:04:28.345 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:69 Tuesday 06 August 2024 10:00:34 -0400 (0:00:00.063) 0:04:28.409 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:76 Tuesday 06 August 2024 10:00:34 -0400 (0:00:00.066) 0:04:28.475 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:88 Tuesday 06 August 2024 10:00:34 -0400 (0:00:00.069) 0:04:28.545 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:96 Tuesday 06 August 2024 10:00:34 -0400 (0:00:00.063) 0:04:28.609 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:105 Tuesday 06 August 2024 10:00:34 -0400 (0:00:00.061) 0:04:28.670 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Verify that mssql_ha_prep_for_pacemaker is provided correctly] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:114 Tuesday 06 August 2024 10:00:34 -0400 (0:00:00.061) 0:04:28.732 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:124 Tuesday 06 August 2024 10:00:34 -0400 (0:00:00.060) 0:04:28.792 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:133 Tuesday 06 August 2024 10:00:34 -0400 (0:00:00.063) 0:04:28.856 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 Tuesday 06 August 2024 10:00:35 -0400 (0:00:00.061) 0:04:28.918 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:148 Tuesday 06 August 2024 10:00:36 -0400 (0:00:01.377) 0:04:30.296 ******** skipping: [managed_node1] => (item={u'value': 14, u'key': 2017}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2017, "value": 14 }, "skip_reason": "Conditional result was False" } ok: [managed_node1] => (item={u'value': 15, u'key': 2019}) => { "ansible_facts": { "__mssql_current_version": "2019" }, "ansible_loop_var": "item", "changed": false, "item": { "key": 2019, "value": 15 } } skipping: [managed_node1] => (item={u'value': 16, u'key': 2022}) => { "ansible_loop_var": "item", "changed": false, "item": { "key": 2022, "value": 16 }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set mssql_version variable if user does not define it] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:156 Tuesday 06 August 2024 10:00:36 -0400 (0:00:00.172) 0:04:30.468 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:163 Tuesday 06 August 2024 10:00:36 -0400 (0:00:00.062) 0:04:30.531 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:170 Tuesday 06 August 2024 10:00:36 -0400 (0:00:00.068) 0:04:30.599 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:184 Tuesday 06 August 2024 10:00:36 -0400 (0:00:00.116) 0:04:30.716 ******** ok: [managed_node1] => { "attempts": 1, "changed": false } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:198 Tuesday 06 August 2024 10:00:37 -0400 (0:00:00.546) 0:04:31.262 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get yum repositories] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:208 Tuesday 06 August 2024 10:00:37 -0400 (0:00:00.064) 0:04:31.326 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:219 Tuesday 06 August 2024 10:00:37 -0400 (0:00:00.065) 0:04:31.392 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Update all packages from SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:233 Tuesday 06 August 2024 10:00:37 -0400 (0:00:00.063) 0:04:31.456 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get zypper repositories] *************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:242 Tuesday 06 August 2024 10:00:37 -0400 (0:00:00.064) 0:04:31.520 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Remove the current Microsoft SQL Server repository to upgrade to 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:254 Tuesday 06 August 2024 10:00:37 -0400 (0:00:00.062) 0:04:31.583 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:261 Tuesday 06 August 2024 10:00:37 -0400 (0:00:00.064) 0:04:31.647 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the Microsoft SQL Server repo version 2019] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:273 Tuesday 06 August 2024 10:00:37 -0400 (0:00:00.085) 0:04:31.733 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:286 Tuesday 06 August 2024 10:00:37 -0400 (0:00:00.059) 0:04:31.792 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 Tuesday 06 August 2024 10:00:38 -0400 (0:00:00.581) 0:04:32.373 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-server-15.0.4375.4-1.x86_64 providing mssql-server is already installed" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the openldap-compat package is installed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:299 Tuesday 06 August 2024 10:00:39 -0400 (0:00:00.546) 0:04:32.920 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the errorlog file exists and its location] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:307 Tuesday 06 August 2024 10:00:39 -0400 (0:00:00.062) 0:04:32.983 ******** 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.005241", "end": "2024-08-06 10:00:39.340393", "rc": 0, "start": "2024-08-06 10:00:39.335152" } STDOUT: /var/opt/mssql/log/errorlog TASK [fedora.linux_system_roles.mssql : Gather system services facts] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:323 Tuesday 06 August 2024 10:00:39 -0400 (0:00:00.356) 0:04:33.339 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:327 Tuesday 06 August 2024 10:00:40 -0400 (0:00:00.874) 0:04:34.213 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:336 Tuesday 06 August 2024 10:00:40 -0400 (0:00:00.088) 0:04:34.302 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set up MSSQL] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 Tuesday 06 August 2024 10:00:40 -0400 (0:00:00.061) 0:04:34.363 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Ensure the directory and permissions for datadir and logdir] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:377 Tuesday 06 August 2024 10:00:40 -0400 (0:00:00.062) 0:04:34.425 ******** skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultdatadir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultdatadir" }, "skip_reason": "Conditional result was False" } skipping: [managed_node1] => (item={u'path': None, u'setting': u'defaultlogdir', u'mode': u'755'}) => { "ansible_loop_var": "item", "changed": false, "item": { "mode": "755", "path": null, "setting": "defaultlogdir" }, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set selinux role facts for ports] ****** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:392 Tuesday 06 August 2024 10:00:40 -0400 (0:00:00.073) 0:04:34.499 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure correct SELinux context for storage paths and ports] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:406 Tuesday 06 August 2024 10:00:40 -0400 (0:00:00.062) 0:04:34.562 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Tuesday 06 August 2024 10:00:40 -0400 (0:00:00.061) 0:04:34.623 ******** 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" ] } TASK [fedora.linux_system_roles.mssql : Ensure that the tuned service is started and enabled] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:423 Tuesday 06 August 2024 10:00:41 -0400 (0:00:00.582) 0:04:35.205 ******** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "tuned", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 09:43:06 EDT", "ActiveEnterTimestampMonotonic": "18449931", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target network.target systemd-journald.socket systemd-sysctl.service dbus.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 09:43:04 EDT", "AssertTimestampMonotonic": "17161376", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "com.redhat.tuned", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 09:43:04 EDT", "ConditionTimestampMonotonic": "17161374", "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": "851", "ExecMainStartTimestamp": "Tue 2024-08-06 09:43:04 EDT", "ExecMainStartTimestampMonotonic": "17162038", "ExecMainStatus": "0", "ExecStart": "{ path=/usr/sbin/tuned ; argv[]=/usr/sbin/tuned -l -P ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/tuned.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "tuned.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 09:43:04 EDT", "InactiveExitTimestampMonotonic": "17162082", "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": "851", "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 dbus.service polkit.service system.slice", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 09:43:06 EDT", "WatchdogTimestampMonotonic": "18449888", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.mssql : Get the active Tuned profiles] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:430 Tuesday 06 August 2024 10:00:41 -0400 (0:00:00.441) 0:04:35.646 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "tuned-adm", "active" ], "delta": "0:00:00.083424", "end": "2024-08-06 10:00:42.069730", "rc": 0, "start": "2024-08-06 10:00:41.986306" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:443 Tuesday 06 August 2024 10:00:42 -0400 (0:00:00.433) 0:04:36.080 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:456 Tuesday 06 August 2024 10:00:42 -0400 (0:00:00.064) 0:04:36.145 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 Tuesday 06 August 2024 10:00:42 -0400 (0:00:00.066) 0:04:36.211 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:475 Tuesday 06 August 2024 10:00:42 -0400 (0:00:00.064) 0:04:36.276 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:483 Tuesday 06 August 2024 10:00:42 -0400 (0:00:00.349) 0:04:36.626 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 Tuesday 06 August 2024 10:00:42 -0400 (0:00:00.061) 0:04:36.687 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "mssql-tools-17.10.1.1-1.x86_64 providing mssql-tools is already installed", "unixODBC-devel-2.3.11-1.rh.x86_64 providing unixODBC-devel is already installed" ] } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:504 Tuesday 06 August 2024 10:00:43 -0400 (0:00:00.565) 0:04:37.253 ******** included: /tmp/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:3 Tuesday 06 August 2024 10:00:43 -0400 (0:00:00.114) 0:04:37.368 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 09:58:59 EDT", "ActiveEnterTimestampMonotonic": "972298741", "ActiveExitTimestamp": "Tue 2024-08-06 09:58:58 EDT", "ActiveExitTimestampMonotonic": "971285123", "ActiveState": "active", "After": "system.slice basic.target systemd-journald.socket network.target -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 09:58:59 EDT", "AssertTimestampMonotonic": "972297786", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 09:58:59 EDT", "ConditionTimestampMonotonic": "972297785", "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": "15832", "ExecMainStartTimestamp": "Tue 2024-08-06 09:58:59 EDT", "ExecMainStartTimestampMonotonic": "972298683", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 09:58:59 EDT] ; stop_time=[n/a] ; pid=15832 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 09:58:59 EDT", "InactiveEnterTimestampMonotonic": "972296793", "InactiveExitTimestamp": "Tue 2024-08-06 09:58:59 EDT", "InactiveExitTimestampMonotonic": "972298741", "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": "15832", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 09:58:59 EDT", "WatchdogTimestampMonotonic": "972298722", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Check if a custom tcpport setting exist] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:8 Tuesday 06 August 2024 10:00:43 -0400 (0:00:00.437) 0:04:37.805 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003228", "end": "2024-08-06 10:00:44.180799", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:00:44.177571" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Check if a custom ipaddress setting exist] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:14 Tuesday 06 August 2024 10:00:44 -0400 (0:00:00.374) 0:04:38.180 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^ipaddress = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003240", "end": "2024-08-06 10:00:44.533470", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:00:44.530230" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Set a fact with a login command] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/verify_password.yml:20 Tuesday 06 August 2024 10:00:44 -0400 (0:00:00.351) 0:04:38.532 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 Tuesday 06 August 2024 10:00:44 -0400 (0:00:00.079) 0:04:38.612 ******** 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": 8575, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Check if the set password matches the existing password] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:514 Tuesday 06 August 2024 10:00:46 -0400 (0:00:01.385) 0:04:39.997 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:529 Tuesday 06 August 2024 10:00:46 -0400 (0:00:00.373) 0:04:40.370 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:536 Tuesday 06 August 2024 10:00:46 -0400 (0:00:00.066) 0:04:40.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 : Change the password of sa user] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:544 Tuesday 06 August 2024 10:00:47 -0400 (0:00:01.289) 0:04:41.726 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:565 Tuesday 06 August 2024 10:00:47 -0400 (0:00:00.074) 0:04:41.801 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:572 Tuesday 06 August 2024 10:00:48 -0400 (0:00:00.140) 0:04:41.942 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:583 Tuesday 06 August 2024 10:00:48 -0400 (0:00:00.068) 0:04:42.010 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:597 Tuesday 06 August 2024 10:00:48 -0400 (0:00:00.064) 0:04:42.074 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Gather package facts] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:604 Tuesday 06 August 2024 10:00:48 -0400 (0:00:00.065) 0:04:42.140 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Change the edition of MSSQL] *********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:610 Tuesday 06 August 2024 10:00:48 -0400 (0:00:00.065) 0:04:42.205 ******** skipping: [managed_node1] => { "censored": "the output has been hidden due to the fact that 'no_log: true' was specified for this result", "changed": false } TASK [fedora.linux_system_roles.mssql : Configure the IP address setting] ****** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:629 Tuesday 06 August 2024 10:00:48 -0400 (0:00:00.065) 0:04:42.270 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:636 Tuesday 06 August 2024 10:00:48 -0400 (0:00:00.062) 0:04:42.333 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Open the TCP port 1433] ************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:643 Tuesday 06 August 2024 10:00:48 -0400 (0:00:00.060) 0:04:42.394 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:655 Tuesday 06 August 2024 10:00:48 -0400 (0:00:00.063) 0:04:42.457 ******** included: /tmp/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:3 Tuesday 06 August 2024 10:00:48 -0400 (0:00:00.107) 0:04:42.565 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "grep", "^tcpport = ", "/var/opt/mssql/mssql.conf" ], "delta": "0:00:00.003207", "end": "2024-08-06 10:00:48.903301", "failed_when_result": false, "rc": 1, "start": "2024-08-06 10:00:48.900094" } MSG: non-zero return code TASK [fedora.linux_system_roles.mssql : Configure the setting network tcpport] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:12 Tuesday 06 August 2024 10:00:48 -0400 (0:00:00.335) 0:04:42.901 ******** ok: [managed_node1] => { "changed": false, "cmd": [ "/opt/mssql/bin/mssql-conf", "set", "network.tcpport", "1433" ], "delta": "0:00:00.118847", "end": "2024-08-06 10:00:49.359870", "failed_when_result": false, "rc": 0, "start": "2024-08-06 10:00:49.241023" } 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/mssql_conf_setting.yml:42 Tuesday 06 August 2024 10:00:49 -0400 (0:00:00.468) 0:04:43.369 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:661 Tuesday 06 August 2024 10:00:49 -0400 (0:00:00.060) 0:04:43.430 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the sqlagent setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:681 Tuesday 06 August 2024 10:00:49 -0400 (0:00:00.061) 0:04:43.491 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 Tuesday 06 August 2024 10:00:49 -0400 (0:00:00.060) 0:04:43.552 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Ensure the package powershell] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:695 Tuesday 06 August 2024 10:00:49 -0400 (0:00:00.144) 0:04:43.696 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Check if the 3979 trace flag is enabled] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:704 Tuesday 06 August 2024 10:00:49 -0400 (0:00:00.064) 0:04:43.761 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set the 3979 traceflag] **************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:710 Tuesday 06 August 2024 10:00:49 -0400 (0:00:00.063) 0:04:43.825 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Unset the 3979 traceflag] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:717 Tuesday 06 August 2024 10:00:49 -0400 (0:00:00.063) 0:04:43.888 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the alternatewritethrough setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:725 Tuesday 06 August 2024 10:00:50 -0400 (0:00:00.060) 0:04:43.948 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the writethrough setting] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:731 Tuesday 06 August 2024 10:00:50 -0400 (0:00:00.063) 0:04:44.012 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Create certificates using the certificate role] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:749 Tuesday 06 August 2024 10:00:50 -0400 (0:00:00.061) 0:04:44.073 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:763 Tuesday 06 August 2024 10:00:50 -0400 (0:00:00.062) 0:04:44.136 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:768 Tuesday 06 August 2024 10:00:50 -0400 (0:00:00.060) 0:04:44.196 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:786 Tuesday 06 August 2024 10:00:50 -0400 (0:00:00.069) 0:04:44.266 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlskey setting] ********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:795 Tuesday 06 August 2024 10:00:50 -0400 (0:00:00.060) 0:04:44.327 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the tlsprotocols setting] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:804 Tuesday 06 August 2024 10:00:50 -0400 (0:00:00.059) 0:04:44.386 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure the forceencryption setting] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:811 Tuesday 06 August 2024 10:00:50 -0400 (0:00:00.061) 0:04:44.447 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:820 Tuesday 06 August 2024 10:00:50 -0400 (0:00:00.060) 0:04:44.507 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Join to realm {{ ad_integration_realm }}] ******************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:828 Tuesday 06 August 2024 10:00:50 -0400 (0:00:00.064) 0:04:44.572 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:836 Tuesday 06 August 2024 10:00:50 -0400 (0:00:00.063) 0:04:44.635 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:843 Tuesday 06 August 2024 10:00:50 -0400 (0:00:00.061) 0:04:44.696 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:850 Tuesday 06 August 2024 10:00:50 -0400 (0:00:00.065) 0:04:44.762 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:859 Tuesday 06 August 2024 10:00:50 -0400 (0:00:00.063) 0:04:44.826 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:872 Tuesday 06 August 2024 10:00:51 -0400 (0:00:00.151) 0:04:44.978 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:881 Tuesday 06 August 2024 10:00:51 -0400 (0:00:00.066) 0:04:45.044 ******** 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 : Get SPNs for the principal] ************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:893 Tuesday 06 August 2024 10:00:51 -0400 (0:00:00.066) 0:04:45.111 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:898 Tuesday 06 August 2024 10:00:51 -0400 (0:00:00.066) 0:04:45.178 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:915 Tuesday 06 August 2024 10:00:51 -0400 (0:00:00.063) 0:04:45.242 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:920 Tuesday 06 August 2024 10:00:51 -0400 (0:00:00.065) 0:04:45.308 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Get keytab properties] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:925 Tuesday 06 August 2024 10:00:51 -0400 (0:00:00.062) 0:04:45.370 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create keytab] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:931 Tuesday 06 August 2024 10:00:51 -0400 (0:00:00.064) 0:04:45.435 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:957 Tuesday 06 August 2024 10:00:51 -0400 (0:00:00.062) 0:04:45.497 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:978 Tuesday 06 August 2024 10:00:51 -0400 (0:00:00.064) 0:04:45.561 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:986 Tuesday 06 August 2024 10:00:51 -0400 (0:00:00.064) 0:04:45.626 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:996 Tuesday 06 August 2024 10:00:51 -0400 (0:00:00.061) 0:04:45.687 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1002 Tuesday 06 August 2024 10:00:51 -0400 (0:00:00.064) 0:04:45.751 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1020 Tuesday 06 August 2024 10:00:51 -0400 (0:00:00.062) 0:04:45.814 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1031 Tuesday 06 August 2024 10:00:51 -0400 (0:00:00.065) 0:04:45.879 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Set host variables] ******************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1051 Tuesday 06 August 2024 10:00:52 -0400 (0:00:00.063) 0:04:45.943 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1104 Tuesday 06 August 2024 10:00:52 -0400 (0:00:00.062) 0:04:46.005 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1111 Tuesday 06 August 2024 10:00:52 -0400 (0:00:00.062) 0:04:46.068 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1118 Tuesday 06 August 2024 10:00:52 -0400 (0:00:00.061) 0:04:46.129 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1128 Tuesday 06 August 2024 10:00:52 -0400 (0:00:00.147) 0:04:46.277 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1134 Tuesday 06 August 2024 10:00:52 -0400 (0:00:00.064) 0:04:46.341 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1142 Tuesday 06 August 2024 10:00:52 -0400 (0:00:00.076) 0:04:46.418 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1151 Tuesday 06 August 2024 10:00:52 -0400 (0:00:00.063) 0:04:46.482 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1159 Tuesday 06 August 2024 10:00:52 -0400 (0:00:00.061) 0:04:46.543 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1173 Tuesday 06 August 2024 10:00:52 -0400 (0:00:00.078) 0:04:46.621 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1180 Tuesday 06 August 2024 10:00:52 -0400 (0:00:00.060) 0:04:46.682 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Configure ag] ************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1205 Tuesday 06 August 2024 10:00:52 -0400 (0:00:00.063) 0:04:46.745 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Grant permissions to HA login] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1214 Tuesday 06 August 2024 10:00:52 -0400 (0:00:00.060) 0:04:46.806 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Replicate DBs] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1223 Tuesday 06 August 2024 10:00:52 -0400 (0:00:00.061) 0:04:46.868 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1234 Tuesday 06 August 2024 10:00:53 -0400 (0:00:00.061) 0:04:46.930 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1247 Tuesday 06 August 2024 10:00:53 -0400 (0:00:00.059) 0:04:46.989 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1256 Tuesday 06 August 2024 10:00:53 -0400 (0:00:00.062) 0:04:47.052 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Enable the hadrenabled setting] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1263 Tuesday 06 August 2024 10:00:53 -0400 (0:00:00.059) 0:04:47.112 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1270 Tuesday 06 August 2024 10:00:53 -0400 (0:00:00.062) 0:04:47.174 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1278 Tuesday 06 August 2024 10:00:53 -0400 (0:00:00.062) 0:04:47.236 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1285 Tuesday 06 August 2024 10:00:53 -0400 (0:00:00.060) 0:04:47.297 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1297 Tuesday 06 August 2024 10:00:53 -0400 (0:00:00.076) 0:04:47.373 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Create HA login] *********************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1306 Tuesday 06 August 2024 10:00:53 -0400 (0:00:00.059) 0:04:47.433 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Join to availability group] ************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1313 Tuesday 06 August 2024 10:00:53 -0400 (0:00:00.146) 0:04:47.580 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1319 Tuesday 06 August 2024 10:00:53 -0400 (0:00:00.064) 0:04:47.644 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1327 Tuesday 06 August 2024 10:00:53 -0400 (0:00:00.065) 0:04:47.709 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1340 Tuesday 06 August 2024 10:00:53 -0400 (0:00:00.073) 0:04:47.783 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1352 Tuesday 06 August 2024 10:00:53 -0400 (0:00:00.060) 0:04:47.844 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1357 Tuesday 06 August 2024 10:00:53 -0400 (0:00:00.063) 0:04:47.907 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1363 Tuesday 06 August 2024 10:00:54 -0400 (0:00:00.061) 0:04:47.968 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1372 Tuesday 06 August 2024 10:00:54 -0400 (0:00:00.063) 0:04:48.032 ******** ok: [managed_node1] => { "changed": false } META: ran handlers TASK [fedora.linux_system_roles.mssql : Post-input SQL scripts to SQL Server] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1385 Tuesday 06 August 2024 10:00:54 -0400 (0:00:00.467) 0:04:48.499 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Unset the __mssql_sqlcmd_input variable] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:9 Tuesday 06 August 2024 10:00:54 -0400 (0:00:00.112) 0:04:48.611 ******** ok: [managed_node1] => { "ansible_facts": { "__mssql_sqlcmd_input": [] }, "changed": false } TASK [fedora.linux_system_roles.mssql : Verify that the mssql_password variable is defined] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:13 Tuesday 06 August 2024 10:00:54 -0400 (0:00:00.060) 0:04:48.671 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [fedora.linux_system_roles.mssql : Ensure that the mssql-server service is started] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:21 Tuesday 06 August 2024 10:00:54 -0400 (0:00:00.066) 0:04:48.738 ******** ok: [managed_node1] => { "changed": false, "name": "mssql-server", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 09:58:59 EDT", "ActiveEnterTimestampMonotonic": "972298741", "ActiveExitTimestamp": "Tue 2024-08-06 09:58:58 EDT", "ActiveExitTimestampMonotonic": "971285123", "ActiveState": "active", "After": "system.slice basic.target systemd-journald.socket network.target -.mount auditd.service", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 09:58:59 EDT", "AssertTimestampMonotonic": "972297786", "Before": "multi-user.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "no", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 09:58:59 EDT", "ConditionTimestampMonotonic": "972297785", "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": "15832", "ExecMainStartTimestamp": "Tue 2024-08-06 09:58:59 EDT", "ExecMainStartTimestampMonotonic": "972298683", "ExecMainStatus": "0", "ExecStart": "{ path=/opt/mssql/bin/sqlservr ; argv[]=/opt/mssql/bin/sqlservr ; ignore_errors=no ; start_time=[Tue 2024-08-06 09:58:59 EDT] ; stop_time=[n/a] ; pid=15832 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/mssql-server.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "mssql-server.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestamp": "Tue 2024-08-06 09:58:59 EDT", "InactiveEnterTimestampMonotonic": "972296793", "InactiveExitTimestamp": "Tue 2024-08-06 09:58:59 EDT", "InactiveExitTimestampMonotonic": "972298741", "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": "15832", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "mssql-server.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice -.mount basic.target", "RequiresMountsFor": "/var/opt/mssql", "Restart": "on-failure", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "inherit", "StandardInput": "null", "StandardOutput": "journal", "StartLimitAction": "none", "StartLimitBurst": "3", "StartLimitInterval": "120000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "30min", "TimeoutStopUSec": "30min", "TimerSlackNSec": "50000", "Transient": "no", "Type": "simple", "UMask": "0007", "UnitFilePreset": "disabled", "UnitFileState": "enabled", "User": "mssql", "WantedBy": "multi-user.target", "WatchdogTimestamp": "Tue 2024-08-06 09:58:59 EDT", "WatchdogTimestampMonotonic": "972298722", "WatchdogUSec": "0", "WorkingDirectory": "/var/opt/mssql" } } TASK [fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 Tuesday 06 August 2024 10:00:55 -0400 (0:00:00.426) 0:04:49.165 ******** 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": 8575, "state": "file", "uid": 996 } TASK [fedora.linux_system_roles.mssql : Prepare MSSQL and facts for logging in] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:32 Tuesday 06 August 2024 10:00:56 -0400 (0:00:01.330) 0:04:50.495 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script files to MSSQL] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:38 Tuesday 06 August 2024 10:00:56 -0400 (0:00:00.065) 0:04:50.560 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml for managed_node1 TASK [fedora.linux_system_roles.mssql : Create a tempfile on the host for verify_fts.sql] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:4 Tuesday 06 August 2024 10:00:56 -0400 (0:00:00.126) 0:04:50.687 ******** ok: [managed_node1] => { "changed": false, "gid": 0, "group": "root", "mode": "0600", "owner": "root", "path": "/tmp/verify_fts.sql_aWocdd.sql", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 0, "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Copy the file to the host verify_fts.sql] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:12 Tuesday 06 August 2024 10:00:57 -0400 (0:00:00.337) 0:04:51.024 ******** ok: [managed_node1] => { "changed": false, "checksum": "7565e388faf93cadaf62fa3ea5e59a05adb98cd8", "dest": "/tmp/verify_fts.sql_aWocdd.sql", "gid": 0, "group": "root", "md5sum": "c9efe6db25bca7b55ddd3508d732934c", "mode": "0644", "owner": "root", "secontext": "unconfined_u:object_r:user_tmp_t:s0", "size": 154, "src": "/root/.ansible/tmp/ansible-tmp-1722952857.16-14082-225257575582096/source", "state": "file", "uid": 0 } TASK [fedora.linux_system_roles.mssql : Generate the template on the host for verify_fts.sql] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:20 Tuesday 06 August 2024 10:00:57 -0400 (0:00:00.586) 0:04:51.611 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input with the sqlcmd command verify_fts.sql] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 Tuesday 06 August 2024 10:00:57 -0400 (0:00:00.064) 0:04:51.675 ******** 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 : Print file location and output from inputting verify_fts.sql] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:44 Tuesday 06 August 2024 10:00:58 -0400 (0:00:00.369) 0:04:52.044 ******** ok: [managed_node1] => (item=/tmp/verify_fts.sql_aWocdd.sql) => { "__mssql_sqlcmd_loop": "/tmp/verify_fts.sql_aWocdd.sql", "ansible_loop_var": "__mssql_sqlcmd_loop" } ok: [managed_node1] => (item=[u' ', u'-------------------------------', u'Full-Text Search is enabled ', u'', u'(1 rows affected)']) => { "__mssql_sqlcmd_loop": [ " ", "-------------------------------", "Full-Text Search is enabled ", "", "(1 rows affected)" ], "ansible_loop_var": "__mssql_sqlcmd_loop" } skipping: [managed_node1] => (item=[]) => { "__mssql_sqlcmd_loop": [], "ansible_loop_var": "__mssql_sqlcmd_loop" } TASK [fedora.linux_system_roles.mssql : Remove the tempfile verify_fts.sql] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:60 Tuesday 06 August 2024 10:00:58 -0400 (0:00:00.099) 0:04:52.144 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.mssql : Input SQL script contents to MSSQL] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:43 Tuesday 06 August 2024 10:00:58 -0400 (0:00:00.061) 0:04:52.206 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:1392 Tuesday 06 August 2024 10:00:58 -0400 (0:00:00.062) 0:04:52.268 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Assert the latest script invocation resulted in no changes] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/tests_input_sql_file.yml:137 Tuesday 06 August 2024 10:00:58 -0400 (0:00:00.059) 0:04:52.328 ******** ok: [managed_node1] => { "changed": false } MSG: All assertions passed TASK [Clean up after the role invocation] ************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tests_input_sql_file_2019.yml:18 Tuesday 06 August 2024 10:00:58 -0400 (0:00:00.148) 0:04:52.477 ******** included: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml for managed_node1 TASK [Gather package facts] **************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:2 Tuesday 06 August 2024 10:00:58 -0400 (0:00:00.116) 0:04:52.593 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:6 Tuesday 06 August 2024 10:00:59 -0400 (0:00:01.186) 0:04:53.780 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Debug ansible_python_version] ******************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:14 Tuesday 06 August 2024 10:00:59 -0400 (0:00:00.087) 0:04:53.868 ******** ok: [managed_node1] => { "ansible_python_version": "2.7.5" } TASK [Purge firewall configuration] ******************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:18 Tuesday 06 August 2024 10:01:00 -0400 (0:00:00.064) 0:04:53.932 ******** TASK [fedora.linux_system_roles.firewall : Setup firewalld] ******************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:2 Tuesday 06 August 2024 10:01:00 -0400 (0:00:00.157) 0:04:54.090 ******** included: /tmp/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:2 Tuesday 06 August 2024 10:01:00 -0400 (0:00:00.196) 0:04:54.286 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:10 Tuesday 06 August 2024 10:01:00 -0400 (0:00:00.088) 0:04:54.375 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag to indicate system is ostree] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:15 Tuesday 06 August 2024 10:01:00 -0400 (0:00:00.334) 0:04:54.709 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:22 Tuesday 06 August 2024 10:01:00 -0400 (0:00:00.070) 0:04:54.780 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.firewall : Set flag if transactional-update exists] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:27 Tuesday 06 August 2024 10:01:01 -0400 (0:00:00.357) 0:04:55.137 ******** ok: [managed_node1] => { "ansible_facts": { "__firewall_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.firewall : Install firewalld] ****************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:31 Tuesday 06 August 2024 10:01:01 -0400 (0:00:00.068) 0:04:55.206 ******** ok: [managed_node1] => { "changed": false, "rc": 0, "results": [ "firewalld-0.6.3-13.el7_9.noarch providing firewalld is already installed" ] } TASK [fedora.linux_system_roles.firewall : Notify user that reboot is needed to apply changes] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:43 Tuesday 06 August 2024 10:01:01 -0400 (0:00:00.615) 0:04:55.821 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.firewall : Reboot transactional update systems] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:48 Tuesday 06 August 2024 10:01:01 -0400 (0:00:00.062) 0:04:55.884 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/firewalld.yml:53 Tuesday 06 August 2024 10:01:02 -0400 (0:00:00.063) 0:04:55.947 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Collect service facts] ************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:5 Tuesday 06 August 2024 10:01:02 -0400 (0:00:00.059) 0:04:56.007 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:9 Tuesday 06 August 2024 10:01:02 -0400 (0:00:00.061) 0:04:56.068 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:22 Tuesday 06 August 2024 10:01:02 -0400 (0:00:00.074) 0:04:56.143 ******** ok: [managed_node1] => { "changed": false, "name": "firewalld", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 09:55:20 EDT", "ActiveEnterTimestampMonotonic": "753169928", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 09:55:20 EDT", "AssertTimestampMonotonic": "752502250", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 09:55:20 EDT", "ConditionTimestampMonotonic": "752502249", "Conflicts": "ipset.service iptables.service shutdown.target ebtables.service ip6tables.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": "9468", "ExecMainStartTimestamp": "Tue 2024-08-06 09:55:20 EDT", "ExecMainStartTimestampMonotonic": "752507387", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 09:55:20 EDT", "InactiveExitTimestampMonotonic": "752507421", "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": "9468", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2024-08-06 09:55:20 EDT", "WatchdogTimestampMonotonic": "753169848", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Enable and start firewalld service] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:28 Tuesday 06 August 2024 10:01:02 -0400 (0:00:00.462) 0:04:56.605 ******** ok: [managed_node1] => { "changed": false, "enabled": true, "name": "firewalld", "state": "started", "status": { "ActiveEnterTimestamp": "Tue 2024-08-06 09:55:20 EDT", "ActiveEnterTimestampMonotonic": "753169928", "ActiveExitTimestampMonotonic": "0", "ActiveState": "active", "After": "basic.target dbus.service polkit.service system.slice", "AllowIsolate": "no", "AmbientCapabilities": "0", "AssertResult": "yes", "AssertTimestamp": "Tue 2024-08-06 09:55:20 EDT", "AssertTimestampMonotonic": "752502250", "Before": "multi-user.target network-pre.target shutdown.target", "BlockIOAccounting": "no", "BlockIOWeight": "18446744073709551615", "BusName": "org.fedoraproject.FirewallD1", "CPUAccounting": "no", "CPUQuotaPerSecUSec": "infinity", "CPUSchedulingPolicy": "0", "CPUSchedulingPriority": "0", "CPUSchedulingResetOnFork": "no", "CPUShares": "18446744073709551615", "CanIsolate": "no", "CanReload": "yes", "CanStart": "yes", "CanStop": "yes", "CapabilityBoundingSet": "18446744073709551615", "CollectMode": "inactive", "ConditionResult": "yes", "ConditionTimestamp": "Tue 2024-08-06 09:55:20 EDT", "ConditionTimestampMonotonic": "752502249", "Conflicts": "ipset.service iptables.service shutdown.target ebtables.service ip6tables.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": "9468", "ExecMainStartTimestamp": "Tue 2024-08-06 09:55:20 EDT", "ExecMainStartTimestampMonotonic": "752507387", "ExecMainStatus": "0", "ExecReload": "{ path=/bin/kill ; argv[]=/bin/kill -HUP $MAINPID ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "ExecStart": "{ path=/usr/sbin/firewalld ; argv[]=/usr/sbin/firewalld --nofork --nopid $FIREWALLD_ARGS ; ignore_errors=no ; start_time=[n/a] ; stop_time=[n/a] ; pid=0 ; code=(null) ; status=0/0 }", "FailureAction": "none", "FileDescriptorStoreMax": "0", "FragmentPath": "/usr/lib/systemd/system/firewalld.service", "GuessMainPID": "yes", "IOScheduling": "0", "Id": "firewalld.service", "IgnoreOnIsolate": "no", "IgnoreOnSnapshot": "no", "IgnoreSIGPIPE": "yes", "InactiveEnterTimestampMonotonic": "0", "InactiveExitTimestamp": "Tue 2024-08-06 09:55:20 EDT", "InactiveExitTimestampMonotonic": "752507421", "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": "9468", "MemoryAccounting": "no", "MemoryCurrent": "18446744073709551615", "MemoryLimit": "18446744073709551615", "MountFlags": "0", "Names": "dbus-org.fedoraproject.FirewallD1.service firewalld.service", "NeedDaemonReload": "no", "Nice": "0", "NoNewPrivileges": "no", "NonBlocking": "no", "NotifyAccess": "none", "OOMScoreAdjust": "0", "OnFailureJobMode": "replace", "PermissionsStartOnly": "no", "PrivateDevices": "no", "PrivateNetwork": "no", "PrivateTmp": "no", "ProtectHome": "no", "ProtectSystem": "no", "RefuseManualStart": "no", "RefuseManualStop": "no", "RemainAfterExit": "no", "Requires": "system.slice basic.target", "Restart": "no", "RestartUSec": "100ms", "Result": "success", "RootDirectoryStartOnly": "no", "RuntimeDirectoryMode": "0755", "SameProcessGroup": "no", "SecureBits": "0", "SendSIGHUP": "no", "SendSIGKILL": "yes", "Slice": "system.slice", "StandardError": "null", "StandardInput": "null", "StandardOutput": "null", "StartLimitAction": "none", "StartLimitBurst": "5", "StartLimitInterval": "10000000", "StartupBlockIOWeight": "18446744073709551615", "StartupCPUShares": "18446744073709551615", "StatusErrno": "0", "StopWhenUnneeded": "no", "SubState": "running", "SyslogLevelPrefix": "yes", "SyslogPriority": "30", "SystemCallErrorNumber": "0", "TTYReset": "no", "TTYVHangup": "no", "TTYVTDisallocate": "no", "TasksAccounting": "no", "TasksCurrent": "18446744073709551615", "TasksMax": "18446744073709551615", "TimeoutStartUSec": "1min 30s", "TimeoutStopUSec": "1min 30s", "TimerSlackNSec": "50000", "Transient": "no", "Type": "dbus", "UMask": "0022", "UnitFilePreset": "enabled", "UnitFileState": "enabled", "WantedBy": "multi-user.target", "Wants": "network-pre.target", "WatchdogTimestamp": "Tue 2024-08-06 09:55:20 EDT", "WatchdogTimestampMonotonic": "753169848", "WatchdogUSec": "0" } } TASK [fedora.linux_system_roles.firewall : Check if previous replaced is defined] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:34 Tuesday 06 August 2024 10:01:03 -0400 (0:00:00.461) 0:04:57.066 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:43 Tuesday 06 August 2024 10:01:03 -0400 (0:00:00.071) 0:04:57.138 ******** ok: [managed_node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.8.111 closed. TASK [fedora.linux_system_roles.firewall : Tell firewall module it is able to report changed] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:55 Tuesday 06 August 2024 10:01:03 -0400 (0:00:00.358) 0:04:57.496 ******** ok: [managed_node1] => { "ansible_facts": { "__firewall_report_changed": true }, "changed": false } TASK [fedora.linux_system_roles.firewall : Configure firewall] ***************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:71 Tuesday 06 August 2024 10:01:03 -0400 (0:00:00.069) 0:04:57.566 ******** TASK [fedora.linux_system_roles.firewall : Gather firewall config information] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:120 Tuesday 06 August 2024 10:01:03 -0400 (0:00:00.062) 0:04:57.629 ******** TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:130 Tuesday 06 August 2024 10:01:03 -0400 (0:00:00.064) 0:04:57.693 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:139 Tuesday 06 August 2024 10:01:03 -0400 (0:00:00.067) 0:04:57.761 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.firewall : Update firewalld_config fact] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:144 Tuesday 06 August 2024 10:01:03 -0400 (0:00:00.062) 0:04:57.823 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:153 Tuesday 06 August 2024 10:01:03 -0400 (0:00:00.062) 0:04:57.886 ******** ok: [managed_node1] => { "changed": false, "rc": 0 } STDERR: Shared connection to 10.31.8.111 closed. TASK [fedora.linux_system_roles.firewall : Calculate what has changed] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:163 Tuesday 06 August 2024 10:01:04 -0400 (0:00:00.361) 0:04:58.248 ******** ok: [managed_node1] => { "ansible_facts": { "firewall_lib_result": { "changed": false } }, "changed": false } TASK [fedora.linux_system_roles.firewall : Show diffs] ************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/firewall/tasks/main.yml:169 Tuesday 06 August 2024 10:01:04 -0400 (0:00:00.071) 0:04:58.319 ******** skipping: [managed_node1] => {} TASK [Purge selinux configuration] ********************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:26 Tuesday 06 August 2024 10:01:04 -0400 (0:00:00.066) 0:04:58.386 ******** TASK [fedora.linux_system_roles.selinux : Set ansible_facts required by role and install packages] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:2 Tuesday 06 August 2024 10:01:04 -0400 (0:00:00.153) 0:04:58.539 ******** included: /tmp/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:2 Tuesday 06 August 2024 10:01:04 -0400 (0:00:00.195) 0:04:58.735 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Ensure SELinux packages] ************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/set_facts_packages.yml:7 Tuesday 06 August 2024 10:01:04 -0400 (0:00:00.090) 0:04:58.825 ******** included: /tmp/tmp.GoPkzTkJf6/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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:5 Tuesday 06 August 2024 10:01:05 -0400 (0:00:00.118) 0:04:58.943 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag to indicate system is ostree] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:10 Tuesday 06 August 2024 10:01:05 -0400 (0:00:00.328) 0:04:59.272 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:17 Tuesday 06 August 2024 10:01:05 -0400 (0:00:00.069) 0:04:59.342 ******** ok: [managed_node1] => { "changed": false, "stat": { "exists": false } } TASK [fedora.linux_system_roles.selinux : Set flag if transactional-update exists] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:22 Tuesday 06 August 2024 10:01:05 -0400 (0:00:00.333) 0:04:59.675 ******** ok: [managed_node1] => { "ansible_facts": { "__selinux_is_transactional": false }, "changed": false } TASK [fedora.linux_system_roles.selinux : Install SELinux python2 tools] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:26 Tuesday 06 August 2024 10:01:05 -0400 (0:00:00.067) 0:04:59.743 ******** 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" ] } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:35 Tuesday 06 August 2024 10:01:06 -0400 (0:00:00.569) 0:05:00.312 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux python3 tools] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:46 Tuesday 06 August 2024 10:01:06 -0400 (0:00:00.063) 0:05:00.376 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Install SELinux tool semanage] ******* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:58 Tuesday 06 August 2024 10:01:06 -0400 (0:00:00.061) 0:05:00.437 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:72 Tuesday 06 August 2024 10:01:06 -0400 (0:00:00.064) 0:05:00.501 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Reboot transactional update systems] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:77 Tuesday 06 August 2024 10:01:06 -0400 (0:00:00.060) 0:05:00.562 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:82 Tuesday 06 August 2024 10:01:06 -0400 (0:00:00.061) 0:05:00.623 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Refresh facts] *********************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/ensure_selinux_packages.yml:89 Tuesday 06 August 2024 10:01:06 -0400 (0:00:00.144) 0:05:00.768 ******** ok: [managed_node1] TASK [fedora.linux_system_roles.selinux : Set permanent SELinux state if enabled] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:5 Tuesday 06 August 2024 10:01:07 -0400 (0:00:00.643) 0:05:01.411 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:13 Tuesday 06 August 2024 10:01:07 -0400 (0:00:00.065) 0:05:01.477 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set selinux_reboot_required] ********* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:21 Tuesday 06 August 2024 10:01:07 -0400 (0:00:00.065) 0:05:01.542 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:25 Tuesday 06 August 2024 10:01:07 -0400 (0:00:00.065) 0:05:01.608 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:30 Tuesday 06 August 2024 10:01:07 -0400 (0:00:00.058) 0:05:01.667 ******** skipping: [managed_node1] => {} TASK [fedora.linux_system_roles.selinux : Drop all local modifications] ******** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:35 Tuesday 06 August 2024 10:01:07 -0400 (0:00:00.061) 0:05:01.728 ******** 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.367065", "end": "2024-08-06 10:01:08.517117", "rc": 0, "start": "2024-08-06 10:01:08.150052" } TASK [fedora.linux_system_roles.selinux : Purge all SELinux boolean local modifications] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:43 Tuesday 06 August 2024 10:01:08 -0400 (0:00:00.787) 0:05:02.516 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:48 Tuesday 06 August 2024 10:01:08 -0400 (0:00:00.063) 0:05:02.579 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:53 Tuesday 06 August 2024 10:01:08 -0400 (0:00:00.063) 0:05:02.643 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:58 Tuesday 06 August 2024 10:01:08 -0400 (0:00:00.061) 0:05:02.705 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [fedora.linux_system_roles.selinux : Set SELinux booleans] **************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:63 Tuesday 06 August 2024 10:01:08 -0400 (0:00:00.063) 0:05:02.768 ******** TASK [fedora.linux_system_roles.selinux : Set SELinux file contexts] *********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:74 Tuesday 06 August 2024 10:01:08 -0400 (0:00:00.060) 0:05:02.829 ******** TASK [fedora.linux_system_roles.selinux : Set an SELinux label on a port] ****** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:87 Tuesday 06 August 2024 10:01:08 -0400 (0:00:00.061) 0:05:02.890 ******** TASK [fedora.linux_system_roles.selinux : Set linux user to SELinux user mapping] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:99 Tuesday 06 August 2024 10:01:09 -0400 (0:00:00.059) 0:05:02.950 ******** TASK [fedora.linux_system_roles.selinux : Get SELinux modules facts] *********** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 Tuesday 06 August 2024 10:01:09 -0400 (0:00:00.142) 0:05:03.093 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:115 Tuesday 06 August 2024 10:01:11 -0400 (0:00:02.737) 0:05:05.830 ******** 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:128 Tuesday 06 August 2024 10:01:12 -0400 (0:00:00.086) 0:05:05.917 ******** TASK [fedora.linux_system_roles.selinux : Restore SELinux labels on filesystem tree in check mode] *** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:136 Tuesday 06 August 2024 10:01:12 -0400 (0:00:00.081) 0:05:05.998 ******** TASK [Leave realm] ************************************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:32 Tuesday 06 August 2024 10:01:12 -0400 (0:00:00.156) 0:05:06.155 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Destroy Kerberos tickets] ************************************************ task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:40 Tuesday 06 August 2024 10:01:12 -0400 (0:00:00.115) 0:05:06.270 ******** skipping: [managed_node1] => { "changed": false, "skip_reason": "Conditional result was False" } TASK [Ensure that yum and dnf caching is enabled] ****************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:44 Tuesday 06 August 2024 10:01:12 -0400 (0:00:00.113) 0:05:06.384 ******** ok: [managed_node1] => { "backup": "", "changed": false } TASK [Remove related packages] ************************************************* task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:50 Tuesday 06 August 2024 10:01:12 -0400 (0:00:00.347) 0:05:06.732 ******** changed: [managed_node1] => { "changed": true, "changes": { "removed": [ "mssql-server", "mssql-tools", "unixODBC-devel", "mssql-server-fts" ] }, "rc": 0, "results": [ "adutil is not installed", "mssql-server-ha is not installed", "powershell is not installed", "Loaded plugins: fastestmirror\nResolving Dependencies\n--> Running transaction check\n---> Package mssql-server.x86_64 0:15.0.4375.4-1 will be erased\n---> Package mssql-server-fts.x86_64 0:15.0.4375.4-1 will be erased\n---> Package mssql-tools.x86_64 0:17.10.1.1-1 will be erased\n---> Package unixODBC-devel.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n--> Finding unneeded leftover dependencies\n---> Marking msodbcsql17 to be removed - no longer needed by mssql-tools\n---> Marking unixODBC to be removed - no longer needed by unixODBC-devel\n---> Marking python3 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl to be removed - no longer needed by mssql-server\n---> Marking gdb to be removed - no longer needed by mssql-server\n---> Marking libatomic to be removed - no longer needed by mssql-server\n---> Marking libsss_nss_idmap to be removed - no longer needed by mssql-server\n---> Marking lsof to be removed - no longer needed by mssql-server\n---> Marking bzip2 to be removed - no longer needed by mssql-server\n---> Marking cyrus-sasl-gssapi to be removed - no longer needed by mssql-server\n---> Marking libtool-ltdl to be removed - no longer needed by unixODBC\n---> Marking python3-libs to be removed - no longer needed by python3\n---> Marking python3-setuptools to be removed - no longer needed by python3\n---> Marking python3-pip to be removed - no longer needed by python3\nFound and removing 14 unneeded dependencies\n--> Running transaction check\n---> Package bzip2.x86_64 0:1.0.6-13.el7 will be erased\n---> Package cyrus-sasl.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 will be erased\n---> Package gdb.x86_64 0:7.6.1-120.el7 will be erased\n---> Package libatomic.x86_64 0:4.8.5-44.el7 will be erased\n---> Package libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 will be erased\n---> Package libtool-ltdl.x86_64 0:2.4.2-22.el7_3 will be erased\n---> Package lsof.x86_64 0:4.87-6.el7 will be erased\n---> Package msodbcsql17.x86_64 0:17.10.6.1-1 will be erased\n---> Package python3.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-libs.x86_64 0:3.6.8-21.el7_9 will be erased\n---> Package python3-pip.noarch 0:9.0.3-8.el7 will be erased\n---> Package python3-setuptools.noarch 0:39.2.0-10.el7 will be erased\n---> Package unixODBC.x86_64 0:2.3.11-1.rh will be erased\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n================================================================================\n Package Arch Version Repository Size\n================================================================================\nRemoving:\n mssql-server x86_64 15.0.4375.4-1 @packages-microsoft-com-mssql-server-2019\n 1.1 G\n mssql-server-fts x86_64 15.0.4375.4-1 @packages-microsoft-com-mssql-server-2019\n 554 M\n mssql-tools x86_64 17.10.1.1-1 @packages-microsoft-com-prod 714 k\n unixODBC-devel x86_64 2.3.11-1.rh @packages-microsoft-com-prod 223 k\nRemoving for dependencies:\n bzip2 x86_64 1.0.6-13.el7 @base 82 k\n cyrus-sasl x86_64 2.1.26-24.el7_9 @updates 141 k\n cyrus-sasl-gssapi x86_64 2.1.26-24.el7_9 @updates 36 k\n gdb x86_64 7.6.1-120.el7 @base 7.0 M\n libatomic x86_64 4.8.5-44.el7 @base 26 k\n libsss_nss_idmap x86_64 1.16.5-10.el7_9.16 @updates 82 k\n libtool-ltdl x86_64 2.4.2-22.el7_3 @base 66 k\n lsof x86_64 4.87-6.el7 @base 927 k\n msodbcsql17 x86_64 17.10.6.1-1 @packages-microsoft-com-prod 2.2 M\n python3 x86_64 3.6.8-21.el7_9 @updates 39 k\n python3-libs x86_64 3.6.8-21.el7_9 @updates 35 M\n python3-pip noarch 9.0.3-8.el7 @base 9.1 M\n python3-setuptools\n noarch 39.2.0-10.el7 @base 3.6 M\n unixODBC x86_64 2.3.11-1.rh @packages-microsoft-com-prod 648 k\n\nTransaction Summary\n================================================================================\nRemove 4 Packages (+14 Dependent packages)\n\nInstalled size: 1.7 G\nDownloading packages:\nRunning transaction check\nRunning transaction test\nTransaction test succeeded\nRunning transaction\n Erasing : mssql-server-fts-15.0.4375.4-1.x86_64 1/18 \n Erasing : mssql-server-15.0.4375.4-1.x86_64 2/18 \n Erasing : unixODBC-devel-2.3.11-1.rh.x86_64 3/18 \n Erasing : mssql-tools-17.10.1.1-1.x86_64 4/18 \n Erasing : python3-libs-3.6.8-21.el7_9.x86_64 5/18 \n Erasing : python3-pip-9.0.3-8.el7.noarch 6/18 \n Erasing : python3-setuptools-39.2.0-10.el7.noarch 7/18 \n Erasing : python3-3.6.8-21.el7_9.x86_64 8/18 \n Erasing : msodbcsql17-17.10.6.1-1.x86_64 9/18 \nODBC Driver 17 for SQL Server has been deleted (if it existed at all) because its usage count became zero\n Erasing : unixODBC-2.3.11-1.rh.x86_64 10/18 \nwarning: /etc/odbcinst.ini saved as /etc/odbcinst.ini.rpmsave\n Erasing : libtool-ltdl-2.4.2-22.el7_3.x86_64 11/18 \n Erasing : libatomic-4.8.5-44.el7.x86_64 12/18 \n Erasing : bzip2-1.0.6-13.el7.x86_64 13/18 \n Erasing : gdb-7.6.1-120.el7.x86_64 14/18 \n Erasing : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 15/18 \n Erasing : cyrus-sasl-2.1.26-24.el7_9.x86_64 16/18 \n Erasing : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 17/18 \n Erasing : lsof-4.87-6.el7.x86_64 18/18 \n Verifying : mssql-tools-17.10.1.1-1.x86_64 1/18 \n Verifying : libtool-ltdl-2.4.2-22.el7_3.x86_64 2/18 \n Verifying : python3-3.6.8-21.el7_9.x86_64 3/18 \n Verifying : mssql-server-15.0.4375.4-1.x86_64 4/18 \n Verifying : libsss_nss_idmap-1.16.5-10.el7_9.16.x86_64 5/18 \n Verifying : bzip2-1.0.6-13.el7.x86_64 6/18 \n Verifying : msodbcsql17-17.10.6.1-1.x86_64 7/18 \n Verifying : lsof-4.87-6.el7.x86_64 8/18 \n Verifying : unixODBC-devel-2.3.11-1.rh.x86_64 9/18 \n Verifying : cyrus-sasl-gssapi-2.1.26-24.el7_9.x86_64 10/18 \n Verifying : gdb-7.6.1-120.el7.x86_64 11/18 \n Verifying : unixODBC-2.3.11-1.rh.x86_64 12/18 \n Verifying : python3-libs-3.6.8-21.el7_9.x86_64 13/18 \n Verifying : python3-setuptools-39.2.0-10.el7.noarch 14/18 \n Verifying : python3-pip-9.0.3-8.el7.noarch 15/18 \n Verifying : cyrus-sasl-2.1.26-24.el7_9.x86_64 16/18 \n Verifying : libatomic-4.8.5-44.el7.x86_64 17/18 \n Verifying : mssql-server-fts-15.0.4375.4-1.x86_64 18/18 \n\nRemoved:\n mssql-server.x86_64 0:15.0.4375.4-1 mssql-server-fts.x86_64 0:15.0.4375.4-1 \n mssql-tools.x86_64 0:17.10.1.1-1 unixODBC-devel.x86_64 0:2.3.11-1.rh \n\nDependency Removed:\n bzip2.x86_64 0:1.0.6-13.el7 \n cyrus-sasl.x86_64 0:2.1.26-24.el7_9 \n cyrus-sasl-gssapi.x86_64 0:2.1.26-24.el7_9 \n gdb.x86_64 0:7.6.1-120.el7 \n libatomic.x86_64 0:4.8.5-44.el7 \n libsss_nss_idmap.x86_64 0:1.16.5-10.el7_9.16 \n libtool-ltdl.x86_64 0:2.4.2-22.el7_3 \n lsof.x86_64 0:4.87-6.el7 \n msodbcsql17.x86_64 0:17.10.6.1-1 \n python3.x86_64 0:3.6.8-21.el7_9 \n python3-libs.x86_64 0:3.6.8-21.el7_9 \n python3-pip.noarch 0:9.0.3-8.el7 \n python3-setuptools.noarch 0:39.2.0-10.el7 \n unixODBC.x86_64 0:2.3.11-1.rh \n\nComplete!\n" ] } TASK [Remove related files] **************************************************** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:63 Tuesday 06 August 2024 10:01:16 -0400 (0:00:04.086) 0:05:10.818 ******** [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.022678", "end": "2024-08-06 10:01:17.182400", "rc": 0, "start": "2024-08-06 10:01:17.159722" } 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/ExampleDB1_log.ldf’ removed ‘/var/opt/mssql/data/templog.ldf’ removed ‘/var/opt/mssql/data/tempdb.mdf’ removed ‘/var/opt/mssql/data/msdbdata.mdf’ removed ‘/var/opt/mssql/data/Entropy.bin’ removed ‘/var/opt/mssql/data/model_replicatedmaster.ldf’ removed ‘/var/opt/mssql/data/model_replicatedmaster.mdf’ removed ‘/var/opt/mssql/data/modellog.ldf’ removed ‘/var/opt/mssql/data/ExampleDB1.mdf’ removed ‘/var/opt/mssql/data/tempdb2.ndf’ removed ‘/var/opt/mssql/data/msdblog.ldf’ removed ‘/var/opt/mssql/data/mastlog.ldf’ removed ‘/var/opt/mssql/data/master.mdf’ removed ‘/var/opt/mssql/data/model_msdbdata.mdf’ removed ‘/var/opt/mssql/data/model_msdblog.ldf’ removed directory: ‘/var/opt/mssql/data’ removed ‘/var/opt/mssql/secrets/machine-key’ removed directory: ‘/var/opt/mssql/secrets’ removed ‘/var/opt/mssql/.system/system/lsa.hiv’ removed directory: ‘/var/opt/mssql/.system/system/Temp’ removed ‘/var/opt/mssql/.system/system/licensing.hiv’ removed ‘/var/opt/mssql/.system/system/lsasetup.log’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/c01fb024-768c-463a-9903-4d031ba483d2’ removed ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User/Preferred’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18/User’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect/S-1-5-18’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft/Protect’ removed directory: ‘/var/opt/mssql/.system/system/system32/Microsoft’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles/Scm’ removed directory: ‘/var/opt/mssql/.system/system/system32/LogFiles’ removed directory: ‘/var/opt/mssql/.system/system/system32’ removed ‘/var/opt/mssql/.system/system/security.hiv’ removed ‘/var/opt/mssql/.system/system/debug/PASSWD.LOG’ removed directory: ‘/var/opt/mssql/.system/system/debug’ removed directory: ‘/var/opt/mssql/.system/system’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Temp’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/LocalLow’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows/Temporary Internet Files’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft/Windows’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Local’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CRLs’ removed ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/AppContainerUserCertRead’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/Certificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My/CTLs’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates/My’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft/SystemCertificates’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming/Microsoft’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData/Roaming’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/AppData’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Desktop’ removed directory: ‘/var/opt/mssql/.system/profiles/Client/Documents’ removed directory: ‘/var/opt/mssql/.system/profiles/Client’ removed directory: ‘/var/opt/mssql/.system/profiles’ removed ‘/var/opt/mssql/.system/instance_id’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore/Microsoft.Diagnostics.Tracing.EventSource, Version=1.1.26.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework/BreadcrumbStore’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft/NetFramework’ removed directory: ‘/var/opt/mssql/.system/programdata/Microsoft’ removed directory: ‘/var/opt/mssql/.system/programdata’ removed directory: ‘/var/opt/mssql/.system’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133674263156560000.xel’ removed ‘/var/opt/mssql/log/system_health_0_133674263434600000.xel’ removed ‘/var/opt/mssql/log/log_3.trc’ removed ‘/var/opt/mssql/log/errorlog’ removed ‘/var/opt/mssql/log/log_2.trc’ removed ‘/var/opt/mssql/log/errorlog.3’ removed ‘/var/opt/mssql/log/system_health_0_133674262442620000.xel’ removed ‘/var/opt/mssql/log/sqlagentstartup.log’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133674263428350000.xel’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133674262497780000.xel’ removed ‘/var/opt/mssql/log/errorlog.4’ removed ‘/var/opt/mssql/log/errorlog.2’ removed ‘/var/opt/mssql/log/FDLAUNCHERRORLOG’ removed ‘/var/opt/mssql/log/HkEngineEventFile_0_133674262430710000.xel’ removed ‘/var/opt/mssql/log/log_1.trc’ removed ‘/var/opt/mssql/log/system_health_0_133674262510250000.xel’ removed ‘/var/opt/mssql/log/log.trc’ removed ‘/var/opt/mssql/log/system_health_0_133674263165240000.xel’ removed ‘/var/opt/mssql/log/errorlog.1’ removed ‘/var/opt/mssql/log/mssql-conf/mssql-conf.log’ removed directory: ‘/var/opt/mssql/log/mssql-conf’ removed directory: ‘/var/opt/mssql/log’ removed directory: ‘/var/opt/mssql’ removed directory: ‘/opt/mssql/misc’ removed directory: ‘/opt/mssql’ removed directory: ‘/opt/mssql-tools’ removed ‘/etc/yum.repos.d/packages-microsoft-com-mssql-server-2019.repo’ removed ‘/etc/yum.repos.d/packages-microsoft-com-prod.repo’ removed ‘/tmp/mssql_data/ExampleDB2.mdf’ removed ‘/tmp/mssql_data/ExampleDB.mdf’ removed directory: ‘/tmp/mssql_data’ removed ‘/tmp/mssql_log/ExampleDB_log.ldf’ removed ‘/tmp/mssql_log/ExampleDB2_log.ldf’ 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/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:77 Tuesday 06 August 2024 10:01:17 -0400 (0:00:00.389) 0:05:11.207 ******** ok: [managed_node1] => { "changed": false, "cmd": "systemctl stop mssql-server || true", "delta": "0:00:00.462607", "end": "2024-08-06 10:01:17.993306", "rc": 0, "start": "2024-08-06 10:01:17.530699" } RUNNING HANDLER [fedora.linux_system_roles.selinux : Reload SELinux policy] **** task path: /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 Tuesday 06 August 2024 10:01:18 -0400 (0:00:00.741) 0:05:11.948 ******** changed: [managed_node1] => { "changed": true, "cmd": [ "semodule", "-R" ], "delta": "0:00:01.836293", "end": "2024-08-06 10:01:20.181588", "rc": 0, "start": "2024-08-06 10:01:18.345295" } META: ran handlers META: ran handlers PLAY RECAP ********************************************************************* managed_node1 : ok=318 changed=25 unreachable=0 failed=0 skipped=818 rescued=2 ignored=0 Tuesday 06 August 2024 10:01:20 -0400 (0:00:02.199) 0:05:14.148 ******** =============================================================================== fedora.linux_system_roles.mssql : Ensure the package mssql-server ------ 64.80s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:291 fedora.linux_system_roles.mssql : Ensure the package mssql-server-fts -- 34.42s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:688 fedora.linux_system_roles.mssql : Set up MSSQL -------------------------- 7.66s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:352 fedora.linux_system_roles.mssql : Ensure that SQL Server client tools are installed --- 7.57s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:492 fedora.linux_system_roles.mssql : Ensure that the tuned-profiles-mssql package is installed --- 4.48s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:417 Remove related packages ------------------------------------------------- 4.09s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/tests/mssql/tasks/cleanup.yml:50 fedora.linux_system_roles.mssql : Input with the sqlcmd command sql_script.sql --- 3.14s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 fedora.linux_system_roles.selinux : Get SELinux modules facts ----------- 2.74s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/tasks/main.yml:112 fedora.linux_system_roles.selinux : Reload SELinux policy --------------- 2.20s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/selinux/handlers/main.yml:2 fedora.linux_system_roles.mssql : Gather package facts ------------------ 2.13s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 1.72s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 fedora.linux_system_roles.mssql : Add the fixed mssql profile to the list of Tuned profiles --- 1.62s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:465 fedora.linux_system_roles.mssql : Restart the mssql-server service ------ 1.61s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/handlers/main.yml:3 fedora.linux_system_roles.mssql : Input with the sqlcmd command create_example_db.j2 --- 1.54s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/sqlcmd_input_file.yml:28 fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 1.49s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 1.45s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/input_sql_files.yml:26 fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 1.39s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 fedora.linux_system_roles.mssql : Wait for mssql-server to prepare for client connections --- 1.38s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:508 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.38s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144 fedora.linux_system_roles.mssql : Gather package facts ------------------ 1.38s /tmp/tmp.GoPkzTkJf6/ansible_collections/fedora/linux_system_roles/roles/mssql/tasks/main.yml:144